|
|||||||||
| 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.ImageData
edu.jhu.ece.iacl.jist.structures.image.ImageDataByte
public class ImageDataByte
The Class ImageDataInt.
| Field Summary | |
|---|---|
protected byte[][] |
vol2d
The vol2d. |
protected byte[][][] |
vol3d
The vol3d. |
protected byte[][][][] |
vol4d
The vol4d. |
| Fields inherited from class edu.jhu.ece.iacl.jist.structures.image.ImageData |
|---|
cols, components, imageHeader, name, rows, slices, type |
| Constructor Summary | |
|---|---|
ImageDataByte(byte[][] data)
Instantiates a new image data int. |
|
ImageDataByte(byte[][][] data)
Instantiates a new image data int. |
|
ImageDataByte(byte[][][][] data)
Instantiates a new image data int. |
|
ImageDataByte(ImageData vol)
Instantiates a new image data int. |
|
ImageDataByte(int rows,
int cols)
Instantiates a new image data int. |
|
ImageDataByte(int rows,
int cols,
int slices)
Instantiates a new image data int. |
|
ImageDataByte(int rows,
int cols,
int slices,
int components)
Instantiates a new image data int. |
|
ImageDataByte(java.lang.String name,
int rows,
int cols)
Instantiates a new image data int. |
|
ImageDataByte(java.lang.String name,
int rows,
int cols,
int slices)
Instantiates a new image data int. |
|
ImageDataByte(java.lang.String name,
int rows,
int cols,
int slices,
int components)
Instantiates a new image data int. |
|
| Method Summary | |
|---|---|
ImageDataByte |
clone()
|
void |
dispose()
Free any resources associated with an ImageData object. |
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. |
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()
|
ImageDataByte |
mimic()
Create new cubic volume of the same subclass type with the same dimensions Does not copy the values in the volume. |
ImageDataByte |
mimic(int rows,
int cols,
int slices,
int components)
Mimic. |
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. |
void |
setName(java.lang.String name)
Volume name used my MIPAV images when saving. |
java.lang.Object[] |
toArray()
To array. |
byte[][] |
toArray2d()
To array2d. |
byte[][][] |
toArray3d()
To array3d. |
byte[][][][] |
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, getName, 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, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected byte[][] vol2d
protected byte[][][] vol3d
protected byte[][][][] vol4d
| Constructor Detail |
|---|
public ImageDataByte(ImageData vol)
vol - the vol
public ImageDataByte(int rows,
int cols)
rows - the rowscols - the cols
public ImageDataByte(int rows,
int cols,
int slices)
rows - the rowscols - the colsslices - the slices
public ImageDataByte(java.lang.String name,
int rows,
int cols)
name - the namerows - the rowscols - the cols
public ImageDataByte(java.lang.String name,
int rows,
int cols,
int slices)
name - the namerows - the rowscols - the colsslices - the slices
public ImageDataByte(java.lang.String name,
int rows,
int cols,
int slices,
int components)
name - the namerows - the rowscols - the colsslices - the slicescomponents - the components
public ImageDataByte(int rows,
int cols,
int slices,
int components)
rows - the rowscols - the colsslices - the slicescomponents - the componentspublic ImageDataByte(byte[][] data)
data - the datapublic ImageDataByte(byte[][][] data)
data - the datapublic ImageDataByte(byte[][][][] data)
data - the data| Method Detail |
|---|
public ImageDataByte clone()
clone in class ImageData
public java.lang.Number get(int i,
int j,
int k,
int l)
ImageData
get in class ImageDatai - rowj - columnk - slicel - component
public boolean getBoolean(int i,
int j,
int k,
int l)
ImageData
getBoolean in class ImageDatai - 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 ImageDatai - the ij - the jk - the kl - the l
public double getDouble(int i,
int j,
int k,
int l)
ImageData
getDouble in class ImageDatai - the ij - the jk - the kl - the l
public float getFloat(int i,
int j,
int k,
int l)
ImageData
getFloat in class ImageDatai - the ij - the jk - the kl - the l
public int getInt(int i,
int j,
int k,
int l)
ImageData
getInt in class ImageDatai - the ij - the jk - the kl - the l
public short getShort(int i,
int j,
int k,
int l)
ImageData
getShort in class ImageDatai - the ij - the jk - the kl - the l
public short getUByte(int i,
int j,
int k,
int l)
ImageData
getUByte in class ImageDatai - the ij - the jk - the kl - the l
public ImageDataByte mimic()
ImageData
mimic in class ImageData
public ImageDataByte mimic(int rows,
int cols,
int slices,
int components)
ImageData
mimic in class ImageDatarows - the rowscols - the colsslices - the slicescomponents - the components
public void setName(java.lang.String name)
ImageData
setName in class ImageDataname - the name
public void set(int i,
int j,
int k,
int l,
boolean a)
ImageData
set in class ImageDatai - the ij - the jk - the kl - the la - the a
public void set(int i,
int j,
int k,
int l,
byte a)
i - the ij - the jk - the kl - the la - the a
public void set(int i,
int j,
int k,
int l,
float a)
ImageData
set in class ImageDatai - the ij - the jk - the kl - the la - the a
public void set(int i,
int j,
int k,
int l,
java.lang.Number a)
ImageData
set in class ImageDatai - the ij - the jk - the kl - the la - the a
public void set(int i,
int j,
int k,
int l,
int a)
ImageData
set in class ImageDatai - the ij - the jk - the kl - the la - the a
public void set(int i,
int j,
int k,
int l,
java.awt.Color a)
ImageData
set in class ImageDatai - the ij - the jk - the kl - the la - the a
public void set(int i,
int j,
int k,
int l,
double a)
ImageData
set in class ImageDatai - the ij - the jk - the kl - the la - the a
public void set(int i,
int j,
int k,
int l,
short a)
ImageData
set in class ImageDatai - the ij - the jk - the kl - the la - the apublic void set(Voxel a)
ImageData
set in class ImageDataa - the apublic java.lang.Object[] toArray()
public byte[][] toArray2d()
public byte[][][] toArray3d()
public byte[][][][] toArray4d()
public void dispose()
ImageData
dispose in class ImageDatapublic boolean isNotAvailable()
isNotAvailable in class ImageData
public byte getByte(int i,
int j,
int k,
int l)
ImageData
getByte in class ImageDatai - the ij - the jk - the kl - the l
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||