Class GeneralFilterBand

    • Constructor Detail

      • 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)
    • Method Detail

      • 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.