public interface ImageFunctionJAIEXT
extends javax.media.jai.ImageFunction
ImageFunction
class for handling NoData and ROIModifier and Type | Method and Description |
---|---|
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 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.
|
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)
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 ROIArrayIndexOutOfBoundsException
- if the length of the supplied array(s) is insufficient.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)
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 ROIArrayIndexOutOfBoundsException
- if the length of the supplied array(s) is insufficient.Copyright © 2006–2015 GeoSolutions. All rights reserved.