Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ij.process
Class TypeConverter

    java.lang.Object
      ij.process.TypeConverter

public class TypeConverter
extends java.lang.Object

This class converts an ImageProcessor to another data type.

Constructor Summary
`TypeConverter(ImageProcessor ip, boolean doScaling)`

Method Summary
`ImageProcessor` | `convertToByte()` Converts processor to a ByteProcessor.
`ImageProcessor` | `convertToFloat(float[] ctable)` Converts processor to a FloatProcessor.
`ImageProcessor` | `convertToRGB()` Converts processor to a ColorProcessor.
`ImageProcessor` | `convertToShort()` Converts processor to a ShortProcessor.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD