public class SquareRootStretchDescriptor
extends javax.media.jai.OperationDescriptorImpl
Constructor and Description |
---|
SquareRootStretchDescriptor()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static javax.media.jai.RenderedOp |
create(RenderedImage source0,
int[] inputMin,
int[] inputMax,
int[] outputMin,
int[] outputMax,
RenderingHints hints)
Compute the SquareRoot stretch
|
static javax.media.jai.RenderableOp |
createRenderable(RenderableImage source0,
int[] inputMin,
int[] inputMax,
int[] outputMin,
int[] outputMax,
RenderingHints hints)
Compute the SquareRoot stretch
|
boolean |
isRenderableSupported()
Returns
true since renderable operation is supported. |
protected boolean |
validateParameters(ParameterBlock args,
StringBuffer message)
Validates the input parameter.
|
arePropertiesSupported, getDefaultSourceClass, getDestClass, getDestClass, getInvalidRegion, getName, getNumParameters, getNumSources, getParamClasses, getParamDefaults, getParamDefaultValue, getParameterListDescriptor, getParamMaxValue, getParamMinValue, getParamNames, getPropertyGenerators, getPropertyGenerators, getRenderableDestClass, getRenderableSourceClasses, getResourceBundle, getResources, getSourceClasses, getSourceClasses, getSourceNames, getSupportedModes, isImmediate, isModeSupported, isRenderedSupported, makeDefaultSourceClassList, validateArguments, validateArguments, validateParameters, validateRenderableArguments, validateRenderableSources, validateSources, validateSources
public static javax.media.jai.RenderedOp create(RenderedImage source0, int[] inputMin, int[] inputMax, int[] outputMin, int[] outputMax, RenderingHints hints)
Creates a ParameterBlockJAI
from all
supplied arguments except hints
and invokes
JAI.create(String,ParameterBlock,RenderingHints)
.
source0
- RenderedImage
source 0.hints
- The RenderingHints
to use.
May be null
.RenderedOp
destination.IllegalArgumentException
- if source0
is null
.JAI
,
ParameterBlockJAI
,
RenderedOp
public static javax.media.jai.RenderableOp createRenderable(RenderableImage source0, int[] inputMin, int[] inputMax, int[] outputMin, int[] outputMax, RenderingHints hints)
Creates a ParameterBlockJAI
from all
supplied arguments except hints
and invokes
JAI.createRenderable(String,ParameterBlock,RenderingHints)
.
source0
- RenderableImage
source 0.hints
- The RenderingHints
to use.
May be null
.RenderableOp
destination.IllegalArgumentException
- if source0
is null
.JAI
,
ParameterBlockJAI
,
RenderableOp
public boolean isRenderableSupported()
true
since renderable operation is supported.isRenderableSupported
in interface javax.media.jai.OperationDescriptor
isRenderableSupported
in class javax.media.jai.OperationDescriptorImpl
protected boolean validateParameters(ParameterBlock args, StringBuffer message)
In addition to the standard checks performed by the superclass method, this method checks that the length of the provided parameters array is at least 1.
validateParameters
in class javax.media.jai.OperationDescriptorImpl
Copyright © 2006–2015 GeoSolutions. All rights reserved.