org.geotools.coverage.processing.operation
Class Absolute

java.lang.Object
  extended byorg.geotools.coverage.processing.AbstractOperation
      extended byorg.geotools.coverage.processing.Operation2D
          extended byorg.geotools.coverage.processing.OperationJAI
              extended byorg.geotools.coverage.processing.operation.Absolute
All Implemented Interfaces:
org.opengis.coverage.processing.Operation, java.io.Serializable

public class Absolute
extends OperationJAI

Computes the mathematical absolute value of each sample value.

Name: "Absolute"
JAI operator: "Absolute"
Parameters:

Name Class Default value Minimum value Maximum value
GridCoverage2D N/A N/A N/A

Since:
2.2
Version:
$Id: Absolute.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux
See Also:
Operations.absolute(org.opengis.coverage.Coverage), AbsoluteDescriptor, Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.geotools.coverage.processing.OperationJAI
OperationJAI.Parameters
 
Field Summary
 
Fields inherited from class org.geotools.coverage.processing.OperationJAI
operation
 
Fields inherited from class org.geotools.coverage.processing.Operation2D
SOURCE_0
 
Fields inherited from class org.geotools.coverage.processing.AbstractOperation
descriptor
 
Constructor Summary
Absolute()
          Constructs a default operation.
 
Method Summary
protected  NumberRange deriveRange(NumberRange[] ranges, OperationJAI.Parameters parameters)
          Returns the expected range of values for the resulting image.
 
Methods inherited from class org.geotools.coverage.processing.OperationJAI
computeOnGeophysicsValues, createRenderedImage, deriveCategory, deriveGridCoverage, deriveName, deriveSampleDimension, deriveUnit, doOperation, equals, getJAI, resampleToCommonGeometry
 
Methods inherited from class org.geotools.coverage.processing.Operation2D
getFactory, getGridCoverageProcessor
 
Methods inherited from class org.geotools.coverage.processing.AbstractOperation
ensureNonNull, getDescription, getDocURL, getName, getNumSources, getParameters, getProcessor, getVendor, getVersion, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Absolute

public Absolute()
Constructs a default operation.

Method Detail

deriveRange

protected NumberRange deriveRange(NumberRange[] ranges,
                                  OperationJAI.Parameters parameters)
Returns the expected range of values for the resulting image.

Overrides:
deriveRange in class OperationJAI
Parameters:
ranges - The range of values from every sources. For unary operations like , this array has a length of 1. For binary operations like and , this array has a length of 2.
parameters - Parameters, rendering hints and coordinate reference system to use.
Returns:
The range of values to use in the destination image, or if unknow.


Copyright © GeoTools. All Rights Reserved.