JavaScript is disabled on your browser.
Enum Constant Summary
Enum Constants
Constructor Summary
Constructors
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
private static boolean
(package private) int
getTypeFromRGB (int mapSize,
byte[] r,
byte[] g,
byte[] b,
int dataTypeSize,
int numBands)
private static boolean
private static boolean
private static boolean
rgbIsValueAt (byte[] r,
byte[] g,
byte[] b,
byte value,
int i)
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
BILEVEL_WHITE_IS_ZERO
public static final ImageType BILEVEL_WHITE_IS_ZERO
BILEVEL_BLACK_IS_ZERO
public static final ImageType BILEVEL_BLACK_IS_ZERO
Field Details
photometricInterpretation
private final int photometricInterpretation
Constructor Details
ImageType
private ImageType (int photometricInterpretation)
Method Details
values
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name
- the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException
- if this enum class has no constant with the specified name
NullPointerException
- if the argument is null
getPhotometricInterpretation
int getPhotometricInterpretation ()
getTypeFromRGB
static ImageType getTypeFromRGB (int mapSize,
byte[] r,
byte[] g,
byte[] b,
int dataTypeSize,
int numBands)
rgbIsValueAt
private static boolean rgbIsValueAt (byte[] r,
byte[] g,
byte[] b,
byte value,
int i)
bilevelColorValue
private static boolean bilevelColorValue (byte[] r,
byte[] g,
byte[] b,
int blackValue,
int whiteValue)
isBlackZero
private static boolean isBlackZero (byte[] r,
byte[] g,
byte[] b)
isWhiteZero
private static boolean isWhiteZero (byte[] r,
byte[] g,
byte[] b)