| org.geotools.coverage.processing.OperationJAI org.geotools.coverage.processing.operation.Rescale
Rescale | public class Rescale extends OperationJAI (Code) | | Maps the sample values of a coverage from one range to another range. The rescaling is done by
multiplying each sample value by one of a set of constants and then adding another constant to
the result of the multiplication. The destination sample values are defined by the pseudocode:
dst[x][y][b] =
src[x][y][b]*constant + offset;
Name: "Rescale"
JAI operator: "
"
Parameters:
since: 2.2 version: $Id: Rescale.java 20970 2006-08-11 07:53:22Z jgarnett $ author: Martin Desruisseaux See Also: org.geotools.coverage.processing.Operations.rescale See Also: RescaleDescriptor sampleToGeophysics |
Constructor Summary | |
public | Rescale() Constructs a default
"Rescale" operation. |
Rescale | public Rescale()(Code) | | Constructs a default
"Rescale" operation.
|
deriveRange | protected NumberRange deriveRange(NumberRange[] ranges, Parameters parameters)(Code) | | Returns the expected range of values for the resulting image.
|
Methods inherited from org.geotools.coverage.processing.OperationJAI | protected RenderedImage createRenderedImage(ParameterBlockJAI parameters, RenderingHints hints)(Code)(Java Doc) protected Category deriveCategory(Category[] categories, Parameters parameters)(Code)(Java Doc) protected GridCoverage2D deriveGridCoverage(GridCoverage2D[] sources, Parameters parameters)(Code)(Java Doc) protected InternationalString deriveName(GridCoverage2D[] sources, int primarySourceIndex, Parameters parameters)(Code)(Java Doc) protected NumberRange deriveRange(NumberRange[] ranges, Parameters parameters)(Code)(Java Doc) protected GridSampleDimension[] deriveSampleDimension(GridSampleDimension[][] bandLists, Parameters parameters)(Code)(Java Doc) protected Unit deriveUnit(Unit[] units, Parameters parameters)(Code)(Java Doc) public Coverage doOperation(ParameterValueGroup parameters, Hints hints) throws CoverageProcessingException(Code)(Java Doc) public boolean equals(Object object)(Code)(Java Doc) public static JAI getJAI(RenderingHints hints)(Code)(Java Doc) protected static OperationDescriptor getOperationDescriptor(String name) throws OperationNotFoundException(Code)(Java Doc) protected Map getProperties(RenderedImage data, CoordinateReferenceSystem crs, InternationalString name, MathTransform gridToCRS, GridCoverage2D[] sources, Parameters parameters)(Code)(Java Doc) protected static int getQuantitative(Category[] categories)(Code)(Java Doc) protected ParameterBlockJAI prepareParameters(ParameterValueGroup parameters)(Code)(Java Doc) protected void resampleToCommonGeometry(GridCoverage2D[] sources, CoordinateReferenceSystem crs2D, MathTransform2D gridToCrs2D, Hints hints) throws InvalidGridGeometryException, CannotReprojectException(Code)(Java Doc)
|
|
|