Package com.luciad.imaging.operator


package com.luciad.imaging.operator
Defines image processing operators that can be applied to an ALcdImage. An ALcdImageOperator is a function which creates an image based on a given set of input parameters. As an example, the convolve operator takes an image and a convolution kernel as input, and produces the convolved version of the image as output.

An ALcdImageOperatorChain can combine one or more ALcdImageOperators. Like an operator, a chain produces a processed image as output. However, it only takes a single image as input, which is automatically propagated through the operators that comprise the chain. This allows the same processing steps to be applied to multiple input images with minimal code.

The provided image operators can be used in two ways:

  • Via the generic apply() method: the operator's inputs are supplied in an ILcdDataObject. The data object allows introspection of the operator's parameters and their types. Hence, this approach can be useful, for instance, when binding operator parameters to GUI controls.
  • Via static methods in each concrete operator, e.g. TLcdBandSelectOp.bandSelect(com.luciad.imaging.ALcdImage, int[]): these methods can be more user-friendly when creating operators programmatically. The method signatures reflect the parameters required by the operators, so they provide a more direct and type-safe way to apply an operator, resulting in more readable code.
Since:
2014.0