02-02-2011 07:12 AM
Hey xridder,
I think i've solved your problem. You use two customized 8bit color palettes. This means that you have to use grayscale (U8) as image type. Other image types are not compatible to your color palettes. Otherwise you need 16 or 32 bit customized color palettes. Have a look at my example VI.
Cheers,
Philip
Please tell me if it works!
02-02-2011 10:03 AM
mmh
its driving me nuts.
The only possible choice to see the image in the Window is Using greyscale I16, But I16 ought to be not 8 bit^^
but you're right with the 8 bit colour map...
and i cant use your VI... it doesnt find any picture -.-
02-02-2011 10:07 AM
You can use any picture on your harddrive.
02-07-2011 04:08 AM
ah, it works...
so when i want to use I16, and have 8 bit colour maps, i have to shift the colour maps to 16 bit, is that possible?
And how do i do that...
cheers
02-07-2011 10:14 AM
Yeah should be possible. BUT 16bit means that you have array size of 65536. Maybe you can create that with a while loop. Otherwise you have to ask FLIR for a 16bit color palette. But why don't you use the 8bit color palette?
Cheers,
Philip
02-10-2011 02:41 AM
mh that would be also an idea, but there occurs another problem.
I can only use the I16 to display the image from the camera, nothing else works...
so when i want to try it like that i have to change the I16 to 8 bit. I tried it with an
IMAQ image bit depth, but it does not apply the colour map on it.
Cheers xridder
02-10-2011 03:48 AM
Have a look at this page. http://zone.ni.com/devzone/cda/epd/p/id/755
There are some examples how to convert 16bit images to 8bit.
Cheers
02-10-2011 09:28 AM
hey cool, its working, thx alot.
Exactly what i needed 🙂
Cheers
xridder