| org.geotools.coverage.processing.OperationJAI org.geotools.coverage.processing.operation.SubtractFromConst
SubtractFromConst | public class SubtractFromConst extends OperationJAI (Code) | | Subtracts every sample values of the source coverage from constants (one for each band).
If the number of constants supplied is less than the number of bands of the destination,
then the constant from entry 0 is applied to all the bands. Otherwise, a constant from a
different entry is applied to each band.
Name: "SubtractFromConst"
JAI operator: "
"
Parameters:
since: 2.2 version: $Id: SubtractFromConst.java 20970 2006-08-11 07:53:22Z jgarnett $ author: Martin Desruisseaux See Also: org.geotools.coverage.processing.Operations.subtractFrom See Also: SubtractFromConstDescriptor sampleToGeophysics |
Constructor Summary | |
public | SubtractFromConst() Constructs a default
"SubtractFromConst" operation. |
SubtractFromConst | public SubtractFromConst()(Code) | | Constructs a default
"SubtractFromConst" 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)
|
|
|