public class ImageFunctionJAIEXTWrapper extends Object implements ImageFunctionJAIEXT
ImageFunction
objects in order to implement ImageFunctionJAIEXT
interface.Constructor and Description |
---|
ImageFunctionJAIEXTWrapper(javax.media.jai.ImageFunction f) |
Modifier and Type | Method and Description |
---|---|
void |
getElements(double arg0,
double arg1,
double arg2,
double arg3,
int arg4,
int arg5,
int arg6,
double[] arg7,
double[] arg8) |
void |
getElements(double startX,
double startY,
double deltaX,
double deltaY,
int countX,
int countY,
int element,
double[] real,
double[] imag,
Rectangle destRect,
javax.media.jai.ROI roi,
Range nodata,
float destNoData)
Returns all values of a given element for a specified set of coordinates.
|
void |
getElements(float arg0,
float arg1,
float arg2,
float arg3,
int arg4,
int arg5,
int arg6,
float[] arg7,
float[] arg8) |
void |
getElements(float startX,
float startY,
float deltaX,
float deltaY,
int countX,
int countY,
int element,
float[] real,
float[] imag,
Rectangle destRect,
javax.media.jai.ROI roi,
Range nodata,
float destNoData)
Returns all values of a given element for a specified set of coordinates.
|
int |
getNumElements() |
boolean |
isComplex() |
public ImageFunctionJAIEXTWrapper(javax.media.jai.ImageFunction f)
public void getElements(float arg0, float arg1, float arg2, float arg3, int arg4, int arg5, int arg6, float[] arg7, float[] arg8)
getElements
in interface javax.media.jai.ImageFunction
public void getElements(double arg0, double arg1, double arg2, double arg3, int arg4, int arg5, int arg6, double[] arg7, double[] arg8)
getElements
in interface javax.media.jai.ImageFunction
public int getNumElements()
getNumElements
in interface javax.media.jai.ImageFunction
public boolean isComplex()
isComplex
in interface javax.media.jai.ImageFunction
public void getElements(float startX, float startY, float deltaX, float deltaY, int countX, int countY, int element, float[] real, float[] imag, Rectangle destRect, javax.media.jai.ROI roi, Range nodata, float destNoData)
ImageFunctionJAIEXT
getElements
in interface ImageFunctionJAIEXT
startX
- The X coordinate of the upper left location to evaluate.startY
- The Y coordinate of the upper left location to evaluate.deltaX
- The horizontal increment.deltaY
- The vertical increment.countX
- The number of points in the horizontal direction.countY
- The number of points in the vertical direction.real
- A pre-allocated float array of length at least countX*countY in which the real parts of all elements will be returned.imag
- A pre-allocated float array of length at least countX*countY in which the imaginary parts of all elements will be returned; may be
null for real data, i.e., when isComplex()
returns false.destRect
- Destination Rectangle where the results must be calculatedroi
- Optional ROI used for reducing calculations to a defined regionnodata
- Optional NoData range to use for masking particular valuesdestNoData
- Value to set for pixels which are not accepted or are outside ROIpublic void getElements(double startX, double startY, double deltaX, double deltaY, int countX, int countY, int element, double[] real, double[] imag, Rectangle destRect, javax.media.jai.ROI roi, Range nodata, float destNoData)
ImageFunctionJAIEXT
getElements
in interface ImageFunctionJAIEXT
startX
- The X coordinate of the upper left location to evaluate.startY
- The Y coordinate of the upper left location to evaluate.deltaX
- The horizontal increment.deltaY
- The vertical increment.countX
- The number of points in the horizontal direction.countY
- The number of points in the vertical direction.real
- A pre-allocated double array of length at least countX*countY in which the real parts of all elements will be returned.imag
- A pre-allocated double array of length at least countX*countY in which the imaginary parts of all elements will be returned; may be
null for real data, i.e., when isComplex()
returns false.destRect
- Destination Rectangle where the results must be calculatedroi
- Optional ROI used for reducing calculations to a defined regionnodata
- Optional NoData range to use for masking particular valuesdestNoData
- Value to set for pixels which are not accepted or are outside ROICopyright © 2006–2018 GeoSolutions. All rights reserved.