03-26-2009 06:15 AM - edited 03-26-2009 06:20 AM
03-27-2009 01:57 AM
Hi ispbarum,
to convert an 8 bit grayscale image to RGB you only need to write the value to all three components. If all values R,G and B are equal, then you get gray as color.
Hope it helps.
Mike
03-27-2009 07:41 AM
In the Vison Utilities>>Image Management pallete there is a IMAQ Cast Image function. You should be able to use this to convert from U8 to RGB U32.
It's weird that you can only change to other grayscales in the Vision Assistant.
10-12-2012 01:47 AM
Hi,
is it possible to do that without the vision module?
I work with a USB camera and the resulting array. I want tocreate a RBG image which will be the overlay of the three images.
Thanks for your help.
Sébastien
10-12-2012 02:29 AM
CIML wrote:is it possible to do that without the vision module?
I work with a USB camera and the resulting array. I want tocreate a RBG image which will be the overlay of the three images.
You already attached some code. Does it work?
10-12-2012 02:36 AM
Yesn, I've attached the file in the 2012 version.
Maybe I can try with the v.8
10-12-2012 02:52 AM - edited 10-12-2012 02:53 AM
I was just wondering if you are asking a question or providing a solution. Your post read as a question so I wasn't sure.
You can eliminate the subVI and FOR loops as follows (don't kow if it is faster or slower ;)):
10-12-2012 03:22 AM
Thanks, yes, it's a question!
With your solution, the resulting image doesn't display the overlay of the 3 images.
Thanks
10-12-2012 09:54 AM - edited 10-12-2012 09:58 AM
All you need is "draw unflattened pixmap" and send it to an 2D image indicator. This is part of plain LabVIEW, no vision module needed.
An intensity graph is not suitable to display an RGB image.
05-23-2023 08:32 AM
I am working on image dehazing using labVIEW .I somehow manage to do the dehazing in grayscale ,now how do I convert the dehazed image to view in rgb I have used extract color plane on the original image then tried to replace it with replace color plane with grayscale image as source still it is not converting please help , I am new in this field.