|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ANZPixFormat>
com.xinapse.multisliceimage.Analyze.ANZPixFormat
public enum ANZPixFormat
This class represents the pixel formats (data types) that can be used in Analyze, and NIFTI (extended Analyze) images.
| Enum Constant Summary | |
|---|---|
BINARY
ANZPixFormat for binary (1-bit) pixel values. |
|
COMPLEX
ANZPixFormat for complex (2 x 32-bit float) pixel values. |
|
DOUBLE
ANZPixFormat for double (64-bit) pixel values. |
|
FLOAT
ANZPixFormat for float pixel values. |
|
INT
ANZPixFormat for signed int (32-bit) pixel values. |
|
NIFTI_COMPLEX128
ANZPixFormat NIFTI double complex (128-bit) pixel values. |
|
NIFTI_COMPLEX256
ANZPixFormat NIFTI long double complex (256-bit) pixel values. |
|
NIFTI_FLOAT128
ANZPixFormat NIFTI long double (128-bit) pixel values. |
|
NIFTI_INT64
ANZPixFormat NIFTI signed long (64-bit) pixel values. |
|
NIFTI_INT8
ANZPixFormat for NIFTI signed byte (8-bit) pixel values. |
|
NIFTI_UINT16
ANZPixFormat NIFTI unsigned short (16-bit) pixel values. |
|
NIFTI_UINT32
ANZPixFormat NIFTI unsigned int (32-bit) pixel values. |
|
NIFTI_UINT64
ANZPixFormat NIFTI unsigned long (64-bit) pixel values. |
|
RGB
ANZPixFormat for colour (r,g,b) (3 x 8-bit) pixel values. |
|
SHORT
ANZPixFormat for short (16-bit) pixel values. |
|
UBYTE
ANZPixFormat for unsigned byte (8-bit) pixel values. |
|
UNKNOWN
ANZPixFormat for unknown type pixel values. |
|
| Method Summary | |
|---|---|
static ANZPixFormat |
getInstance(PixelDataType dataType)
Returns the ANZPixFormat corresponding to a PixelDataType. |
PixelDataType |
getPixelDataType()
Returns the PixelDataType corresponding to this ANZPixFormat. |
boolean |
isAnalyze()
Indicates whether this is an original Analyze (not NIFTI) ANZPixFormat. |
static void |
main(java.lang.String[] args)
Run a self-test on the ANZPixFormat class. |
java.lang.String |
toString()
Returns a string describing this Analyze or NIFTI (extended Analyze) data format. |
static ANZPixFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ANZPixFormat[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ANZPixFormat UNKNOWN
public static final ANZPixFormat BINARY
public static final ANZPixFormat UBYTE
public static final ANZPixFormat SHORT
public static final ANZPixFormat INT
public static final ANZPixFormat FLOAT
public static final ANZPixFormat COMPLEX
public static final ANZPixFormat DOUBLE
public static final ANZPixFormat RGB
public static final ANZPixFormat NIFTI_INT8
public static final ANZPixFormat NIFTI_UINT16
public static final ANZPixFormat NIFTI_UINT32
public static final ANZPixFormat NIFTI_INT64
public static final ANZPixFormat NIFTI_UINT64
public static final ANZPixFormat NIFTI_FLOAT128
public static final ANZPixFormat NIFTI_COMPLEX128
public static final ANZPixFormat NIFTI_COMPLEX256
| Method Detail |
|---|
public static ANZPixFormat[] values()
for (ANZPixFormat c : ANZPixFormat.values()) System.out.println(c);
public static ANZPixFormat valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic PixelDataType getPixelDataType()
public static ANZPixFormat getInstance(PixelDataType dataType)
throws ANZException
dataType - a PixelDataType corresponding to the returned ANZPixFormat.
ANZException - if there is no corresponding ANZPixFormat.public boolean isAnalyze()
public java.lang.String toString()
toString in class java.lang.Enum<ANZPixFormat>public static void main(java.lang.String[] args)
args - ignored.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||