org.geotools.coverage.processing.operation
Class Log
Object
AbstractOperation
Operation2D
OperationJAI
Log
- All Implemented Interfaces:
- Serializable, Operation
public class Log
- extends OperationJAI
Takes the natural logarithm of the sample values of a coverage.
Name: "Log"
JAI operator: "Log"
Parameters:
Name |
Class |
Default value |
Minimum value |
Maximum value |
"Source" |
GridCoverage2D |
N/A |
N/A |
N/A |
- Since:
- 2.2
- Author:
- Martin Desruisseaux (IRD)
- See Also:
Operations.log(org.opengis.coverage.Coverage)
,
LogDescriptor
,
Serialized Form
Constructor Summary |
Log()
Constructs a default "Log" operation. |
Methods inherited from class OperationJAI |
createRenderedImage, deriveCategory, deriveGridCoverage, deriveName, deriveSampleDimension, deriveUnit, doOperation, equals, getJAI, getOperationDescriptor, getProperties, getQuantitative, prepareParameters, resampleToCommonGeometry |
Log
public Log()
- Constructs a default
"Log"
operation.
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
"GradientMagnitude"
, this array has a length of 1. For binary operations
like "add"
and "multiply"
, 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
null
if unknow.
Copyright © 1996-2014 Geotools. All Rights Reserved.