LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving Image with colour map

Solved!
Go to solution

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!

0 Kudos
Message 11 of 18
(1,236 Views)

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 -.-

Sometimes my knowledge is just ... .... lol
0 Kudos
Message 12 of 18
(1,226 Views)

You can use any picture on your harddrive.

0 Kudos
Message 13 of 18
(1,224 Views)

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

Sometimes my knowledge is just ... .... lol
0 Kudos
Message 14 of 18
(1,207 Views)

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

0 Kudos
Message 15 of 18
(1,198 Views)

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

Sometimes my knowledge is just ... .... lol
0 Kudos
Message 16 of 18
(1,186 Views)
Solution
Accepted by topic author xridder

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

0 Kudos
Message 17 of 18
(1,181 Views)

hey cool, its working, thx alot.

Exactly what i needed 🙂

 

Cheers

xridder

Sometimes my knowledge is just ... .... lol
0 Kudos
Message 18 of 18
(1,170 Views)