Login  Register

Re: creating color image from masks

Posted by Michael Schmid on Jun 10, 2009; 4:34pm
URL: http://imagej.273.s1.nabble.com/creating-color-image-from-masks-tp3692189p3692190.html

Hi Adam,

create an RGB image with the same size, save the ImageID
Edit>selection>Create Selection in image 1
select RGB image
Edit>selection>Restore Selection
set Fill color black
fill
Edit>selection>Create Selection in image 2
select RGB image
Edit>selection>Restore Selection
set Fill color green
fill

An alternative would be using the ImageCalculator and Image>Color>Merge


Michael
________________________________________________________________

On 10 Jun 2009, at 15:26, Adam Hacking wrote:

> Hi,
>
> I have an image that has 2 compoents of interest. I have obtained 2  
> binary images of each threshold of interest. For easy  
> visualization, I would like to generate a merged image from the 2  
> thresholded images, wherein the merged image the foreground of one  
> remains black and the foreground of the other is green.
>
> Thanks
>
> Adam
>