LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Color table problem when superimposing intensity graphs

Hi I am a co-op student working in an optical medical imaging lab, I need to superimpose 2 images together, one is the structural of tissues and the other is the vescular flow using doppler detection.

I have written a simple simulation of what I want to do with the 2 images using a constant intensity (structural)using a constant number and a variable intensity (doppler) using random numbers. the numbers are stored in 2 same sized arrays and are displayed. The 2 intensity graphs can be superimposed by adding the selected variable points to the constant graph (the location of the varable points are set to zero in the constant graph)

My problem here is to creat a color table in the superimposed image that displays both the color table in structural and doppler graphs, anyone have any idea? I think it has to do with the number that I need to enter to the colortable constant.

my program is attached

thanks

Brian
0 Kudos
Message 1 of 6
(2,925 Views)
You can't. There is no way to superimpose 2 8-bit images with different color tables to creat a new 8 bit image. Unless the unique colors in both color tables is less or equal to 256.

Convert to 24 bit image, and use picture control to display image instead of intensity graph.

George Zou
http://gtoolbox.yeah.net
George Zou
Message 2 of 6
(2,922 Views)
ok, I don't know if it will be within the 256 color code, but my color table is composed of orange, black, then blue, do you know if it is possible to just change the black into gray?
0 Kudos
Message 3 of 6
(2,913 Views)
You can simply modify the color table. But you don't have black (0x000000) in "Astro Color Table".


George Zou
http://gtoolbox.yeah.net
George Zou
0 Kudos
Message 4 of 6
(2,906 Views)
I don't really know how to modify the colortable, do you know where i could find help on how the numbering works? or if you can just explain it briefly?

thanks a lot
0 Kudos
Message 5 of 6
(2,903 Views)
nevermind, hehe, figured it out
0 Kudos
Message 6 of 6
(2,900 Views)