Re: RGB merge
Posted by
Wayne Rasband on
Mar 20, 2007; 11:25pm
URL: http://imagej.273.s1.nabble.com/RGB-merge-tp3699994p3699998.html
> Does anyone know why the built in RGB merge works fine with my 16-bit
> images. However, the plugin from the ImageJ site
> (
http://rsb.info.nih.gov/ij/plugins/rgb-merge.html) after compiled and
> run is limited to 8-bit images?
>
> I need to alter the RGB merge which is why I am using the java file.
It did not work with 16-bit images because it was an older version of
the plugin. What you can do is download the ImageJ source code and
convert the internal plugin that implements Image>Color>RGB into a user
plugin. Download the ImageJ source from
<
http://rsb.info.nih.gov/ij/download/src/>, copy the file
source/ij/plugin/RGBStackMerge.java to the plugins folder, rename it
RGB_Stack_Merge.java, change the class name from "RGBStackMerge" to
"RGB_Stack_Merge", and change "package ij.plugin;" to "import
ij.plugin.*;". You can use Plugins>Utilities>List Commands to find out
how commands are associated with internal plugins.
-wayne