04-08-2013 12:21 PM
Hi,
I am using the IMAQColourHistogram which only accepts 32 bit image inputs. I changed the Image from 16 bit to 32 bit using 'Cast Image'. The program worked but inserting an indicator, I realised that the Cast Image actually changes the Color in the image to a black and white Image. Is there a way I can change the 16 bit to 32 bit without losing the colour.
Any suggestions on this would be very helpful as I am currently stuck in my project.
Thanks.
04-08-2013 03:07 PM
Hi,
Is your 16bit image a real color image or only a grayscale image with a false color palette?
If your image is only a grayscale image, simply use the IMAQHistogram function (located in the Analysis palette) wich accepts 8 and 16bit images.
Color images are 32bit because you have 3 planes of 8 bit (Red, Green, Blue)
16bit are not usually color images, but grayscale image with extended pixel depth compared ti traditionnal 8bit images.
Regards