| org.geotools.coverage.processing.OperationJAI org.geotools.coverage.processing.operation.AddConst
AddConst | public class AddConst extends OperationJAI (Code) | | Adds constants (one for each band) to every sample values of the source coverage.
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: "AddConst"
JAI operator: "
"
Parameters:
since: 2.2 version: $Id: AddConst.java 20970 2006-08-11 07:53:22Z jgarnett $ author: Martin Desruisseaux See Also: org.geotools.coverage.processing.Operations.add See Also: AddConstDescriptor sampleToGeophysics |
Constructor Summary | |
public | AddConst() Constructs a default
"AddConst" operation. |
AddConst | public AddConst()(Code) | | Constructs a default
"AddConst" 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)
|
|
|