|
|||||||||
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
public abstract class ImageData
Structure used for storing all volumetric data.
Field Summary | |
---|---|
protected int |
cols
The cols. |
protected int |
components
The components. |
protected ImageHeader |
imageHeader
The image header. |
protected java.lang.String |
name
The name. |
protected int |
rows
The rows. |
protected int |
slices
The slices. |
protected VoxelType |
type
The type. |
Constructor Summary | |
---|---|
ImageData()
|
Method Summary | |
---|---|
abstract ImageData |
clone()
|
static int[][] |
clone(int[][] vol)
Clone. |
static int[][][] |
clone(int[][][] vol)
Clone. |
static int[][][][] |
clone(int[][][][] vol)
Clone. |
abstract void |
dispose()
Free any resources associated with an ImageData object. |
java.lang.Number |
get(int i,
int j)
Gets the. |
java.lang.Number |
get(int i,
int j,
int k)
Get voxel. |
abstract java.lang.Number |
get(int i,
int j,
int k,
int l)
Get vector component for volume. |
boolean |
getBoolean(int i,
int j)
Gets the boolean. |
boolean |
getBoolean(int i,
int j,
int k)
Gets the boolean. |
abstract boolean |
getBoolean(int i,
int j,
int k,
int l)
Gets the boolean. |
byte |
getByte(int i,
int j)
Gets the u byte. |
byte |
getByte(int i,
int j,
int k)
Gets the u byte. |
abstract byte |
getByte(int i,
int j,
int k,
int l)
Gets the u byte. |
java.awt.Color |
getColor(int i,
int j)
Gets the color. |
java.awt.Color |
getColor(int i,
int j,
int k)
Gets the color. |
abstract java.awt.Color |
getColor(int i,
int j,
int k,
int l)
Gets the color. |
int |
getCols()
Gets the cols. |
int |
getComponents()
Gets the components. |
double |
getDouble(int i,
int j)
Gets the double. |
double |
getDouble(int i,
int j,
int k)
Gets the double. |
abstract double |
getDouble(int i,
int j,
int k,
int l)
Gets the double. |
float |
getFloat(int i,
int j)
Gets the float. |
float |
getFloat(int i,
int j,
int k)
Gets the float. |
abstract float |
getFloat(int i,
int j,
int k,
int l)
Gets the float. |
ImageHeader |
getHeader()
Gets the header. |
int |
getInt(int i,
int j)
Gets the int. |
int |
getInt(int i,
int j,
int k)
Gets the int. |
abstract int |
getInt(int i,
int j,
int k,
int l)
Gets the int. |
ModelImage |
getModelImageCopy()
Gets the model image. |
java.lang.String |
getName()
Gets the name. |
int |
getRows()
Gets the rows. |
short |
getShort(int i,
int j)
Gets the short. |
short |
getShort(int i,
int j,
int k)
Gets the short. |
abstract short |
getShort(int i,
int j,
int k,
int l)
Gets the short. |
int |
getSlices()
Gets the slices. |
VoxelType |
getType()
Gets the type. |
short |
getUByte(int i,
int j)
Gets the u byte. |
short |
getUByte(int i,
int j,
int k)
Gets the u byte. |
abstract short |
getUByte(int i,
int j,
int k,
int l)
Gets the u byte. |
int |
getUShort(int i,
int j)
Gets the u short. |
int |
getUShort(int i,
int j,
int k)
Gets the u short. |
int |
getUShort(int i,
int j,
int k,
int l)
Gets the u short. |
boolean |
isNotAvailable()
|
abstract ImageData |
mimic()
Create new cubic volume of the same subclass type with the same dimensions Does not copy the values in the volume. |
abstract ImageData |
mimic(int rows,
int cols,
int slices,
int components)
Mimic. |
void |
set(int i,
int j,
boolean a)
Debugging routine for printing non-zero entries in matrix. |
void |
set(int i,
int j,
byte a)
Sets the. |
void |
set(int i,
int j,
java.awt.Color a)
Sets the. |
void |
set(int i,
int j,
double a)
Sets the. |
void |
set(int i,
int j,
float a)
Sets the. |
void |
set(int i,
int j,
int a)
Sets the. |
void |
set(int i,
int j,
int k,
boolean a)
Sets the. |
void |
set(int i,
int j,
int k,
byte a)
Sets the. |
void |
set(int i,
int j,
int k,
java.awt.Color a)
Sets the. |
void |
set(int i,
int j,
int k,
double a)
Sets the. |
void |
set(int i,
int j,
int k,
float a)
Sets the. |
void |
set(int i,
int j,
int k,
int a)
Sets the. |
abstract void |
set(int i,
int j,
int k,
int l,
boolean a)
Sets the. |
abstract void |
set(int i,
int j,
int k,
int l,
java.awt.Color a)
Sets the. |
abstract void |
set(int i,
int j,
int k,
int l,
double a)
Sets the. |
abstract void |
set(int i,
int j,
int k,
int l,
float a)
Sets the. |
abstract void |
set(int i,
int j,
int k,
int l,
int a)
Sets the. |
abstract void |
set(int i,
int j,
int k,
int l,
java.lang.Number a)
Sets the. |
abstract void |
set(int i,
int j,
int k,
int l,
short a)
Sets the. |
void |
set(int i,
int j,
int k,
java.lang.Number a)
Sets the. |
void |
set(int i,
int j,
int k,
short a)
Sets the. |
void |
set(int i,
int j,
java.lang.Number a)
Sets the. |
void |
set(int i,
int j,
short a)
Sets the. |
abstract void |
set(Voxel a)
Sets the. |
void |
setHeader(ImageHeader header)
Sets the header. |
void |
setName(java.lang.String name)
Volume name used my MIPAV images when saving. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int rows
protected int cols
protected int slices
protected int components
protected VoxelType type
protected java.lang.String name
protected ImageHeader imageHeader
Constructor Detail |
---|
public ImageData()
Method Detail |
---|
public static int[][] clone(int[][] vol)
vol
- the vol
public static int[][][] clone(int[][][] vol)
vol
- the vol
public static int[][][][] clone(int[][][][] vol)
vol
- the vol
public ImageHeader getHeader()
public void setHeader(ImageHeader header)
header
- the new headerpublic abstract ImageData clone()
clone
in class java.lang.Object
public java.lang.Number get(int i, int j)
i
- the ij
- the j
public java.lang.Number get(int i, int j, int k)
i
- rowj
- columnk
- slice
public abstract java.lang.Number get(int i, int j, int k, int l)
i
- rowj
- columnk
- slicel
- component
public boolean getBoolean(int i, int j)
i
- the ij
- the j
public boolean getBoolean(int i, int j, int k)
i
- the ij
- the jk
- the k
public abstract boolean getBoolean(int i, int j, int k, int l)
i
- the ij
- the jk
- the kl
- the l
public java.awt.Color getColor(int i, int j)
i
- the ij
- the j
public java.awt.Color getColor(int i, int j, int k)
i
- the ij
- the jk
- the k
public abstract java.awt.Color getColor(int i, int j, int k, int l)
i
- the ij
- the jk
- the kl
- the l
public int getCols()
public int getComponents()
public double getDouble(int i, int j)
i
- the ij
- the j
public double getDouble(int i, int j, int k)
i
- the ij
- the jk
- the k
public abstract double getDouble(int i, int j, int k, int l)
i
- the ij
- the jk
- the kl
- the l
public float getFloat(int i, int j)
i
- the ij
- the j
public float getFloat(int i, int j, int k)
i
- the ij
- the jk
- the k
public abstract float getFloat(int i, int j, int k, int l)
i
- the ij
- the jk
- the kl
- the l
public int getInt(int i, int j)
i
- the ij
- the j
public int getInt(int i, int j, int k)
i
- the ij
- the jk
- the k
public abstract int getInt(int i, int j, int k, int l)
i
- the ij
- the jk
- the kl
- the l
public ModelImage getModelImageCopy()
public java.lang.String getName()
public int getRows()
public short getShort(int i, int j)
i
- the ij
- the j
public short getShort(int i, int j, int k)
i
- the ij
- the jk
- the k
public abstract short getShort(int i, int j, int k, int l)
i
- the ij
- the jk
- the kl
- the l
public int getSlices()
public VoxelType getType()
public short getUByte(int i, int j)
i
- the ij
- the j
public short getUByte(int i, int j, int k)
i
- the ij
- the jk
- the k
public abstract short getUByte(int i, int j, int k, int l)
i
- the ij
- the jk
- the kl
- the l
public int getUShort(int i, int j)
i
- the ij
- the j
public int getUShort(int i, int j, int k)
i
- the ij
- the jk
- the k
public int getUShort(int i, int j, int k, int l)
i
- the ij
- the jk
- the kl
- the l
public abstract ImageData mimic()
public abstract ImageData mimic(int rows, int cols, int slices, int components)
rows
- the rowscols
- the colsslices
- the slicescomponents
- the components
public void set(int i, int j, boolean a)
i
- the ij
- the ja
- the apublic void set(int i, int j, byte a)
i
- the ij
- the ja
- the apublic void set(int i, int j, java.awt.Color a)
i
- the ij
- the ja
- the apublic void set(int i, int j, double a)
i
- the ij
- the ja
- the apublic void set(int i, int j, float a)
i
- the ij
- the ja
- the apublic void set(int i, int j, int a)
i
- the ij
- the ja
- the apublic void set(int i, int j, int k, boolean a)
i
- the ij
- the jk
- the ka
- the apublic void set(int i, int j, int k, byte a)
i
- the ij
- the jk
- the ka
- the apublic void set(int i, int j, int k, java.awt.Color a)
i
- the ij
- the jk
- the ka
- the apublic void set(int i, int j, int k, double a)
i
- the ij
- the jk
- the ka
- the apublic void set(int i, int j, int k, float a)
i
- the ij
- the jk
- the ka
- the apublic void set(int i, int j, int k, int a)
i
- the ij
- the jk
- the ka
- the apublic void set(int i, int j, int k, short a)
i
- the ij
- the jk
- the ka
- the apublic void set(int i, int j, short a)
i
- the ij
- the ja
- the apublic abstract void set(int i, int j, int k, int l, boolean a)
i
- the ij
- the jk
- the kl
- the la
- the apublic abstract void set(int i, int j, int k, int l, short a)
i
- the ij
- the jk
- the kl
- the la
- the apublic abstract void set(int i, int j, int k, int l, int a)
i
- the ij
- the jk
- the kl
- the la
- the apublic abstract void set(int i, int j, int k, int l, double a)
i
- the ij
- the jk
- the kl
- the la
- the apublic abstract void set(int i, int j, int k, int l, float a)
i
- the ij
- the jk
- the kl
- the la
- the apublic abstract void set(int i, int j, int k, int l, java.awt.Color a)
i
- the ij
- the jk
- the kl
- the la
- the apublic abstract void set(int i, int j, int k, int l, java.lang.Number a)
i
- the ij
- the jk
- the kl
- the la
- the apublic void set(int i, int j, int k, java.lang.Number a)
i
- the ij
- the jk
- the ka
- the apublic void set(int i, int j, java.lang.Number a)
i
- the ij
- the ja
- the apublic abstract void set(Voxel a)
a
- the apublic void setName(java.lang.String name)
name
- the namepublic java.lang.String toString()
toString
in class java.lang.Object
public abstract void dispose()
public boolean isNotAvailable()
public byte getByte(int i, int j)
i
- the ij
- the j
public byte getByte(int i, int j, int k)
i
- the ij
- the jk
- the k
public abstract byte getByte(int i, int j, int k, int l)
i
- the ij
- the jk
- the kl
- the l
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |