Login  Register

help on the equivalents between BufferedImage types and ImagePlus types

Posted by Albert Cardona on Sep 28, 2005; 10:42am
URL: http://imagej.273.s1.nabble.com/help-on-the-equivalents-between-BufferedImage-types-and-ImagePlus-types-tp3704769.html

Dear all,

Does anyone know the exact or closest correspondence between the
BufferedImage types such as TYPE_BYTE_BINARY, TYPE_BYTE_INDEXED, etc,
and the ImageProcessor subclasses? In my experience I'm seeing:

TYPE_BYTE_INDEXED == ImagePlus.COLOR_256

TYPE_BYTE_BINARY == ImagePlus.GRAY8

What about all the others?

And most important: what about the correspondence with an
ImageProcessor subclass?

Thanks for any help.

Albert