| org.geotools.coverage.grid.GridCoverage2D org.geotools.coverage.processing.operation.SubsampleAveragedCoverage
SubsampleAveragedCoverage | final class SubsampleAveragedCoverage extends GridCoverage2D (Code) | | Subsample the provided coverage by averaging overa moving window.
Citing the JAI documentation at
http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/operator/SubsampleAverageDescriptor.html
for the
SubsampleAverageDescriptor :
The "SubsampleAverage" operation subsamples an image by averaging over a
moving window. The scale factors supplied to the operation are forward
mapping coefficients representing the geometric transformation from source to
destination image coordinates. For example, if both scale factors were equal
to 0.5, the operation would produce an output image of half the size of the
input image in both dimensions. Both scale factors must be in the range (0.0,
1.0] or an exception will be thrown when the operation is created. The
default value of the vertical scale factor is the value of the horizontal
scale factor. If both scale factors equal 1.0, the source image is returned
directly.
author: Simone Giannecchini since: 2.3 |
Method Summary | |
static Coverage | create(ParameterValueGroup parameters, Hints hints) Craetes a new
Coverage by applying the
SubsampleAverage operation to the provided source using the provided parameters and hints.
Parameters: parameters - Parameters to control this operation. Parameters: hints - Hints to control this operation. |
create | static Coverage create(ParameterValueGroup parameters, Hints hints)(Code) | | Craetes a new
Coverage by applying the
SubsampleAverage operation to the provided source using the provided parameters and hints.
Parameters: parameters - Parameters to control this operation. Parameters: hints - Hints to control this operation. A subsample coverage. |
Methods inherited from org.geotools.coverage.grid.GridCoverage2D | protected GridCoverage2D createGeophysics(boolean geo)(Code)(Java Doc) public synchronized boolean dispose(boolean force)(Code)(Java Doc) public Object evaluate(DirectPosition point) throws CannotEvaluateException(Code)(Java Doc) public byte[] evaluate(DirectPosition coord, byte[] dest) throws CannotEvaluateException(Code)(Java Doc) public int[] evaluate(DirectPosition coord, int[] dest) throws CannotEvaluateException(Code)(Java Doc) public float[] evaluate(DirectPosition coord, float[] dest) throws CannotEvaluateException(Code)(Java Doc) public double[] evaluate(DirectPosition coord, double[] dest) throws CannotEvaluateException(Code)(Java Doc) public int[] evaluate(Point2D coord, int[] dest) throws CannotEvaluateException(Code)(Java Doc) public float[] evaluate(Point2D coord, float[] dest) throws CannotEvaluateException(Code)(Java Doc) public double[] evaluate(Point2D coord, double[] dest) throws CannotEvaluateException(Code)(Java Doc) public GridCoverage2D geophysics(boolean geo)(Code)(Java Doc) public CoordinateReferenceSystem getCoordinateReferenceSystem2D()(Code)(Java Doc) public synchronized String getDebugString(DirectPosition coord)(Code)(Java Doc) public Envelope getEnvelope()(Code)(Java Doc) public Envelope2D getEnvelope2D()(Code)(Java Doc) public GridGeometry getGridGeometry()(Code)(Java Doc) public Interpolation getInterpolation()(Code)(Java Doc) public int getNumSampleDimensions()(Code)(Java Doc) public int[] getOptimalDataBlockSizes()(Code)(Java Doc) public RenderableImage getRenderableImage(int xAxis, int yAxis)(Code)(Java Doc) public RenderedImage getRenderedImage()(Code)(Java Doc) public SampleDimension getSampleDimension(int index)(Code)(Java Doc) public GridSampleDimension[] getSampleDimensions()(Code)(Java Doc) public boolean isDataEditable()(Code)(Java Doc) public void prefetch(Rectangle2D area)(Code)(Java Doc) public void show(String title, int xAxis, int yAxis)(Code)(Java Doc) public void show(String title)(Code)(Java Doc)
|
|
|