01-28-2013 04:07 AM
Hello,
I have a really simple question: after processing the images coming from my camera, I get grayscale (SGL) images. I would like to colorize those images with a cyclic color palette (Type HUE woul be perfect!).
Any simple Ideas? 😉
Thank you in advance.
Regards,
mathias
Solved! Go to Solution.
01-29-2013 10:08 AM
I am not quite sure what you mean with "colorize". Do you want to transform a grey-white picture into a for example red-white picture?
01-29-2013 10:30 AM
Hello Reschri,
Thanks for your interest!
Colorize is not the right word, you are right. I have a picture (SLG values) that I would like to display pseudo-coloured. I would like the color palette to be cyclic (maximum value has the same color as minimum value).
01-29-2013 11:40 AM
A few of methods:
Have you tried changing the display palette? There are a couple of nice color mappings, but neither cycle.
You can create a palette lookup table that contains a color for each level of grayscale. That might take a little work, but you get exactly what you want.
Quick and dirty: create a couple of images the same size with the saturation and intensity levels you want, then combine them with your grayscale image (as hue) into a color image. I would start with levels of 128, then adjust.
Bruce
01-30-2013 02:49 AM
Hello BruceAmmons,
Thank you for your answer. Indeed, there are some nice color palette alredy built-in, unfortunately neither cycle... It will come may be...
I will create my own color palette as you proposed, do you know if I can create a 16 bits one or if I am limited with Labview to 8 bits?
Mathias
ZHAW
01-30-2013 07:17 AM
Unfortunately not, look at this:
http://digital.ni.com/public.nsf/allkb/1E2B138843AF58D9862579D4006E373A
01-30-2013 07:27 AM
I got it... Thank you very much!
By