LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to read u32 tiff

I have .tiff image saved as a u32 (grayscale), 2048 x 2048 pixels. It's a high dynamic range image created by adding a number of 16 bit images (they don't exist anymore--they've been summed into the single image).

 

I can read the file fine with, e.g., ImageJ, so I know it's intact and compliant. My question: can this image be read into LV? I'm using LV2010 currently. "IMAQ Create" doesn't allow a depth greater than u16, so I don't seem to be able to create a memory allocation for the image to be read. If I create a RGB(U32) it would be the right depth but presumably not interpreted correctly subsequently.

 

Is it impossible to read or work with u32 grayscale images?

 

TIA 

0 Kudos
Message 1 of 2
(2,226 Views)

Hi TIA,

 

It is not possible to read in a U32 greyscale image into LabVIEW with the IMAQ toolkit. You could try using third party software to convert the image to U16, which would then work with IMAQ. Otherwise you could try to write your own code to decipher the tiff file.

 

Tim O

Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,200 Views)