LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Color Histograph with RGB U64 images / Image conversion from RGB U64 to RGB U32

Solved!
Go to solution

Hi guys,

 

I want to use the function Color histograph but I have an input image RGB U64. The only supported image type is RGB U32. Is there any way to convert the image from U64 to U32 and use the function color histograph?  I know that I will lose accuracy, but that will do for now.

 

Otherwise, do you know any histograph functions that supports RGB U64 images as input?

 

Please let me know.

Thanks,

 

ES

0 Kudos
Message 1 of 3
(1,541 Views)
Solution
Accepted by topic author Emanuele_S

IMAQ Cast Image VI Converts the current image type to the image type specified by Image Type.

How Casting works: The VI shifts the source value to the 8-bit range using the specified bit depth of the source image. Then the VI sets each color component in the destination value to the corresponding component in the source value.

Thanks
uday
0 Kudos
Message 2 of 3
(1,524 Views)

Dear uday,

 

thanks, it works now.

 

Regards

 

ES

0 Kudos
Message 3 of 3
(1,512 Views)