|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xinapse.multisliceimage.Analyze.ANZHeader
public abstract class ANZHeader
An abstract Analyze header representation.
| Field Summary | |
|---|---|
static java.lang.String |
COMPRESSED_EXTENSION
The file extension for Analyze header files in lower case form. |
static java.lang.String |
COMPRESSED_UPPERCASE_EXTENSION
The file extension for Analyze header files in upper case form. |
static java.lang.String |
EXTENSION
The file extension for Analyze header files in lower case form. |
static int |
MAXDIM
The maximum dimensionality of an Analyze image. |
static java.lang.String |
UPPERCASE_EXTENSION
The file extension for Analyze header files in upper case form. |
protected java.lang.Float |
voxOffset
The offset from the start of the file to start of the image data. |
| Method Summary | |
|---|---|
ANZHeader |
clone()
Creates a deep copy of this Analyze header. |
java.lang.String |
getDBName()
Returns the data base name for this Analyze image header. |
java.lang.String |
getDescription()
Returns the description for this Analyze image header. |
int[] |
getMinMax()
Gets the glMin and glMax fields for this Analyze image header. |
void |
setDBName(java.lang.String name)
Sets the data base name for this Analyze image header. |
void |
setDims(java.lang.Short... dims)
Sets the number of samples in each dimension of this Analyze image header. |
void |
setMinMax(int min,
int max)
Sets the glMin and glMax fields for this Analyze image header. |
void |
setNCols(short nc)
Sets the number of columns in this this Analyze image header. |
void |
setNFrames(short nF)
Sets the number of frames in this this Analyze image header. |
void |
setNRows(short nr)
Sets the number of rows in this this Analyze image header. |
void |
setNSlices(short ns)
Sets the number of slices in this this Analyze image header. |
java.lang.String |
toString()
Returns the string representation of this Analyze image header. |
java.lang.String |
toString(boolean html)
Returns the string representation of this Analyze image header, with optional presentation in HTML format. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String EXTENSION
public static final java.lang.String UPPERCASE_EXTENSION
public static final java.lang.String COMPRESSED_EXTENSION
public static final java.lang.String COMPRESSED_UPPERCASE_EXTENSION
public static final int MAXDIM
protected java.lang.Float voxOffset
| Method Detail |
|---|
public ANZHeader clone()
clone in class java.lang.Objectpublic void setNCols(short nc)
nc - the number of columns.public void setNRows(short nr)
nr - the number of rows.public void setNSlices(short ns)
ns - the number of slices.public void setNFrames(short nF)
nF - the number of frames.
public void setDims(java.lang.Short... dims)
throws ANZException
dims - the number of samples in each of the image dimensions. The number of
arguments supplied determines the dimensionality of the image.
ANZException - if the dimensionality or numbers of samples are illegal.public java.lang.String getDBName()
public void setDBName(java.lang.String name)
name - a String representing the name data base name.public java.lang.String getDescription()
public int[] getMinMax()
public void setMinMax(int min,
int max)
throws MultiSliceImageException
min - the minimum pixel value in the image.max - the maximum pixel value in the image.
MultiSliceImageException - if the values supplied are unsuitable, or the values
cannot be set.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(boolean html)
html - if true, then the string will contain HTML tags.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||