public interface Image3D
Example of use:
	ImageStack stack = IJ.getImage().getStack();
	Image3D image = new ByteStackWrapper(stack);
	int val = image.get(0, 0, 0);
| Modifier and Type | Method and Description | 
|---|---|
int | 
get(int x,
   int y,
   int z)
Returns the value at the specified coordinates as an integer. 
 | 
int | 
getSize(int dim)
Returns the number of voxels along the specified dimension. 
 | 
double | 
getValue(Cursor3D pos)
Returns the value at the specified coordinates as a double. 
 | 
double | 
getValue(int x,
        int y,
        int z)
Returns the value at the specified coordinates as a double. 
 | 
void | 
set(int x,
   int y,
   int z,
   int value)
Changes the value at the specified coordinates, using an integer to
 specify the new value. 
 | 
void | 
setValue(Cursor3D pos,
        double value)
Changes the value at the specified coordinates, using a double to
 specify the new value. 
 | 
void | 
setValue(int x,
        int y,
        int z,
        double value)
Changes the value at the specified coordinates, using a double to
 specify the new value. 
 | 
int getSize(int dim)
dim - the dimension, between 0 and 2int get(int x,
        int y,
        int z)
x - the x-coordinate of the voxel (0-indexed)y - the y-coordinate of the voxel (0-indexed)z - the z-coordinate of the voxel (0-indexed)void set(int x,
         int y,
         int z,
         int value)
x - the x-coordinate of the voxel (0-indexed)y - the y-coordinate of the voxel (0-indexed)z - the z-coordinate of the voxel (0-indexed)value - the new value at the specified positiondouble getValue(int x,
                int y,
                int z)
x - the x-coordinate of the voxel (0-indexed)y - the y-coordinate of the voxel (0-indexed)z - the z-coordinate of the voxel (0-indexed)double getValue(Cursor3D pos)
pos - the position as a Cursor3Dvoid setValue(int x,
              int y,
              int z,
              double value)
x - the x-coordinate of the voxel (0-indexed)y - the y-coordinate of the voxel (0-indexed)z - the z-coordinate of the voxel (0-indexed)value - the new value at the specified positionvoid setValue(Cursor3D pos, double value)
pos - the position of the voxelvalue - the new value at the specified positionCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.