|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.ece.iacl.jist.structures.image.ImageHeader
public class ImageHeader
The Class ImageHeader.
| Nested Class Summary | |
|---|---|
static class |
ImageHeader.AxisOrientation
The Enum AxisOrientation. |
static class |
ImageHeader.Compression
The Enum Compression. |
static class |
ImageHeader.Endianess
The Enum Endianess. |
static class |
ImageHeader.ImageModality
The Enum ImageModality. |
static class |
ImageHeader.ImageOrientation
The Enum ImageOrientation. |
static class |
ImageHeader.MeasurementUnit
The Enum MeasurementUnit. |
| Field Summary | |
|---|---|
protected ImageHeader.AxisOrientation[] |
axisOrientation
The axis orientation. |
static java.lang.String[] |
axisOrientationNames
The Constant axisOrientationNames. |
protected ImageHeader.Compression |
compressionType
The compression type. |
protected boolean |
defaultHeader
The default header. |
protected float[] |
dimResolutions
The dim resolutions. |
protected ImageHeader.Endianess |
endianess
The endianess. |
protected ImageHeader.ImageOrientation |
imageOrientation
The image orientation. |
static java.lang.String[] |
imageOrientationNames
The Constant imageOrientationNames. |
static java.lang.String[] |
measurementUnitNames
The Constant measurementUnitNames. |
protected ImageHeader.ImageModality |
modality
The modality. |
protected float[] |
origin
The origin. |
protected float |
sliceThickness
The slice thickness. |
protected ImageHeader.MeasurementUnit[] |
unitsOfMeasure
The units of measure. |
| Constructor Summary | |
|---|---|
ImageHeader()
Instantiates a new image header. |
|
ImageHeader(FileInfoBase fileInfo)
Instantiates a new image header. |
|
| Method Summary | |
|---|---|
ImageHeader |
clone()
|
void |
copyAllInfoTo(FileInfoBase fileInfo)
Copy all info to. |
void |
copyBasicInfoTo(FileInfoBase fileInfo)
Copy basic info to. |
void |
copyGeometry(ImageHeader copyme)
Copy geometry from one image header into this one. |
ImageHeader.AxisOrientation[] |
getAxisOrientation()
Gets the axis orientation. |
ImageHeader.Compression |
getCompressionType()
Gets the compression type. |
float[] |
getDimResolutions()
Gets the dim resolutions. |
ImageHeader.Endianess |
getEndianess()
Gets the endianess. |
ImageHeader.ImageOrientation |
getImageOrientation()
Gets the image orientation. |
ImageHeader.ImageModality |
getModality()
Gets the modality. |
float[] |
getOrigin()
Gets the origin. |
float |
getSliceThickness()
Gets the slice thickness. |
ImageHeader.MeasurementUnit[] |
getUnitsOfMeasure()
Gets the units of measure. |
boolean |
hasComparableGeometry(ImageHeader hdr)
NOTE: This method is a stub. |
boolean |
isDefaultHeader()
Checks if is default header. |
boolean |
isSameOrientation(ImageHeader hdr)
Compares the orientation of this header with another header. |
boolean |
isSameResolution(ImageHeader hdr)
Compares the resolution of this header with another header. |
void |
setAxisOrientation(ImageHeader.AxisOrientation[] axisOrientation)
Sets the axis orientation. |
void |
setCompressionType(ImageHeader.Compression compressionType)
Sets the compression type. |
void |
setDimResolutions(float[] dimResolutions)
Sets the dim resolutions. |
void |
setEndianess(ImageHeader.Endianess endianess)
Sets the endianess. |
void |
setImageOrientation(ImageHeader.ImageOrientation imageOrientation)
Sets the image orientation. |
void |
setModality(ImageHeader.ImageModality modality)
Sets the modality. |
void |
setOrigin(float[] origin)
Sets the origin. |
void |
setSliceThickness(float sliceThickness)
Sets the slice thickness. |
void |
setUnitsOfMeasure(ImageHeader.MeasurementUnit[] unitsOfMeasure)
Sets the units of measure. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String[] measurementUnitNames
public static final java.lang.String[] axisOrientationNames
public static final java.lang.String[] imageOrientationNames
protected ImageHeader.AxisOrientation[] axisOrientation
protected ImageHeader.ImageOrientation imageOrientation
protected ImageHeader.ImageModality modality
protected float[] origin
protected float[] dimResolutions
protected ImageHeader.MeasurementUnit[] unitsOfMeasure
protected ImageHeader.Compression compressionType
protected ImageHeader.Endianess endianess
protected float sliceThickness
protected boolean defaultHeader
| Constructor Detail |
|---|
public ImageHeader()
public ImageHeader(FileInfoBase fileInfo)
fileInfo - the file info| Method Detail |
|---|
public void copyAllInfoTo(FileInfoBase fileInfo)
fileInfo - the file infopublic void copyBasicInfoTo(FileInfoBase fileInfo)
fileInfo - the file infopublic ImageHeader clone()
clone in class java.lang.Objectpublic ImageHeader.AxisOrientation[] getAxisOrientation()
public void setAxisOrientation(ImageHeader.AxisOrientation[] axisOrientation)
axisOrientation - the axisOrientation to setpublic ImageHeader.ImageOrientation getImageOrientation()
public void setImageOrientation(ImageHeader.ImageOrientation imageOrientation)
imageOrientation - the imageOrientation to setpublic ImageHeader.ImageModality getModality()
public void setModality(ImageHeader.ImageModality modality)
modality - the modality to setpublic float[] getOrigin()
public void setOrigin(float[] origin)
origin - the origin to setpublic float[] getDimResolutions()
public void setDimResolutions(float[] dimResolutions)
dimResolutions - the dimResolutions to setpublic ImageHeader.MeasurementUnit[] getUnitsOfMeasure()
public void setUnitsOfMeasure(ImageHeader.MeasurementUnit[] unitsOfMeasure)
unitsOfMeasure - the unitsOfMeasure to setpublic ImageHeader.Compression getCompressionType()
public void setCompressionType(ImageHeader.Compression compressionType)
compressionType - the compressionType to setpublic ImageHeader.Endianess getEndianess()
public void setEndianess(ImageHeader.Endianess endianess)
endianess - the endianess to setpublic float getSliceThickness()
public void setSliceThickness(float sliceThickness)
sliceThickness - the sliceThickness to setpublic boolean isDefaultHeader()
public void copyGeometry(ImageHeader copyme)
copyme - the header from which to copy datapublic boolean hasComparableGeometry(ImageHeader hdr)
hdr - - Image header to compare current header with
public boolean isSameOrientation(ImageHeader hdr)
hdr -
public boolean isSameResolution(ImageHeader hdr)
hdr -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||