|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.ece.iacl.jist.structures.image.ImageData edu.jhu.ece.iacl.jist.structures.image.ImageDataFloat
public class ImageDataFloat
The Class ImageDataFloat.
Field Summary | |
---|---|
protected float[][] |
vol2d
The vol2d. |
protected float[][][] |
vol3d
The vol3d. |
protected float[][][][] |
vol4d
The vol4d. |
Fields inherited from class edu.jhu.ece.iacl.jist.structures.image.ImageData |
---|
cols, components, imageHeader, name, rows, slices, type |
Constructor Summary | |
---|---|
ImageDataFloat(float[][][] data)
Instantiates a new image data float. |
|
ImageDataFloat(float[][][][] data)
Instantiates a new image data float. |
|
ImageDataFloat(ImageData vol)
Instantiates a new image data float. |
|
ImageDataFloat(int rows,
int cols)
Instantiates a new image data float. |
|
ImageDataFloat(int rows,
int cols,
int slices)
Instantiates a new image data float. |
|
ImageDataFloat(int rows,
int cols,
int slices,
int components)
|
|
ImageDataFloat(java.lang.String name,
int rows,
int cols)
Instantiates a new image data float. |
|
ImageDataFloat(java.lang.String name,
int rows,
int cols,
int slices)
Instantiates a new image data float. |
|
ImageDataFloat(java.lang.String name,
int rows,
int cols,
int slices,
int components)
Instantiates a new image data float. |
Method Summary | |
---|---|
ImageDataFloat |
clone()
|
void |
dispose()
Free any resources associated with an ImageData object. |
protected void |
finalize()
|
java.lang.Number |
get(int i,
int j,
int k,
int l)
Get vector component for volume. |
boolean |
getBoolean(int i,
int j,
int k,
int l)
Gets the boolean. |
byte |
getByte(int i,
int j,
int k,
int l)
Gets the u byte. |
java.awt.Color |
getColor(int i,
int j,
int k,
int l)
Gets the color. |
double |
getDouble(int i,
int j,
int k,
int l)
Gets the double. |
float |
getFloat(int i,
int j,
int k,
int l)
Gets the float. |
int |
getInt(int i,
int j,
int k,
int l)
Gets the int. |
java.lang.String |
getName()
Gets the name. |
short |
getShort(int i,
int j,
int k,
int l)
Gets the short. |
short |
getUByte(int i,
int j,
int k,
int l)
Gets the u byte. |
boolean |
isNotAvailable()
|
ImageDataFloat |
mimic()
Create new cubic volume of the same subclass type with the same dimensions Does not copy the values in the volume. |
ImageDataFloat |
mimic(int rows,
int cols,
int slices,
int components)
Mimic. |
void |
normalize()
Normalize. |
void |
set(int i,
int j,
int k,
int l,
boolean a)
Sets the. |
void |
set(int i,
int j,
int k,
int l,
byte a)
Sets the. |
void |
set(int i,
int j,
int k,
int l,
java.awt.Color a)
Sets the. |
void |
set(int i,
int j,
int k,
int l,
double a)
Sets the. |
void |
set(int i,
int j,
int k,
int l,
float a)
Sets the. |
void |
set(int i,
int j,
int k,
int l,
int a)
Sets the. |
void |
set(int i,
int j,
int k,
int l,
java.lang.Number a)
Sets the. |
void |
set(int i,
int j,
int k,
int l,
short a)
Sets the. |
void |
set(Voxel a)
Sets the. |
java.lang.Object[] |
toArray()
To array. |
float[][] |
toArray2d()
To array2d. |
float[][][] |
toArray3d()
To array3d. |
float[][][][] |
toArray4d()
To array4d. |
Methods inherited from class edu.jhu.ece.iacl.jist.structures.image.ImageData |
---|
clone, clone, clone, get, get, getBoolean, getBoolean, getByte, getByte, getColor, getColor, getCols, getComponents, getDouble, getDouble, getFloat, getFloat, getHeader, getInt, getInt, getModelImageCopy, getRows, getShort, getShort, getSlices, getType, getUByte, getUByte, getUShort, getUShort, getUShort, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setHeader, setName, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected float[][] vol2d
protected float[][][] vol3d
protected float[][][][] vol4d
Constructor Detail |
---|
public ImageDataFloat(ImageData vol)
vol
- the volpublic ImageDataFloat(float[][][] data)
data
- the datapublic ImageDataFloat(float[][][][] data)
data
- the datapublic ImageDataFloat(int rows, int cols)
rows
- the rowscols
- the colsslices
- the slicespublic ImageDataFloat(int rows, int cols, int slices)
rows
- the rowscols
- the colsslices
- the slicespublic ImageDataFloat(int rows, int cols, int slices, int components)
public ImageDataFloat(java.lang.String name, int rows, int cols)
name
- the namerows
- the rowscols
- the colsslices
- the slicespublic ImageDataFloat(java.lang.String name, int rows, int cols, int slices)
name
- the namerows
- the rowscols
- the colsslices
- the slicespublic ImageDataFloat(java.lang.String name, int rows, int cols, int slices, int components)
name
- the namerows
- the rowscols
- the colsslices
- the slicescomponents
- the componentsMethod Detail |
---|
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public ImageDataFloat clone()
clone
in class ImageData
public java.lang.String getName()
ImageData
getName
in class ImageData
public java.lang.Number get(int i, int j, int k, int l)
ImageData
get
in class ImageData
i
- rowj
- columnk
- slicel
- component
public boolean getBoolean(int i, int j, int k, int l)
ImageData
getBoolean
in class ImageData
i
- the ij
- the jk
- the kl
- the l
public java.awt.Color getColor(int i, int j, int k, int l)
ImageData
getColor
in class ImageData
i
- the ij
- the jk
- the kl
- the l
public double getDouble(int i, int j, int k, int l)
ImageData
getDouble
in class ImageData
i
- the ij
- the jk
- the kl
- the l
public float getFloat(int i, int j, int k, int l)
ImageData
getFloat
in class ImageData
i
- the ij
- the jk
- the kl
- the l
public int getInt(int i, int j, int k, int l)
ImageData
getInt
in class ImageData
i
- the ij
- the jk
- the kl
- the l
public short getShort(int i, int j, int k, int l)
ImageData
getShort
in class ImageData
i
- the ij
- the jk
- the kl
- the l
public short getUByte(int i, int j, int k, int l)
ImageData
getUByte
in class ImageData
i
- the ij
- the jk
- the kl
- the l
public ImageDataFloat mimic()
ImageData
mimic
in class ImageData
public ImageDataFloat mimic(int rows, int cols, int slices, int components)
ImageData
mimic
in class ImageData
rows
- the rowscols
- the colsslices
- the slicescomponents
- the components
public void normalize()
public void set(int i, int j, int k, int l, boolean a)
ImageData
set
in class ImageData
i
- the ij
- the jk
- the kl
- the la
- the apublic void set(int i, int j, int k, int l, byte a)
i
- the ij
- the jk
- the kl
- the la
- the apublic void set(int i, int j, int k, int l, float a)
ImageData
set
in class ImageData
i
- the ij
- the jk
- the kl
- the la
- the apublic void set(int i, int j, int k, int l, int a)
ImageData
set
in class ImageData
i
- the ij
- the jk
- the kl
- the la
- the apublic void set(int i, int j, int k, int l, java.awt.Color a)
ImageData
set
in class ImageData
i
- the ij
- the jk
- the kl
- the la
- the apublic byte getByte(int i, int j, int k, int l)
ImageData
getByte
in class ImageData
i
- the ij
- the jk
- the kl
- the l
public void set(int i, int j, int k, int l, double a)
ImageData
set
in class ImageData
i
- the ij
- the jk
- the kl
- the la
- the apublic void set(int i, int j, int k, int l, java.lang.Number a)
ImageData
set
in class ImageData
i
- the ij
- the jk
- the kl
- the la
- the apublic void set(int i, int j, int k, int l, short a)
ImageData
set
in class ImageData
i
- the ij
- the jk
- the kl
- the la
- the apublic void set(Voxel a)
ImageData
set
in class ImageData
a
- the apublic java.lang.Object[] toArray()
public float[][] toArray2d()
public float[][][] toArray3d()
public float[][][][] toArray4d()
public void dispose()
ImageData
dispose
in class ImageData
public boolean isNotAvailable()
isNotAvailable
in class ImageData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |