public enum PixelType extends Enum<PixelType>
Enum Constant and Description |
---|
FLOAT16 |
FLOAT32 |
FLOAT8 |
SINT16 |
SINT32 |
UINT1 |
UINT10 |
UINT16 |
UINT8 |
Modifier and Type | Field and Description |
---|---|
private int |
bits |
private String |
datatype |
Modifier and Type | Method and Description |
---|---|
int |
getBits() |
String |
getDatatype() |
static PixelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PixelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PixelType UINT1
public static final PixelType UINT8
public static final PixelType UINT10
public static final PixelType UINT16
public static final PixelType SINT16
public static final PixelType SINT32
public static final PixelType FLOAT8
public static final PixelType FLOAT16
public static final PixelType FLOAT32
private String datatype
private int bits
public static PixelType[] values()
for (PixelType c : PixelType.values()) System.out.println(c);
public static PixelType 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 String getDatatype()
public int getBits()
Copyright © 2015 Open Microscopy Environment