Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Grayscale (SLG) to HUE

Solved!
Go to solution

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

0 Kudos
Message 1 of 7
(4,115 Views)

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?

0 Kudos
Message 2 of 7
(4,085 Views)

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

0 Kudos
Message 3 of 7
(4,082 Views)

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

Bruce Ammons
Ammons Engineering
0 Kudos
Message 4 of 7
(4,080 Views)

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

0 Kudos
Message 5 of 7
(4,068 Views)
Solution
Accepted by topic author bmat
0 Kudos
Message 6 of 7
(4,059 Views)

I got it... Thank you very much!

 

By

0 Kudos
Message 7 of 7
(4,056 Views)