LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

intensity graph to image

Hi,

I have some problems about transfer intensity graph to image.
I get a intensity graph from a CCD, but I want use VISION to do some image process,
so I need to transfer it to image.(or there is another way I can do)

Because I use antoscale to z value, so the z value range is not the same all the time.
When I use arraytoimage function, I get a very strange image.(very different from intensity graph)

I think the problem is the intensity graph' z value is about 1000, larger than 255 (8-bit),
so i cannot transfer to 8-bit image correctly, am I right?
Or there is any good way I can use?

Thank you
0 Kudos
Message 1 of 5
(4,720 Views)
if there is an input for color depth in the autoimage vi, then wire it with 16 or 24.

-Joe
0 Kudos
Message 2 of 5
(4,703 Views)
Hello,

Thank you for using our discussion forums. I have attached a LabVIEW 7.1 VI that will show you how to create an image from a 2D array to an I16 image so that you can still have values up to 1024 for your pixels. Run the VI and then hover your mouse over the image display to check the pixel values, they should correspond to the values in the array. I hope this helps.

Regards,
Nipun M
Applications Engineer
National Instruments
0 Kudos
Message 3 of 5
(4,680 Views)
Please post the Pixel manipulation.llb required to run this demo.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 5
(4,673 Views)

Hello Ben,

The IMAQ ArrayToImage.vi that is used in the example I had posted earlier, to change the array of intensity values to an image is a part of the NI Vision package. Along with this VI NI Vision also includes implementations of several other image manipulation algorithms. If you are interested in image processing I would recommend looking into the following link:

Programmable Vision Functions

Have a great day!

Regards,
Nipun M
Applications Engineer
National Instruments

0 Kudos
Message 5 of 5
(4,651 Views)