|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.media.jai.OperationDescriptorImpl
it.geosolutions.jaiext.contrastenhancement.SquareRootStretchDescriptor
public class SquareRootStretchDescriptor
Field Summary |
---|
Fields inherited from class javax.media.jai.OperationDescriptorImpl |
---|
sourceNames, supportedModes |
Fields inherited from interface javax.media.jai.OperationDescriptor |
---|
NO_PARAMETER_DEFAULT |
Constructor Summary | |
---|---|
SquareRootStretchDescriptor()
Constructor. |
Method Summary | |
---|---|
static javax.media.jai.RenderedOp |
create(RenderedImage source0,
int[] inputMin,
int[] inputMax,
int[] outputMin,
int[] outputMax,
RenderingHints hints)
Compute the SquareRoot stretch Creates a ParameterBlockJAI from all
supplied arguments except hints and invokes
JAI.create(String,ParameterBlock,RenderingHints) . |
static javax.media.jai.RenderableOp |
createRenderable(RenderableImage source0,
int[] inputMin,
int[] inputMax,
int[] outputMin,
int[] outputMax,
RenderingHints hints)
Compute the SquareRoot stretch Creates a ParameterBlockJAI from all
supplied arguments except hints and invokes
JAI.createRenderable(String,ParameterBlock,RenderingHints) . |
boolean |
isRenderableSupported()
Returns true since renderable operation is supported. |
protected boolean |
validateParameters(ParameterBlock args,
StringBuffer message)
Validates the input parameter. |
Methods inherited from class javax.media.jai.OperationDescriptorImpl |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SquareRootStretchDescriptor()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |