LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I calibrate the grayscale data

If I have grayscale data from an 8bit image, how can I calibrate it using values which relate to the grayscale values.
I.e, a calibration graph which links the grayscale values to an equivalent temperature.
0 Kudos
Message 1 of 4
(3,205 Views)
Hello,
There are NI IMAQ Vision Calibration VI for LabVIEW which can be used calibrate your image in terms of distance units.
However it sounds as though you what to relate your grayscale pixel values to a temperature measurement. In this case I would suggest converting your image to an array and plotting the array of pixel values on an intensity graph. If you are using LabVIEW 6.1, I would suggest looking at one of the shipping example demonstrating the intensity graph, "Color Array Example." Using an intensity graph will allow you set the ramp units to temperature units.

Regards,

Russell Blake
Applications Engineering
National Instruments
Director of Engineering
G Systems, www.gsystems.com
Certified LabVIEW Architect
Certified LabVIEW Embedded Systems Developer
Certified Professional Instructor
GCentral
0 Kudos
Message 2 of 4
(3,206 Views)
Hi!
I have a problem quite similar to the previous one. I have a jpeg image, and I want to make a 3Dplot of it. That is, I want for each pixel coordinate x,y, plot the intensity of this pixel (lying beetwen 0 and 255) on a z axis. I don't know how to convert my jpeg file to a 2D array of pixel intensity.
Anyone can help me?
Thanks a lot.
Fredni
0 Kudos
Message 3 of 4
(2,982 Views)
Hi Fredni,

One thing that you can do is read your jpg file using the IMAQ read function and then convert your image to an array using IMAQ ImageToArray.vi.  Then pass the array into an intensity graph.  I hope this helps.

Have a great day,

GG
0 Kudos
Message 4 of 4
(2,966 Views)