help on the equivalents between BufferedImage types and ImagePlus types

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

help on the equivalents between BufferedImage types and ImagePlus types

Albert Cardona
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