Class AlgorithmEdgePreservingSmoothing

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.awt.event.WindowListener, java.lang.Runnable, java.util.EventListener

    public class AlgorithmEdgePreservingSmoothing
    extends AlgorithmBase
    These are Maximum Homogeneity Neighbor Filters. The standard from Nagao: At each point the variance of 9 masks are compared with each other, and the average gray level of the least variance mask is given to the point. There is one traditional 3 by 3 mask, an up 7 point pentagonal mask, a down 7 point pentagonal mask, a left 7 point pentagonal mask, a right 7 point pentagonal mask, and 4 diagonal 7 point hexagonal masks. Extended From Wang: The 9 masks used all have 9 points. 5 are traditional 3 by 3 masks. 4 are 5,3,1 stacks.
    Author:
    ilb References: 1.) Edge Preserving Smoothing by Makoto Nagao and Takashi Matsuyama, Proceedings of the Fourth International Joint Conference on Pattern Recognition, November, 1978, pp. 518-520. 2.) A New Approach to Edge-Preserving Smoothing for Edge Extraction and Image Segmentation by Carsten Garnica, Frank Boochs, and Marek Twardochlib, International Archives of Photogrammetry and Remote Sensing, Vol. XXXIII, Part B3., Amsterdam, 2000.
    • Field Detail

      • iterations

        private int iterations
      • entireImage

        private boolean entireImage
      • mask

        private java.util.BitSet mask
        contains VOI.
      • standard

        private boolean standard
    • Constructor Detail

      • AlgorithmEdgePreservingSmoothing

        public AlgorithmEdgePreservingSmoothing​(ModelImage destImg,
                                                ModelImage srcImg,
                                                boolean standard,
                                                int iters,
                                                boolean entireImage)