LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read RGB from Tiff Image

I used IMAQ Image To Array VI to read RGB value from a tiff image, but it can't read. What IMAQ should I use to read the RGB values?

 

0 Kudos
Message 1 of 4
(3,162 Views)

@JasonJason2726 wrote:

I used IMAQ Image To Array VI to read RGB value from a tiff image, but it can't read. What IMAQ should I use to read the RGB values?

 


please check this: I dnt think there is any built in function available to read tiff iamges

 

read tiff images

0 Kudos
Message 2 of 4
(3,029 Views)

Hi Jason,

 

IMAQ ImageToArray VI can only read grayscale images. For color images (including TIFF type), you can use IMAQ ColorImageToArray VI. Below is an example that works, and the screenshot of the resulting front panel is attached.

ColorImageToArray VI.png

 

You can check the supported image type for evey IMAQ VI by clicking the detailed Help and check the icons above the VI image as seen below (red highlight), or check the compiled summary ("Supported Image Types").

Supported Image Type.jpg

 

Hope this helps.

 

Regards,

Yodha

NI Singapore

0 Kudos
Message 3 of 4
(2,997 Views)

@JasonJason2726 wrote:

I used IMAQ Image To Array VI to read RGB value from a tiff image, but it can't read. What IMAQ should I use to read the RGB values?

 


There is a post on IMAQ Bayer To RGB,hope it can help you decode image color information.

 

http://forums.ni.com/t5/Machine-Vision/How-to-use-IMAQ-Bayer-To-RGB/td-p/2454656

0 Kudos
Message 4 of 4
(2,930 Views)