
Displaying a loaded image in just one color

Br
I want to display the loaded image in just one color, (red or green) but when the image is clicked from the data browser again it will display as a full RGB color.
The code is shown below:
Function imconvert(image1,image2,ref_movie) wave image1,image2 wave ref_movie redimension/I/S image1 // Converts the first image to FP32 NewImage/K=0/N=Reference image1 ModifyImage Reference ctab ={*,*,Red,0}
Also I want to overlap two images (different colors) to check for similarity. i.e, if I overlap an image of red color with an image of green the resultant image should automatically be yellow.
Thanks
July 11, 2013 at 04:38 am - Permalink