Class GeneralFilterBand

All Implemented Interfaces:
Extensible, Scaling, SceneTransformProvider

public class GeneralFilterBand extends FilterBand
A band that obtains its input data from an underlying source raster and filters its data using a predefined operation type.
  • Constructor Details

    • GeneralFilterBand

      public GeneralFilterBand(String name, RasterDataNode source, GeneralFilterBand.OpType opType, Kernel structuringElement, int iterationCount)
      Creates a GeneralFilterBand.
      Parameters:
      name - the name of the band.
      source - the source which shall be filtered.
      opType - the predefined operation type.
      structuringElement - the structuring element (as used by morphological filters)
    • GeneralFilterBand

      public GeneralFilterBand(String name, RasterDataNode source, Dimension filterBandSize, GeneralFilterBand.OpType opType, Kernel structuringElement, int iterationCount)
  • Method Details

    • getOpType

      public GeneralFilterBand.OpType getOpType()
    • getStructuringElement

      public Kernel getStructuringElement()
    • getIterationCount

      public int getIterationCount()
    • createSourceLevelImage

      protected RenderedImage createSourceLevelImage(RenderedImage sourceImage, int level, RenderingHints rh)
      Returns the source level-image according the the
      Specified by:
      createSourceLevelImage in class FilterBand
      Parameters:
      sourceImage - The geophysical source image. No-data is masked as NaN.
      level - The image level.
      rh - Rendering hints. JAI.KEY_BORDER_EXTENDER is set to BorderExtenderCopy.BORDER_COPY.
      Returns:
      The resulting filtered level image.