public enum ImageDataType extends Enum<ImageDataType>
| Enum Constant and Description |
|---|
F
Single Band floating point image
|
F32
Single Band 32-bit floating point image
|
F64
Single Band 64-bit floating point image
|
I
Single Band Integer image
|
I16
Single Band 16-bit integer image
|
I8
Single Band 8-bit integer image
|
S16
Single Band Signed 16-bit integer image
|
S32
Single Band Signed 32-bit integer image
|
S64
Single Band Signed 64-bit integer image
|
S8
Single Band Signed 8-bit image
|
U16
Single Band Unsigned 16-bit image
|
U8
Single Band Unsigned 8-bit image
|
| Modifier and Type | Method and Description |
|---|---|
static ImageDataType |
classToType(Class imageClass) |
Class |
getDataType()
The primitive data type used by each pixel.
|
double |
getMaxValue()
Returns the maximum allowed value for data elements in this data type
|
double |
getMinValue()
Returns the minimum allowed value for data elements in this data type
|
int |
getNumBits()
Number of bits per pixel in the image.
|
Class |
getSumType()
Type of data used when summing elements in the image.
|
boolean |
isAbstract()
If the image is an abstract data type or not.
|
boolean |
isInteger()
If each pixel is an integer or not.
|
boolean |
isSigned()
If the image has a signed or unsigned data type.
|
static Class |
typeToClass(ImageDataType type) |
static ImageDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageDataType U8
public static final ImageDataType S8
public static final ImageDataType U16
public static final ImageDataType S16
public static final ImageDataType S32
public static final ImageDataType S64
public static final ImageDataType F32
public static final ImageDataType F64
public static final ImageDataType I8
public static final ImageDataType I16
public static final ImageDataType I
public static final ImageDataType F
public static ImageDataType[] values()
for (ImageDataType c : ImageDataType.values()) System.out.println(c);
public static ImageDataType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static ImageDataType classToType(Class imageClass)
public static Class typeToClass(ImageDataType type)
public int getNumBits()
public boolean isAbstract()
public boolean isSigned()
public boolean isInteger()
public Class getDataType()
public Class getSumType()
public double getMaxValue()
public double getMinValue()
Copyright © 2013. All Rights Reserved.