LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ date2image

Hi all ,

 

I want to convert data to image currently i am using picture to pixmap.vi and draw flattend pixmap.vi to convert the data i am getting from Infratech Vario HD 600 infrared camera. But the problem is the picture is in black and white not in colors. So in theroy when i send the paletes data in it should conver the picture into colourd image as normaly seen with an infra red cam.

I am attaching the vi. let me know if or what I am doing wrong.  i am also attaching the imge jpg from the software for reference

 

Best Regards

Regards
Download All
0 Kudos
Message 1 of 5
(2,458 Views)

The problem is the color table (paletes).

You used a gray scale color table, that's why you got gray scale image.

A typical gray scale color table looks like this:

0x000000

0x010101

0x020202

...

0xFFFFFF

 

Notice the red, blue, and green componenet are always the same.

 

Untitled.png

 

Untitled1.png

 

If you have the right color table, you can get a better color image.

 

 

George Zou
Message 2 of 5
(2,430 Views)

hi zou,

 

Thanks for the help. I realized it after posting the question. But I want to ask how to gernerate a random color palette ?  for example betwee blue and red. any ideas ?

Regards
0 Kudos
Message 3 of 5
(2,382 Views)

One color:

 

CT.png

 

 

George Zou
0 Kudos
Message 4 of 5
(2,376 Views)

Color table:

 

CT.png

 

 

George Zou
0 Kudos
Message 5 of 5
(2,373 Views)