| ca.forklabs.media.jai.ImageFunction3D
ImageFunction3D | public interface ImageFunction3D (Code) | | Interface
ImageFunction3D represents a collection of image that are
rendered according to a ternary function f(x, y, z).
author: Daniel Léonard version: $Revision: 1.1 $ |
Method Summary | |
public void | getBand(int band, int slice, int dimX, int dimY, int dimZ, float[] real, float[] imag) Gets one band of one image. | public void | getBand(int band, int slice, int dimX, int dimY, int dimZ, double[] real, double[] imag) Gets one band of one image. | public int | getNumBands() Returns the number of bands for each image. | public boolean | isComplex() Determines if pixels are complex or not. |
getBand | public void getBand(int band, int slice, int dimX, int dimY, int dimZ, float[] real, float[] imag)(Code) | | Gets one band of one image.
Parameters: band - the bamd. Parameters: slice - the image. Parameters: dimX - the size of the band in the x dimension. Parameters: dimY - the size of the band in the y dimension. Parameters: dimZ - the size of the band in the z dimension. Parameters: real - a pre-allocated float array of length at leastdimX * dimY in which the real parts will bereturned. Parameters: imag - a pre-allocated float array of length at leastdimX * dimY in which the imaginary parts will bereturned, null if ImageFunction3D.isComplex() returns false . |
getBand | public void getBand(int band, int slice, int dimX, int dimY, int dimZ, double[] real, double[] imag)(Code) | | Gets one band of one image.
Parameters: band - the bamd. Parameters: slice - the image. Parameters: dimX - the size of the band in the x dimension. Parameters: dimY - the size of the band in the y dimension. Parameters: dimZ - the size of the band in the z dimension. Parameters: real - a pre-allocated float array of length at leastdimX * dimY in which the real parts will bereturned. Parameters: imag - a pre-allocated float array of length at leastdimX * dimY in which the imaginary parts will bereturned, null if ImageFunction3D.isComplex() returns false . |
getNumBands | public int getNumBands()(Code) | | Returns the number of bands for each image.
the number of bands. |
isComplex | public boolean isComplex()(Code) | | Determines if pixels are complex or not.
true if the pixels are complex, false otherwise. |
|
|