|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvolume.Volume
volume.VolumeShort
public class VolumeShort
This class implements short volumes and operations including convolutions on it. Copyright (c) 1999-2002, Michael Abramoff. All rights reserved.
| Field Summary | |
|---|---|
short[][][] |
v
|
| Constructor Summary | |
|---|---|
VolumeShort()
creates the null volume. |
|
VolumeShort(ij.process.ImageProcessor ip)
Deprecated. |
|
VolumeShort(ij.ImageStack s)
Creates a short volume from an ImageJ ImageStack. |
|
VolumeShort(ij.ImageStack s,
double aspectx,
double aspecty,
double aspectz)
|
|
VolumeShort(ij.ImageStack s,
int depth,
int n)
|
|
VolumeShort(ij.ImageStack s,
int depth,
int n,
double aspectx,
double aspecty,
double aspectz)
|
|
VolumeShort(int width,
int height,
int depth)
Creates a short volume of defined size and default aspect ratios. |
|
VolumeShort(int width,
int height,
int depth,
double aspectx,
double aspecty,
double aspectz)
Creates a short volume of defined size and aspect ratio. |
|
VolumeShort(VolumeShort v1)
Creates a float volume which is an exact copy of vl. |
|
| Method Summary | |
|---|---|
void |
convolvexyz(Kernel1D kernel)
XYZ convolution with separated 1D kernel. |
java.lang.Object |
get(int x,
int y,
int z)
Get the voxel value as a Number. |
boolean |
getIndexed()
|
void |
load(ij.process.ImageProcessor ip,
int t)
Fill the volume with depth 1 with a single image ip. |
boolean |
load(ij.ImageStack s,
int start)
Fill this volume from stack s with from slice start. |
void |
loadInverse(ij.ImageStack s,
int center)
Inversely load a volume from the stack centered around center with the first one last. |
void |
set(int x,
int y,
int z,
int value)
Deprecated. |
void |
set(java.lang.Object value,
int x,
int y,
int z)
Set the voxel value to a Number. |
void |
setHighBits(ij.ImageStack s)
Combine the values of s into the index byte (high 8 bits) of the voxel scalars of this volume. |
void |
setIndexed(boolean indexed)
|
| Methods inherited from class volume.Volume |
|---|
discreteSupport, getAspectx, getAspecty, getAspectz, getDepth, getEdge, getHeight, getWidth, in, setAspects, setEdge, toString, valid, valid |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public short[][][] v
| Constructor Detail |
|---|
public VolumeShort()
public VolumeShort(int width,
int height,
int depth,
double aspectx,
double aspecty,
double aspectz)
width, - height, depth the dimensions of the volumeaspectx, - aspecty, aspectz the aspect ratios of the volume dimensions.
public VolumeShort(int width,
int height,
int depth)
width, - height, depth the dimensions of the volumepublic VolumeShort(VolumeShort v1)
vl - the VolumeFloat to be copied.
public VolumeShort(ij.ImageStack s,
double aspectx,
double aspecty,
double aspectz)
throws java.lang.Exception
java.lang.Exception
public VolumeShort(ij.ImageStack s)
throws java.lang.Exception
s - the ImageStack which has to contain at least one image.
java.lang.Exceptionpublic VolumeShort(ij.process.ImageProcessor ip)
public VolumeShort(ij.ImageStack s,
int depth,
int n)
public VolumeShort(ij.ImageStack s,
int depth,
int n,
double aspectx,
double aspecty,
double aspectz)
| Method Detail |
|---|
public java.lang.Object get(int x,
int y,
int z)
get in class Volumex - the x position of the voxely - the y position of the voxelz - the z position of the voxel
public void set(java.lang.Object value,
int x,
int y,
int z)
set in class Volumex - the x position of the voxely - the y position of the voxelz - the z position of the voxelvalue - a value suitable for this volume.
public void set(int x,
int y,
int z,
int value)
public boolean load(ij.ImageStack s,
int start)
s - an ImageJ ImageStackstart - the first slice to be loaded (starting with slice 1).
public void load(ij.process.ImageProcessor ip,
int t)
public void loadInverse(ij.ImageStack s,
int center)
public void setHighBits(ij.ImageStack s)
s - an ImageStack containing the index values.public void setIndexed(boolean indexed)
public boolean getIndexed()
public void convolvexyz(Kernel1D kernel)
kernel - a 1D convolution kernel.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||