|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xinapse.multisliceimage.MultiSliceImage
com.xinapse.multisliceimage.UNC.UNCImage
public class UNCImage
This class is a representation of a multi-dimensional image in the University of North Carolina (UNC) format. A UNCImage object may be either purely held in memory, or may have its pixel data kept on disk. Note that only big-endian byte ordering is implemented and supported.
| Field Summary | |
|---|---|
static boolean |
DEFAULT_OVERWRITE
The default setting for the whether UNC images can be overwritten. |
static int |
N_DIMV
The maximum dimensionality of an image. |
static int |
N_HISTOGRAM
The number of entries in an image histogram |
| Constructor Summary | |
|---|---|
UNCImage(java.io.DataInputStream s,
boolean skipPixelData)
Creates an in-memory UNCImage, loading all information from the data input stream. |
|
UNCImage(java.io.File f,
java.lang.String mode)
Opens an existing disk-based UNC image. |
|
UNCImage(java.io.File f,
UNCPixFormat pixform,
int dimc,
int[] dimv)
Creates a disk-based UNCImage with the given type of pixel and dimensions. |
|
UNCImage(java.io.InputStream s)
Creates an in-memory UNCImage, loading information from an input stream. |
|
UNCImage(java.io.InputStream s,
boolean skipPixelData)
Creates an in-memory UNCImage, loading information from the input stream. |
|
UNCImage(java.lang.String filename,
java.lang.String mode)
Opens an existing disk-based UNC image. |
|
UNCImage(java.lang.String filename,
UNCPixFormat pixform,
int dimc,
int[] dimv)
Creates a disk-based UNCImage with the given type of pixel and dimensions. |
|
UNCImage(UNCPixFormat pixform,
int dimc,
int[] dimv)
Creates an in-memory UNCImage with the given type of pixel and dimensions. |
|
UNCImage(java.net.URL url)
Creates an in-memory UNCImage, loading all information from a URL. |
|
UNCImage(java.net.URL url,
boolean skipPixelData)
Creates an in-memory UNCImage, loading information from a URL. |
|
| Method Summary | |
|---|---|
void |
appendAuditInfo(java.lang.String name,
java.lang.String value)
Appends audit trail information to this image. |
void |
appendInfoList(InfoList list)
Appends an InfoList to the existing general file info of this image. |
void |
appendInfoList(InfoList list,
int dim,
int n)
Appends an InfoList to that existing for a specific dimension of this image. |
UNCImage |
clone()
Creates an in-memory copy of a UNCImage. |
void |
close()
Closes a UNCImage and frees up resources. |
void |
copyInfo(UNCImage toImage)
Copies all the info fields to another image. |
java.nio.ByteOrder |
getByteOrder()
Returns the byte order for this image. |
int |
getBytesPerPixel()
Returns the number of bytes per pixel for this image. |
static java.lang.String |
getCommonName()
Returns the common name for this type of image. |
java.lang.String |
getDescription()
Returns a String description of this image. |
java.lang.String |
getDescription(int slice)
Returns a description of a slice of this image. |
int |
getDimc()
Returns the dimensionality of this image. |
int[] |
getDims()
Returns the MultiSliceImage dimensions of this image. |
int[] |
getDimv()
Returns the dimensions of this image. |
float[] |
getDWBMatrix(int slice)
Returns the diffusion-weighting b-matrix for one slice of this image. |
float |
getDWbValue(int slice)
Returns the diffusion-weighting b-value for one slice of this image. |
javax.vecmath.Vector3f |
getDWGradientVector(int slice)
Returns the diffusion-weighting gradient-vector for one slice of this image. |
int |
getFileDataOffset()
Returns the byte offset into the disk-based file format where pixel data begins. |
float |
getFlipAngle()
Returns the excitation pulse flip angle for this image. |
java.lang.String |
getHTMLDescription()
Returns a String description of this image in HTML format. |
java.lang.String |
getHTMLDescription(int slice)
Returns a String description of a slice of this image in HTML format. |
javax.vecmath.Vector3f[] |
getImageOrientationPatient()
Returns the direction cosines of the row, column and slice directions (for increasing row, column and slice) of the image, in patient (L,P,S) coordinates. |
javax.vecmath.Vector3f[] |
getImageOrientationPatient(int slice)
Returns the direction cosines of the row, column and slice directions (for increasing row, column and slice) of the image, in patient coordinates. |
javax.vecmath.Point3f |
getImagePositionPatient()
Returns the coordinates of the center of the first pixel of the image, in mm, in patient coordinates. |
javax.vecmath.Point3f |
getImagePositionPatient(int slice)
Returns the coordinates of the center of the first pixel of the specified slice of this image, in mm, in patient coordinates. |
java.lang.String |
getInfo(java.lang.String name)
Returns a string representing the value of this information item in the general image information. |
java.lang.String |
getInfo(java.lang.String name,
int dim,
int n)
Returns a java.lang.String representing the value of this information item in a particular dimension of this image. |
InfoList |
getInfoList()
Returns an InfoList object which is the general info for this image. |
InfoList |
getInfoList(int dim,
int n)
Returns an InfoList object applying to a particular dimension/element for this image. |
MultiSliceImage |
getInstance(java.lang.Class cl,
int nSlices)
Creates a new in-memory MultiSliceImage with the MultiSliceImage class given by the argument, possibly changing the number of slices in the image. |
float[] |
getIntensityRescale()
Returns the values m and b in the relationship between pixel intensity (I) values and the output units specified in getRescaleUnits() in the expression: Output units = m*I + b. |
float[] |
getIntensityRescale(int slice)
Returns the values m and b in the relationship between pixel intensity (I) values and the output units specified in getRescaleUnits() in the expression: Output units = m*I + b for a particular slice. |
java.lang.Double |
getMax()
Returns the maximum pixel intensity in the image. |
java.lang.Double |
getMin()
Returns the minimum pixel intensity in the image. |
Modality |
getModality()
Returns the modality with which this image was acquired. |
ColourMapping |
getNativeColourMapping()
Returns a ColourMapping if this image has an associated colour mapping. |
int |
getNCols()
Returns the number of image columns in this image. |
int |
getNDim()
Returns the MultiSliceImage dimensionality of this image. |
int |
getNFrames()
Returns the number of frames in a multi-frame image. |
int |
getNRows()
Returns the number of image rows in this image. |
int |
getNSlices()
Returns the number of physical slice locations in this image. |
java.util.Date |
getPatientDoB()
Returns the patient date of birth for this image. |
java.lang.String |
getPatientID()
Returns the patient ID for this image. |
java.lang.String |
getPatientName()
Returns the patient name for this image. |
PatientPosition |
getPatientPosition()
Returns the position in which the patient is lying in the scanning equipment. |
PixelDataType |
getPixelDataType()
Returns a PixelDataType representing the data type of this image. |
float |
getPixelXSize()
Returns the pixel size in the x (horizontal) direction for this image. |
float |
getPixelYSize()
Returns the pixel size in the y (vertical) direction for this image. |
float |
getPixelZSize()
Returns the separation between the centres of image planes for this image. |
UNCPixFormat |
getPixformat()
Returns the pixel format (pixformat) of this image. |
static boolean |
getPreferredOverwrite()
Returns whether the user prefers to overwrite UNC images. |
static PreviewIcon |
getPreviewIcon(java.io.File f)
Returns the PreviewIcon for a UNC image, or null if the supplied File does not represent a UNC image. |
java.lang.String |
getPulseSequence()
Returns the name of the pulse sequence with which this image was collected. |
java.lang.String |
getRescaleUnits()
Specifies the output units of Intensity Rescale Slope and Intensity Rescale Intercept, retrieved by getIntensityRescale(). |
java.util.Date |
getScanDate()
Returns the scan Date for this image. |
PulseSequenceType |
getScanningSequence()
Returns the DICOM Scanning Sequence with which this image was collected. |
float |
getScanTE()
Returns the scan echo time for this image if it has a single echo-time. |
float |
getScanTE(int slice)
Returns the scan echo time for one slice of this image. |
float |
getScanTI()
Returns the scan inversion time for this image. |
float |
getScanTR()
Returns the scan repetition time for this image. |
PulseSequenceVariant |
getSequenceVariant()
Returns the DICOM Scanning Sequence Variant with which this image was collected. |
java.lang.String |
getSimpleName()
Returns the simple name for this type of image - the String that should be seen by the users to identify this type of image. |
java.lang.String |
getSliceInfo(java.lang.String name,
int slice)
Returns a java.lang.String representing the value of this information item in a particular slice of this image. |
InfoList |
getSliceInfoList(int slice)
Returns an InfoList object applying to a particular slice of this image. |
float |
getSliceThickness()
Returns the slice thickness (in mm). |
float |
getTimeBetweenFrames()
Returns the time between frames in a 4- or higher dimensional image. |
java.lang.String |
getTitle()
Returns the title of this image. |
int |
getTotalNSlices()
Returns the total number of slices in this image. |
static boolean |
imageExists(java.lang.String filename)
Tests whether a UNCImage with the given name already exists on disk. |
boolean |
isOpen()
Tests whether this image is still open. |
static boolean |
isUNCImage(java.io.File f)
Returns true if the File is a UNC Image File. |
static boolean |
isUNCImage(java.lang.String filename)
Returns true if the filename is the name of a UNC Image file. |
static boolean |
isUNCImage(java.net.URL url)
Returns true if the URL produces a UNCImage input stream. |
void |
putInfo(java.lang.String name,
float value)
Adds an item to the general file info. |
void |
putInfo(java.lang.String name,
float value,
int dim,
int n)
Adds an item to the dimension-specific information. |
void |
putInfo(java.lang.String name,
int value)
Adds an item to the general file info. |
void |
putInfo(java.lang.String name,
int value,
int dim,
int n)
Adds an item to the dimension-specific information. |
void |
putInfo(java.lang.String name,
java.lang.String value)
Adds an item to the general file info. |
void |
putInfo(java.lang.String name,
java.lang.String value,
int dim,
int n)
Adds an item to the dimension-specific information. |
java.lang.Object |
putPix(java.lang.Object pix,
int[] pixIdx)
Puts a single pixel value to the image. |
void |
putPix(java.lang.Object array,
int[] lowIdx,
int[] highIdx)
Put pixel values from a specified array to this image. |
void |
putSlice(java.lang.Object array,
int slice)
Puts the pixel values to one slice of an n-dimensional image, where n > 1. |
void |
putSliceInfo(InfoList infoList,
int slice)
Adds all the items in an InfoList to the slice-specific information. |
void |
putSliceInfo(java.lang.String name,
java.lang.String value,
int slice)
Adds an item to the slice-specific information. |
void |
removeInfo(java.lang.String name)
Removes an item from the general file information. |
void |
removeInfo(java.lang.String name,
int dim,
int n)
Removes an item from the dimension-specific information. |
static void |
savePreferredOverwrite(boolean b)
Saves whether the user prefers to overwrite UNC images. |
void |
setDWBMatrix(float[] bMatrix,
int slice)
Sets the diffusion-weighting B-matrix for one slice of this image. |
void |
setDWbValue(float bValue,
int slice)
Sets the diffusion-weighting b-value for one slice of this image. |
void |
setDWGradientVector(javax.vecmath.Vector3f gradVec,
int slice)
Sets the diffusion-weighting gradient vector for one slice of this image. |
void |
setFlipAngle(float flipAngle)
Sets the excitation pulse flip angle for this image. |
void |
setImageOrientationPatient(javax.vecmath.Vector3f[] dirCos,
int slice)
Sets the direction cosines of the row, column and slice directions (for increasing row, column and slice) of the image, in patient (LPS) coordinates. |
void |
setImageOrientationPositionPatient(javax.vecmath.Vector3f[] dirCos,
javax.vecmath.Point3f position,
boolean force)
Sets the direction cosines of the row, column and slice directions of the image, the coordinates of the center of the first pixel of the image, in patient (LPS) coordinates. |
void |
setImagePositionPatient(javax.vecmath.Point3f position,
int slice)
Sets the coordinates of the center of the first pixel of the image, in mm, in patient (LPS) coordinates, for one slice of this image. |
void |
setInfoList(InfoList list)
Sets a new InfoList to the general file info of this image. |
void |
setInfoList(InfoList list,
int dim,
int n)
Sets a new InfoList a specific dimension of this image. |
void |
setIntensityRescale(float[] rescale)
Sets the values m and b in the relationship between pixel intensity (I) values and the output units specified in setRescaleUnits() in the expression: Output units = m*I + b. |
void |
setIntensityRescale(float[] rescale,
int slice)
Sets the values m and b in the relationship between pixel intensity (I) values and the output units specified in setRescaleUnits() in the expression: Output units = m*I + b, for a particular slice. |
void |
setMinMax(int min,
int max)
Sets the min and max pixel intensity fields for this UNCImage. |
void |
setModality(Modality modality)
Sets the modality with which this image was acquired. |
void |
setNativeColourMapping(ColourMapping colourMapping)
Sets the ColourMapping for this image. |
void |
setPatientDoB(java.util.Date patientDoB)
Sets the patient's date of birth for this image. |
void |
setPatientID(java.lang.String patientID)
Sets the patient ID for this image. |
void |
setPatientName(java.lang.String patientName)
Attempts to set the patient name for this image. |
void |
setPatientPosition(PatientPosition position)
Sets the position in which the patient is lying in the scanning equipment for this MultiSliceImage. |
void |
setPixelSpacing(float[] spacing)
Sets the distance (in mm) between pixel centres in the row, column and slice directions of the image. |
void |
setPixelXSize(float width)
Sets the pixel size in the x (horizontal) direction for this image. |
void |
setPixelYSize(float height)
Sets the pixel size in the y (vertical) direction for this image. |
void |
setPixelZSize(float thickness)
Sets the pixel size in the z (slice) direction for this image. |
void |
setPulseSequence(java.lang.String seqName)
Sets the pulse sequence name for this image. |
void |
setRescaleUnits(java.lang.String unitsString)
Sets the output units of Intensity Rescale Slope and Intensity Rescale Intercept, retrieved by getIntensityRescale(). |
void |
setScanDate(java.util.Date scanDate)
Sets the scan date/time for this image. |
void |
setScanningSequence(PulseSequenceType seq)
Sets the DICOM scanning sequence for this image. |
void |
setScanTE(float TE)
Sets the scan echo time for this image, for single-echo-time images. |
void |
setScanTE(float TE,
int slice)
Sets the scan echo time for one slice of this image. |
void |
setScanTI(float TI)
Sets the scan inversion time for this image. |
void |
setScanTR(float TR)
Sets the scan repetition time for this image. |
void |
setSequenceVariant(PulseSequenceVariant seqVar)
Sets the DICOM scanning sequence variant for this image. |
void |
setSliceInfoList(InfoList list,
int slice)
Sets a new InfoList a specific slice of this image. |
void |
setSliceThickness(float thickness)
Sets the slice thickness (in mm). |
void |
setTimeBetweenFrames(float deltaT)
Sets the time between frames in a 4- or higher dimensional image. |
void |
setTitle(java.lang.String newTitle)
Sets the title of this image. |
java.lang.String |
toHTML()
Returns an HTML string describing this image. |
java.lang.String |
toString()
Returns a string describing this image. |
void |
write(java.io.DataOutputStream s)
Writes this UNCImage to a DataOutputStream. |
java.lang.String |
write(java.lang.String filename)
Writes this image to a disk-file given by the name. |
MultiSliceImage |
write(java.lang.String filename,
java.lang.Class cl)
Writes this image to a disk-file given by the filename, in one of the MultiSliceImage sub-class image formats. |
| Methods inherited from class com.xinapse.multisliceimage.MultiSliceImage |
|---|
autoResample, checkMinMax, crop, deleteImage, exists, export, export, export, getClasses, getDateFormat, getFrameOfReferenceUID, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getMostLikePlane, getNPixels, getPix, getPix, getPix, getPix, getPix, getPreferredImageClass, getPreview, getROIs, getScanDateFormat, getSlice, getSlice, getSliceDim, getSuggestedFileName, isImage, isModified, main, pad, parseMultiValuedString, putPix, putPix, reorient, reorientRadiological, reSample, reSample, savePreferredImageClass, set3DBlockParameters, setMinMax, setModified, setOrientationPositionRadiological, setSuggestedFileName, toBufferedImage |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final boolean DEFAULT_OVERWRITE
public static final int N_DIMV
public static final int N_HISTOGRAM
| Constructor Detail |
|---|
public UNCImage(java.lang.String filename,
UNCPixFormat pixform,
int dimc,
int[] dimv)
throws MultiSliceImageException,
java.io.IOException
filename - the name of the file to be created.pixform - the type of image to be created (e.g. UNCPixFormat.GREY).dimc - the dimensionality of the image.dimv - an array of length at least dimc containing the number of picture elements in
each dimension. For example, in a 3-dimensional image, dimv[0] is the
number of slices, dimv[1] the number of rows, and dimv[2] the number of columns.
MultiSliceImageException - if the image cannot be created.
java.io.IOException - if an I/O error occurs.
public UNCImage(java.io.File f,
UNCPixFormat pixform,
int dimc,
int[] dimv)
throws MultiSliceImageException,
java.io.IOException
f - is File Object representing the path of the file to be created.pixform - the type of image to be created (e.g. UNCPixFormat.GREY).dimc - the dimensionality of the image.dimv - an array of length at least dimc containing the number of picture elements in
each dimension. For example, in a 3-dimensional image, dimv[0] is the
number of slices, dimv[1] the number of rows, and dimv[2] the number of
columns.
MultiSliceImageException - if the image cannot be created.
java.io.IOException - if an I/O error occurs.
public UNCImage(UNCPixFormat pixform,
int dimc,
int[] dimv)
throws MultiSliceImageException
pixform - the type of image to be created (e.g. UNCPixFormat.GREY).dimc - the dimensionality of the image.dimv - an array of length at least dimc containing the number of picture elements in
each dimension. For example, in a 3-dimensional image, dimv[0] is the
number of slices, dimv[1] the number of rows, and dimv[2] the number of
columns.
MultiSliceImageException - if the image cannot be created.
public UNCImage(java.net.URL url)
throws MultiSliceImageException,
UNCException,
java.io.IOException
url - the URL that will give a UNC image data stream.
MultiSliceImageException - if the image cannot be loaded.
UNCException - if the image cannot be loaded for UNC-specific reasons.
java.io.IOException - if an I/O error occurs while loading the image.
public UNCImage(java.net.URL url,
boolean skipPixelData)
throws MultiSliceImageException,
UNCException,
java.io.IOException
url - the URL that will give a UNC image data stream.skipPixelData - if true then pixel data is not loaded and cannot later
be accessed.
MultiSliceImageException - if the image cannot be loaded.
UNCException - if the image cannot be loaded for UNC-specific reasons.
java.io.IOException - if an I/O error occurs while loading the image.
public UNCImage(java.lang.String filename,
java.lang.String mode)
throws MultiSliceImageException,
java.io.IOException,
java.io.FileNotFoundException
filename - the name of the image file.mode - the open mode. Can be either "r" (read-only) or "rw"
(read-write).
MultiSliceImageException - if the mode is invalid or the image cannot be read.
java.io.FileNotFoundException - if the image file doesn't exist.
java.io.IOException - if an I/O error occurs.
public UNCImage(java.io.File f,
java.lang.String mode)
throws MultiSliceImageException,
java.io.IOException,
java.io.FileNotFoundException
f - a File object representing the path to this image file.mode - the open mode. Can be either "r" (read-only) or "rw"
(read-write).
MultiSliceImageException - if the mode is invalid or the image cannot be read.
java.io.FileNotFoundException - if the image file doesn't exist.
java.io.IOException - if an I/O error occurs.
public UNCImage(java.io.InputStream s)
throws MultiSliceImageException
s - the InputStream.
UNCException - if the image cannot be loaded for UNC-specific reasons.
MultiSliceImageException - if the image cannot be loaded.
public UNCImage(java.io.InputStream s,
boolean skipPixelData)
throws MultiSliceImageException
s - the InputStream.skipPixelData - if true then pixel data is not loaded and cannot
later be accessed.
MultiSliceImageException - if the image cannot be loaded.
public UNCImage(java.io.DataInputStream s,
boolean skipPixelData)
throws MultiSliceImageException
s - the DataInputStream.skipPixelData - if true then pixel data is not loaded and cannot later be
accessed.
MultiSliceImageException - if the image cannot be loaded.| Method Detail |
|---|
public java.nio.ByteOrder getByteOrder()
MultiSliceImage
getByteOrder in class MultiSliceImagepublic static boolean isUNCImage(java.net.URL url)
url - the URL to be tested
public static PreviewIcon getPreviewIcon(java.io.File f)
f - the File to be tested.
public static boolean imageExists(java.lang.String filename)
filename - the name of the image file to test for existence.
public static boolean isUNCImage(java.lang.String filename)
filename - the name of a file to be tested.
public static boolean isUNCImage(java.io.File f)
f - the File to be tested.
public void close()
throws MultiSliceImageException
close in interface LoadableImageMultiSliceImageException - if the file cannot be written or closed.public boolean isOpen()
LoadableImage
isOpen in interface LoadableImage
public java.lang.String write(java.lang.String filename)
throws MultiSliceImageException
MultiSliceImage
write in class MultiSliceImagefilename - the file name.
MultiSliceImageException - if the image cannot be written.public static boolean getPreferredOverwrite()
public static void savePreferredOverwrite(boolean b)
b - true if the user prefers to overwrite existsing UNC images;
false if UNC are not to be overwritten.
public MultiSliceImage write(java.lang.String filename,
java.lang.Class cl)
throws java.io.IOException,
MultiSliceImageException
MultiSliceImage
write in class MultiSliceImagefilename - the file name. If filename is null, then an in-memory MultiSliceImage
will be returned.cl - the class of image to be written (e.g. com.xinapse.multisliceimage.UNC.UNCImage).
java.io.IOException - if an I/O error occurs.
MultiSliceImageException - if the image cannot be written.
public MultiSliceImage getInstance(java.lang.Class cl,
int nSlices)
throws MultiSliceImageException,
java.io.IOException
MultiSliceImage
getInstance in class MultiSliceImagecl - the class of image to be written (e.g.
com.xinapse.multisliceimage.UNC.UNCImage.class).nSlices - the number of slices in the image that is to be written.
MultiSliceImageException - if the image cannot be written.
java.io.IOException - if an I/O error occurs.
public void write(java.io.DataOutputStream s)
throws MultiSliceImageException
s - the DataOutputStream.
MultiSliceImageException - if the image cannot be written.public int getBytesPerPixel()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toHTML()
public void setMinMax(int min,
int max)
throws MultiSliceImageException
setMinMax in class MultiSliceImagemin - the minimum pixel value in the image.max - the maximum pixel value in the image.
MultiSliceImageException - if the image is read-only or if the supplied values are
unsuitable for this image.public int getDimc()
public int getNDim()
getNDim in interface LoadableImage
public int[] getDimv()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if there is something strange about the dimensionality
of this image.
public int[] getDims()
throws java.lang.IllegalStateException
getDims in class MultiSliceImagejava.lang.IllegalStateException - if there is something strange about the
dimensionality of this image.public UNCPixFormat getPixformat()
UNCPixFormat.GREY - a 16-bit short int image.
UNCPixFormat.BYTE - an 8-bit image.
UNCPixFormat.SHORT - also a 16-bit short int image.
UNCPixFormat.LONG - a 64-bit int image.
UNCPixFormat.REAL - a floating point image (32-bit).
UNCPixFormat.COMPLEX - real / imag pixel pairs in floating point format.
UNCPixFormat.DOUBLE - a double precision image (64-bit).
UNCPixFormat.COLOR - a 16-bit colour image.
UNCPixFormat.COLORPACKED - 4 times 8-bit image (r,g,b,alpha).
UNCPixFormat.USERPACKED - a 32-bit integer image.
public PixelDataType getPixelDataType()
LoadableImage
getPixelDataType in interface LoadableImagepublic int getFileDataOffset()
getFileDataOffset in class MultiSliceImagepublic java.lang.String getTitle()
getTitle in interface LoadableImagepublic void setTitle(java.lang.String newTitle)
setTitle in class MultiSliceImagenewTitle - the new title to be assigned to this image.
public void putPix(java.lang.Object array,
int[] lowIdx,
int[] highIdx)
throws InvalidImageException
MultiSliceImage
putPix in class MultiSliceImagearray - a 1-dimensional array of pixel values of the correct java primitive
data type to put to the image.lowIdx - an array of int specifying the low index of pixel values to put.highIdx - an array of int specifying the high index of pixel values to put.
InvalidImageException - if the indices supplied extend beyond the image,
the pixel values are of the wrong primitive data type or cannot be put for other reasons.
public java.lang.Object putPix(java.lang.Object pix,
int[] pixIdx)
throws InvalidImageException
MultiSliceImage
putPix in class MultiSliceImagepix - the pixel value to put, as a suitable Object.pixIdx - an int[] of length at least equal to nDim
for this image where each element corresponds to an index to the
pixel in each dimension. The first element of pixIdx refers to the slowest-varying
dimension, and the last relevant element refers to the fastest-varuing dimension.
For example, for a 3-D image, pixIdx[0] refers to the slice dimension, and
pixIdx[2] refers to the column dimension.
InvalidImageException - if the indices are inappropriate for this image,
if the supplied pixel is of the wrong Class,
or if the pixel value cannot be written to the image.
public void putSlice(java.lang.Object array,
int slice)
throws InvalidImageException
MultiSliceImageN.B.Whenever the radiological orientation of the image can be determined, this method sets pixel values such that when the slice is viewed on-screen, the first pixel in the array belongs at the top left of the screen, and the last pixel in the array belongs at the bottom right of the screen. This is regardless of the sub-class of image (for example., the flipping of Analyze images is taken care of by this method).
putSlice in class MultiSliceImagearray - a 1-dimensional array of the correct primitive java
data type for this image, with dimensions [nRows * nCols]
containing the pixel values to put.slice - the slice number. Must be 0 for a 2-dimensional
image or from 0 to dims[0]-1 for a 3-dimensional image.
InvalidImageException - if the image does not have the right dimensionality,
if the slice number is inappropriate for this image,
if the array is not of the correct primitive data type for this image,
or if there is a problem accessing the pixel values.
public java.lang.String getInfo(java.lang.String name)
throws InfoNotFoundException
InfoStorerFor example, if there is a item with a name "pixel_x_size" and a value "0.91162" in the general info, and name "pixel_x_size" is supplied, then this method will return "0.91162".
getInfo in interface InfoStorername - the name of this information field.
InfoNotFoundException - if the name is not found in the general info.
public void putInfo(java.lang.String name,
int value)
throws java.io.IOException
InfoStorer
putInfo in interface InfoStorername - the name of the information field to put.value - an integer value to be associated with this name in the general file
information.
java.io.IOException - if the information cannot be added.
public void putInfo(java.lang.String name,
float value)
throws java.io.IOException
InfoStorer
putInfo in interface InfoStorername - the name of the information to put.value - a floating point value to be associated with this name in the general file
information.
java.io.IOException - if the information cannot be addded.
public void putInfo(java.lang.String name,
java.lang.String value)
throws java.io.IOException
InfoStorer
putInfo in interface InfoStorername - the name of the information to put.value - a java.lang.String to be associated with this name in the general file
information.
java.io.IOException - if the information cannot be addded.
public java.lang.String getInfo(java.lang.String name,
int dim,
int n)
throws InfoNotFoundException
InfoStorer
getInfo in interface InfoStorername - the name of this information item.dim - the dimension of this image to look for the information. For example in a
3-dimensional image you would look in dimension 0 for slice-specific info.n - the element to look in. For example in a
3-dimensional image you would look in slice n to info that applied only to slice
n.
InfoNotFoundException - if the name is not found in this dimension/element info.
public java.lang.String getSliceInfo(java.lang.String name,
int slice)
throws InfoNotFoundException
InfoStorerThe slice number is referenced from 0 to (total number of slice - 1) regardless of the number of samples in the "slice" dimension of the image.
getSliceInfo in interface InfoStorername - the name of this information item.slice - the slice number.
InfoNotFoundException - if the name is not found for the specified slice.
public void putInfo(java.lang.String name,
int value,
int dim,
int n)
throws java.io.IOException
InfoStorer
putInfo in interface InfoStorername - the name of the information item to put.value - an integer value to be associated with this name in the general file
information.dim - the dimension of this image to put the information item. For example in a
3-dimensional image you would put to dimension 0 for slice-specific info.n - the element to put to. For example in a
3-dimensional image you would put to slice n to info that applied only to slice
n.
java.io.IOException - if the information cannot be addded.
public void putInfo(java.lang.String name,
float value,
int dim,
int n)
throws java.io.IOException
InfoStorer
putInfo in interface InfoStorername - the name of the information item to put.value - an floating-point value to be associated with this name in the dimension-specific
information.dim - the dimension of this image to put the information. For example in a
3-dimensional image you would put to dimension 0 for slice-specific info.n - the element to put to. For example in a
3-dimensional image you would put to slice n to info that applied only to slice
n.
java.io.IOException - if the information cannot be addded.
public void putInfo(java.lang.String name,
java.lang.String value,
int dim,
int n)
throws java.io.IOException
InfoStorer
putInfo in interface InfoStorername - the name of the information item to put.value - a String value to be associated with this name in the dimension-specific
information.dim - the dimension of this image to put the information. For example in a
3-dimensional image you would put to dimension 0 for slice-specific info.n - the element to put to. For example in a
3-dimensional image you would put to slice n to info that applied only to slice
n.
java.io.IOException - if the information cannot be addded.
public void putSliceInfo(InfoList infoList,
int slice)
throws java.io.IOException
InfoStorer
The slice number is referenced from 0 to (total number of slice - 1) regardless of the
number of samples in the "slice" dimension of the image.
N.B. For disk-based images, the changes in the info will not be
reflected on disk unless the close() method is called.
putSliceInfo in interface InfoStorerinfoList - the list of InfoItems to put.slice - the slice number.
java.io.IOException - if the information cannot be added.
public void putSliceInfo(java.lang.String name,
java.lang.String value,
int slice)
throws java.io.IOException
InfoStorer
The slice number is referenced from 0 to (total number of slice - 1) regardless of the
number of samples in the "slice" dimension of the image.
N.B. For disk-based images, the changes in the info will not be
reflected on disk unless the close() method is called.
putSliceInfo in interface InfoStorername - the name of the information item to put.value - a String to be associated with this name in the slice-specific info.slice - the slice number.
java.io.IOException - if the information cannot be added.
public void removeInfo(java.lang.String name)
throws java.io.IOException
InfoStorer
removeInfo in interface InfoStorername - the name of the information item to be removed.
java.io.IOException - if the information cannot be removed.
public void removeInfo(java.lang.String name,
int dim,
int n)
throws java.io.IOException
InfoStorer
removeInfo in interface InfoStorername - the name of the information item to put.dim - the dimension of this image to from which to remove the information.
For example in a 3-dimensional image you would put to dimension 0 for slice-specific info.n - the element to from which to remove the info item. For example in a
3-dimensional image you would put to slice n to info that applied only to slice
n.
java.io.IOException - if the information cannot be removed.
public void copyInfo(UNCImage toImage)
throws MultiSliceImageException
toImage - the UNCImage to which info will be copied.
MultiSliceImageException - if the image is read-only.public InfoList getInfoList()
InfoStorer
getInfoList in interface InfoStorer
public InfoList getInfoList(int dim,
int n)
throws java.lang.IndexOutOfBoundsException
InfoStorer
getInfoList in interface InfoStorerdim - the dimension for which to get the information list.n - the element for which to get the information list.
java.lang.IndexOutOfBoundsException - if the dimensions supplied do not match this image.
public InfoList getSliceInfoList(int slice)
throws java.lang.IndexOutOfBoundsException
InfoStorer
getSliceInfoList in interface InfoStorerslice - the slice number.
java.lang.IndexOutOfBoundsException - if the slice supplied does not match this image.
public void setInfoList(InfoList list)
throws java.io.IOException
InfoStorer
setInfoList in interface InfoStorerlist - the InfoList object to set to the general file info for this image.
java.io.IOException - if the InfoList cannot be set.
public void setInfoList(InfoList list,
int dim,
int n)
throws java.io.IOException
InfoStorer
setInfoList in interface InfoStorerlist - the InfoList to associate with this image/dimension.dim - the dimension to which to set the information list.n - the element to which to set the information list.
java.io.IOException - if the InfoList cannot be set.
public void setSliceInfoList(InfoList list,
int slice)
throws java.io.IOException
InfoStorer
setSliceInfoList in interface InfoStorerlist - the InfoList to associate with this image/slice.slice - the slice for which to set the information list.
java.io.IOException - if the InfoList cannot be set.
public void appendInfoList(InfoList list)
throws java.io.IOException
InfoStorer
appendInfoList in interface InfoStorerlist - the InfoList object to append to the general file info for this image.
java.io.IOException - if the InfoList cannot be appended.
public void appendInfoList(InfoList list,
int dim,
int n)
throws MultiSliceImageException
InfoStorer
appendInfoList in interface InfoStorerlist - the InfoList to append.dim - the dimension to which to append the information list.n - the element to which to append the information list.
MultiSliceImageExceptionpublic int getTotalNSlices()
LoadableImage
getTotalNSlices in interface LoadableImagepublic int getNCols()
LoadableImage
getNCols in interface LoadableImagepublic int getNRows()
LoadableImage
getNRows in interface LoadableImagepublic int getNSlices()
LoadableImage
getNSlices in interface LoadableImagepublic int getNFrames()
LoadableImage
getNFrames in interface LoadableImage
public float getPixelXSize()
throws ParameterNotSetException
LoadableImage
getPixelXSize in interface LoadableImageParameterNotSetException - if the pixel size can't be found.
public float getPixelYSize()
throws ParameterNotSetException
LoadableImage
getPixelYSize in interface LoadableImageParameterNotSetException - if the pixel size can't be found.
public float getPixelZSize()
throws ParameterNotSetException
LoadableImage
getPixelZSize in interface LoadableImageParameterNotSetException - if the pixel size can't be found.
public float getTimeBetweenFrames()
throws ParameterNotSetException
LoadableImage
getTimeBetweenFrames in interface LoadableImageParameterNotSetException - if the time between frames is not set, or if this
image doesn't have a dimensionality of at least 4.
public void setPixelXSize(float width)
throws java.io.IOException
MultiSliceImage
setPixelXSize in class MultiSliceImagewidth - the width of a pixel.
java.io.IOException - if and I/O error occurs.
public void setPixelYSize(float height)
throws java.io.IOException
MultiSliceImage
setPixelYSize in class MultiSliceImageheight - the height of a pixel.
java.io.IOException - if an I/O error occurs.
public void setPixelZSize(float thickness)
throws java.io.IOException
MultiSliceImage
setPixelZSize in class MultiSliceImagethickness - the thickness of a pixel.
java.io.IOException - if an I/O error occurs.
public void setTimeBetweenFrames(float deltaT)
throws java.io.IOException
MultiSliceImage
setTimeBetweenFrames in class MultiSliceImagedeltaT - the time between frames (in seconds).
java.io.IOException - if an I/O error occurs.public javax.vecmath.Point3f getImagePositionPatient()
LoadableImage
getImagePositionPatient in interface LoadableImagepublic javax.vecmath.Point3f getImagePositionPatient(int slice)
LoadableImage
getImagePositionPatient in interface LoadableImage
public void setImagePositionPatient(javax.vecmath.Point3f position,
int slice)
MultiSliceImage
setImagePositionPatient in class MultiSliceImageposition - the Left,Posterior,Superior (LPS) coordinates of the first pixel of
this specified slice in the image data matrix.slice - the slice for which to set the position.public javax.vecmath.Vector3f[] getImageOrientationPatient()
LoadableImage
getImageOrientationPatient in interface LoadableImagepublic javax.vecmath.Vector3f[] getImageOrientationPatient(int slice)
LoadableImage
getImageOrientationPatient in interface LoadableImageslice - the slice for which to return the image orientation.
public void setImageOrientationPositionPatient(javax.vecmath.Vector3f[] dirCos,
javax.vecmath.Point3f position,
boolean force)
MultiSliceImageN.B. the actual position and orientation set by this method may not be those specified. For example, for NIFTI-1 images, the actual orientation and position may depend on the user Preferences for whether to put pixel values in an order that is compatible with SPM. After using this method, you should use the getImageOrientationPatient() and getImagePositionPatient() methods to obtain the real orientation and positions set.
If the orientation or position cannot be set for this image, this method does not report an error.
setImageOrientationPositionPatient in class MultiSliceImagedirCos - the direction cosines of the image row, column and (optionally)
slice directions respectively in Left,Posterior,Superior (LPS) coordinates.
If dirCos is null, this method will attempt to clear any orientation information, if
that is supported by the image format.position - the Left,Posterior,Superior (LPS) coordinates of the centre of the
first pixel in the image data matrix. If position is null, this method will
attempt to clear any positional information, if that is supported by the image format.force - if true, this method will force the orientation and
position to be set as requested, regardless of the user Preferences. This can
be useful if you read the orientation from an existing image, and you want to set the
orientation exactly the same in a new image.
public void setImageOrientationPatient(javax.vecmath.Vector3f[] dirCos,
int slice)
throws java.lang.IndexOutOfBoundsException
MultiSliceImageIf the orientation cannot be set for this image, this method does nothing.
setImageOrientationPatient in class MultiSliceImagedirCos - the direction cosines of the image row, column and (optionally)
slice directions respectively in Left,Posterior,Superior (LPS) coordinates.slice - the slice for which to set the orientation.
java.lang.IndexOutOfBoundsException - if the cosines array does not have the
correct dimensions.
public void setPixelSpacing(float[] spacing)
throws java.io.IOException
MultiSliceImage
setPixelSpacing in class MultiSliceImagespacing - a float[] of length 3, corresponding to the distance between pixel centres
in the row, column and slice directions respectively. If this is a single-slice image,
then spacing may (otionally) have length 2 to indicate the in-plane distance between
pixel centres.
java.io.IOException - if the pixel spacing cannot be set for this image.
public float getSliceThickness()
throws ParameterNotSetException
LoadableImage
getSliceThickness in interface LoadableImageParameterNotSetException - if the slice thickness is not set, or its value is corrupt.
public void setSliceThickness(float thickness)
throws java.io.IOException
MultiSliceImage
setSliceThickness in class MultiSliceImagethickness - the slice thickness in mm.
java.io.IOException - if the slice thickness cannot be set for this image, or
if the slice thickness is negative.public PatientPosition getPatientPosition()
LoadableImage
getPatientPosition in interface LoadableImagepublic void setPatientPosition(PatientPosition position)
MultiSliceImage
setPatientPosition in class MultiSliceImageposition - the position in which the patient is lying in the scanning equipment.
e.g. PatientPosition.HFS (head-first supine).
public float[] getIntensityRescale()
throws ParameterNotSetException
LoadableImage
getIntensityRescale in interface LoadableImageParameterNotSetException - if a single rescaling has not been set for
the whole image.
public void setIntensityRescale(float[] rescale)
throws java.io.IOException
MultiSliceImage
setIntensityRescale in class MultiSliceImagerescale - a float[] of length 2 where the first element is m
and the second is b.
java.io.IOException - if an I/O error occurs.
public float[] getIntensityRescale(int slice)
throws ParameterNotSetException,
java.lang.IndexOutOfBoundsException
LoadableImage
getIntensityRescale in interface LoadableImageslice - a slice number for which to retrieve the rescaling values.
ParameterNotSetException - if a single rescaling has not been set for
the image slice.
java.lang.IndexOutOfBoundsException - the slice number is bad for this image.
public void setIntensityRescale(float[] rescale,
int slice)
throws java.io.IOException
MultiSliceImage
setIntensityRescale in class MultiSliceImagerescale - a float[] of length 2 where the first element is m
and the second is b.slice - a slice number for which to set the rescaling values.
java.io.IOException - if an I/O error occurs.public java.lang.String getRescaleUnits()
LoadableImage
getRescaleUnits in interface LoadableImage
public void setRescaleUnits(java.lang.String unitsString)
throws java.io.IOException
MultiSliceImage
setRescaleUnits in class MultiSliceImageunitsString - a String describing the physical meaning of the pixel intensity units.
If the unitsString is null, future calls to getRescaleUnits() will return the
String "arbitrary units".
java.io.IOException - if the rescaling units cannot be set for this image.
public void appendAuditInfo(java.lang.String name,
java.lang.String value)
LoadableImage
appendAuditInfo in interface LoadableImagename - a String describing the name of the action that was performed on this image.value - a String describing the value of the action that was performed on this image.
public void setPatientName(java.lang.String patientName)
throws java.io.IOException
MultiSliceImage
setPatientName in class MultiSliceImagepatientName - the new patient name to be assigned to this image.
java.io.IOException - if the patient name cannot be set.
public void setPatientID(java.lang.String patientID)
throws java.io.IOException
MultiSliceImage
setPatientID in class MultiSliceImagepatientID - the new patient ID to be assigned to this image.
java.io.IOException - if the patient ID cannot be set.
public void setPatientDoB(java.util.Date patientDoB)
throws java.io.IOException
MultiSliceImage
setPatientDoB in class MultiSliceImagepatientDoB - the new patient date of birth to be assigned to this image.
java.io.IOException - if the patient date of birth cannot be set.
public void setScanDate(java.util.Date scanDate)
throws java.io.IOException
MultiSliceImage
setScanDate in class MultiSliceImagescanDate - the new scan date/time to be assigned to this image.
java.io.IOException - if the scan date cannot be set.
public void setPulseSequence(java.lang.String seqName)
throws java.io.IOException
MultiSliceImage
setPulseSequence in class MultiSliceImageseqName - the new name of the pulse sequence to be assigned to this image.
java.io.IOException - if the pulse sequence name cannot be set.
public void setScanningSequence(PulseSequenceType seq)
throws java.io.IOException
MultiSliceImage
setScanningSequence in class MultiSliceImageseq - the new scanning sequence to be assigned to this image.
java.io.IOException - if the scanning sequence cannot be set.
public void setSequenceVariant(PulseSequenceVariant seqVar)
throws java.io.IOException
MultiSliceImage
setSequenceVariant in class MultiSliceImageseqVar - the new scanning sequence variant to be assigned to this image.
java.io.IOException - if the scanning sequence variant cannot be set.
public void setModality(Modality modality)
throws java.io.IOException
MultiSliceImage
setModality in class MultiSliceImagemodality - the new imaging modality to be assigned to this image.
java.io.IOException - if modality cannot be set.public Modality getModality()
MultiSliceImage
getModality in interface LoadableImagegetModality in class MultiSliceImage
public void setScanTR(float TR)
throws java.io.IOException
MultiSliceImage
setScanTR in class MultiSliceImageTR - the new scan TR to be assigned to this image.
java.io.IOException - if the scan TR cannot be set.
public void setScanTI(float TI)
throws java.io.IOException
MultiSliceImage
setScanTI in class MultiSliceImageTI - the new scan TI to be assigned to this image.
java.io.IOException - if the scan TI cannot be set.
public void setScanTE(float TE)
throws java.io.IOException
MultiSliceImage
setScanTE in class MultiSliceImageTE - the new scan TE to be assigned to this image.
java.io.IOException - if the scan TE cannot be set.
public void setScanTE(float TE,
int slice)
throws java.io.IOException
MultiSliceImage
setScanTE in class MultiSliceImageTE - the new scan TE to be assigned to this image.slice - the slice number for which to set the echo time.
java.io.IOException - if the scan TE cannot be set.
public void setFlipAngle(float flipAngle)
throws java.io.IOException
MultiSliceImage
setFlipAngle in class MultiSliceImageflipAngle - the new scan flip angle to be assigned to this image.
java.io.IOException - if the scan flip angle cannot be set.public java.lang.String getPatientName()
LoadableImage
getPatientName in interface LoadableImagepublic java.lang.String getPatientID()
LoadableImage
getPatientID in interface LoadableImagepublic java.util.Date getPatientDoB()
LoadableImage
getPatientDoB in interface LoadableImagepublic java.util.Date getScanDate()
LoadableImage
getScanDate in interface LoadableImage
public java.lang.String getPulseSequence()
throws ParameterNotSetException
LoadableImage
getPulseSequence in interface LoadableImageParameterNotSetException
public PulseSequenceType getScanningSequence()
throws ParameterNotSetException
LoadableImage
getScanningSequence in interface LoadableImageParameterNotSetException
public PulseSequenceVariant getSequenceVariant()
throws ParameterNotSetException
LoadableImage
getSequenceVariant in interface LoadableImageParameterNotSetException
public float getScanTR()
throws ParameterNotSetException
LoadableImage
getScanTR in interface LoadableImageParameterNotSetException - if the TR is not set.
public float getScanTI()
throws ParameterNotSetException
LoadableImage
getScanTI in interface LoadableImageParameterNotSetException - if the TI is not set.
public float getScanTE()
throws ParameterNotSetException
LoadableImage
getScanTE in interface LoadableImageParameterNotSetException - if the TE is not set.
public float getScanTE(int slice)
throws ParameterNotSetException,
java.lang.IndexOutOfBoundsException
LoadableImage
getScanTE in interface LoadableImageslice - the slice number for which to return the echo time.
ParameterNotSetException - if the TE is not set.
java.lang.IndexOutOfBoundsException - if the slice number is bad for this image.
public float getFlipAngle()
throws ParameterNotSetException
LoadableImage
getFlipAngle in interface LoadableImageParameterNotSetException - if the flip angle is not set.
public float getDWbValue(int slice)
throws ParameterNotSetException,
java.lang.IndexOutOfBoundsException
LoadableImage
getDWbValue in interface LoadableImageslice - the slice number for which to return the b-value.
ParameterNotSetException - if the b-value is not set.
java.lang.IndexOutOfBoundsException - if the slice number is bad for this image.
public void setDWbValue(float bValue,
int slice)
throws java.io.IOException
MultiSliceImage
setDWbValue in class MultiSliceImagebValue - the new b-value to be assigned to this image.slice - the slice number for which to set the b-value.
java.io.IOException - if the scan b-value cannot be set.
public javax.vecmath.Vector3f getDWGradientVector(int slice)
throws ParameterNotSetException,
java.lang.IndexOutOfBoundsException
LoadableImage
getDWGradientVector in interface LoadableImageslice - the slice number for which to return the gradient-vector.
ParameterNotSetException - if the gradient-vector is not set.
java.lang.IndexOutOfBoundsException - if the slice number is bad for this image.
public void setDWGradientVector(javax.vecmath.Vector3f gradVec,
int slice)
throws java.io.IOException
MultiSliceImage
setDWGradientVector in class MultiSliceImagegradVec - the new gradient vector to be assigned to this image.slice - the slice number for which to set the gradient vector.
java.io.IOException - if the scan gradient vector cannot be set.
public float[] getDWBMatrix(int slice)
throws ParameterNotSetException,
java.lang.IndexOutOfBoundsException
LoadableImage
getDWBMatrix in interface LoadableImageslice - the slice number for which to get the b-matrix.
ParameterNotSetException - if the b-matrix cannot be found, or if the
modality used to collect the image doesn't have a b-matrix defined.
java.lang.IndexOutOfBoundsException
public void setDWBMatrix(float[] bMatrix,
int slice)
throws java.io.IOException
MultiSliceImage
setDWBMatrix in class MultiSliceImagebMatrix - the new B-matrix to be assigned to this image.slice - the slice number for which to set the B-matrix.
java.io.IOException - if the scan B-matrix cannot be set.public java.lang.String getDescription()
LoadableImage
getDescription in interface LoadableImage
public java.lang.String getDescription(int slice)
throws java.lang.IndexOutOfBoundsException
LoadableImage
getDescription in interface LoadableImageslice - the slice number.
o
java.lang.IndexOutOfBoundsException - if the slice number is bad for this image.public java.lang.String getHTMLDescription()
LoadableImage
getHTMLDescription in interface LoadableImage
public java.lang.String getHTMLDescription(int slice)
throws java.lang.IndexOutOfBoundsException
LoadableImage
getHTMLDescription in interface LoadableImageslice - the slice number.
java.lang.IndexOutOfBoundsException - if the slice is bad for this image.public UNCImage clone()
clone in class MultiSliceImage
public ColourMapping getNativeColourMapping()
throws InvalidColourMappingException
LoadableImage
getNativeColourMapping in interface LoadableImageInvalidColourMappingException - if this image has an associated ColourMapping, but
the ColourMapping cannot be successfully retrieved.
public void setNativeColourMapping(ColourMapping colourMapping)
throws java.io.IOException
MultiSliceImage
setNativeColourMapping in class MultiSliceImagecolourMapping - the new ColourMapping to be assigned to this image.
java.io.IOException - if the ColourMapping cannot be set for this image.
public java.lang.Double getMin()
throws InvalidImageException
LoadableImage
getMin in interface LoadableImageInvalidImageException - if the intensity cannot be returned as a Double.
public java.lang.Double getMax()
throws InvalidImageException
LoadableImage
getMax in interface LoadableImageInvalidImageException - if the intensity cannot be returned as a Double.public java.lang.String getSimpleName()
MultiSliceImage
getSimpleName in class MultiSliceImagepublic static java.lang.String getCommonName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||