Re: Merging brightfield and RGB images
Posted by Albert Cardona on Jun 19, 2007; 8:42pm
URL: http://imagej.273.s1.nabble.com/Merging-brightfield-and-RGB-images-tp3699063p3699066.html
Hi Nikhil,
In my experience, it's much better to first convert the brightfield
image to RGB, and paste the colored fluorescent channels into its RGB
channels. The other way around, like you are trying to do, will render
images with strange colored backgrounds.
Here is how I'd do it:
1) convert your brighfield image to an RGB Image (Image -> Type -> RGB
Color)
and then to an RGB stack (Image -> Type - > RGB Stack)
2) convert your color image to RGB Stack (Image -> Type - > RGB Stack)
3) open the Paste Control (Edit -> Paste Control...)
4) select "Max"
5) Copy the color channel you want to transfer from the color image
(which now is a stack of 3 slices)
6) paste into the desired channel of the RGB Stack of the brighfield image.
7) convert the RGB Stack to an RGB (Image -> Type -> RGB Color)
The Max operation chooses the largest value of both pixels, so that any
two images can be merged very nicely. You can of course experiment with
other paste ptions, and with preadjusting the intensity of the image
being pasted.
Albert