Package gov.nih.mipav.model.file
Class FileMincDimElem
java.lang.Object
gov.nih.mipav.model.structures.ModelSerialCloneable
gov.nih.mipav.model.file.FileMincDimElem
- All Implemented Interfaces:
Serializable,Cloneable
This class represents a MINC dimension element. As far as I can tell, MINC dimension elements are always descriptors
of the three dimensions of the image file. Thus they contain a name and a length; the name is "xspace", "yspace", or
"zspace", and the length is the size of that dimension. So an axial image that was 256x256 and had 34 slices would
have "xspace" with length 256, "yspace" with length 256, and "zspace" with length 34. On the other hand, a coronal
image with the same dimensions would have "xspace" with length 256, "yspace" with length 34, and "zspace" with length
256. This is because MINC always refers to the patient when assigning these dimension variables.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionintDOCUMENT ME!DOCUMENT ME!private static final longUse serialVersionUID for interoperability. -
Constructor Summary
ConstructorsConstructorDescriptionFileMincDimElem(String name, int length) Constructor that creates a MINC dimension element with the given name and length. -
Method Summary
Methods inherited from class gov.nih.mipav.model.structures.ModelSerialCloneable
nativeClone
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDUse serialVersionUID for interoperability.- See Also:
-
length
public int lengthDOCUMENT ME! -
name
DOCUMENT ME!
-
-
Constructor Details
-
FileMincDimElem
Constructor that creates a MINC dimension element with the given name and length.- Parameters:
name- Name of this dimension element (usually xspace, yspace, or zspace).length- Size of the dimension.
-
-
Method Details
-
clone
Returns a new MincDimElem with the same values as this one.- Overrides:
clonein classModelSerialCloneable- Returns:
- The new MincDimElem element.
-
toString
Creates a readable version of this element; used in displayAboutInfo.
-