Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
TypeConverter Class Reference

Public Member Functions

 TypeConverter (ImageProcessor ip, boolean doScaling)
 
ImageProcessor convertToByte ()
 
ImageProcessor convertToShort ()
 
ImageProcessor convertToFloat (float[] ctable)
 
ImageProcessor convertToRGB ()
 

Detailed Description

This class converts an ImageProcessor to another data type.

Definition at line 9 of file TypeConverter.java.

Member Function Documentation

ImageProcessor convertToByte ( )
inline

Converts processor to a ByteProcessor.

Definition at line 33 of file TypeConverter.java.

ImageProcessor convertToFloat ( float[]  ctable)
inline

Converts processor to a FloatProcessor.

Definition at line 165 of file TypeConverter.java.

ImageProcessor convertToRGB ( )
inline

Converts processor to a ColorProcessor.

Definition at line 220 of file TypeConverter.java.

ImageProcessor convertToShort ( )
inline

Converts processor to a ShortProcessor.

Definition at line 114 of file TypeConverter.java.


The documentation for this class was generated from the following file: