public abstract class ALcdImageOperator extends Object
ALcdImage
as output.
The required parameters of an operator are described by a
TLcdDataType. Typically, one parameter will
be the input image to be processed by the operator.
The apply(com.luciad.datamodel.ILcdDataObject) method applies
the operator to a data object with the appropriate
data type. It returns an image which
represents the result of the operator. Applying an operator does not incur
any significant processing: it is only when pixel data is read from the image
that the actual processing is performed by the
ALcdImagingEngine
.
Operators can be combined to perform more complex image processing by using
an ALcdImageOperatorChain
.Modifier and Type | Class and Description |
---|---|
protected static class |
ALcdImageOperator.ImageOperatorTypeBuilder
Data type builder for ALcdImageOperators.
|
Modifier and Type | Field and Description |
---|---|
static String |
INPUT_IMAGE_NAME
Name of the input image data property which is used by operators that take a single image as input.
|
Modifier | Constructor and Description |
---|---|
protected |
ALcdImageOperator(TLcdDataType aDataType)
Constructs a new operator with the given parameter data type.
|
Modifier and Type | Method and Description |
---|---|
abstract ALcdImage |
apply(ILcdDataObject aParameters)
Applies this operator to the given input parameters.
|
protected static ALcdImageOperator.ImageOperatorTypeBuilder |
createTypeBuilder(String aVendor,
String aOperator)
Returns a builder that can be used to create data types for new image operators.
|
protected static ALcdImageOperator.ImageOperatorTypeBuilder |
createTypeBuilder(String aVendor,
String aOperator,
Class aImplementationClass)
Returns a builder that can be used to create data types for new image operators.
|
boolean |
equals(Object o) |
TLcdDataType |
getParameterDataType()
Returns the data type of the objects accepted by the
apply(com.luciad.datamodel.ILcdDataObject) method.
|
int |
hashCode() |
String |
toString() |
public static final String INPUT_IMAGE_NAME
protected ALcdImageOperator(TLcdDataType aDataType)
aDataType
- the data type of the objects accepted by the apply() methodpublic abstract ALcdImage apply(ILcdDataObject aParameters)
aParameters
- the parameters for the operatorpublic TLcdDataType getParameterDataType()
protected static ALcdImageOperator.ImageOperatorTypeBuilder createTypeBuilder(String aVendor, String aOperator, Class aImplementationClass)
aVendor
- vendor namespace for the operatoraOperator
- the name of the operatoraImplementationClass
- the concrete instance class of the data type to be created. Can be TLcdDataObject in most cases.protected static ALcdImageOperator.ImageOperatorTypeBuilder createTypeBuilder(String aVendor, String aOperator)
aVendor
- vendor namespace for the operatoraOperator
- the name of the operator