Module ij
Package ij.process

Class TypeConverter

  • public class TypeConverter
    extends java.lang.Object
    This class converts an ImageProcessor to another data type.
    • Constructor Detail

      • TypeConverter

        public TypeConverter​(ImageProcessor ip,
                             boolean doScaling)
    • Method Detail

      • convertToByte

        public ImageProcessor convertToByte()
        Converts processor to a ByteProcessor.
      • convertToShort

        public ImageProcessor convertToShort()
        Converts processor to a ShortProcessor.
      • convertToFloat

        public ImageProcessor convertToFloat​(float[] ctable)
        Converts processor to a FloatProcessor.
      • convertToRGB

        public ImageProcessor convertToRGB()
        Converts processor to a ColorProcessor.