Class AlgorithmRegionsFromPartialBorders

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

    public class AlgorithmRegionsFromPartialBorders
    extends AlgorithmBase
    Author:
    ilb References: 1.) "Texture Primitive Extraction Using an Edge-Based Approach" by Tsai-Hong Hong, Charles R. Dyer, and Azriel Rosenfeld, IEEE Transactions on Systems, Man, and Cybernetics, Vol. SMC-10, No. 10, October, 1980, pp. 659-675. 2.) Image Processing, Analysis, and Machine Vision 4th edition International Edition by Milan Sonka, Vaclav Hlavac, and Roger Boyle, Section 6.2.8 Region construction from borders, pp. 218-220.
    • Field Detail

      • threshold

        private double threshold
      • darkObjectOnWhiteBackground

        private boolean darkObjectOnWhiteBackground
      • maximumDistance

        private double maximumDistance
    • Constructor Detail

      • AlgorithmRegionsFromPartialBorders

        public AlgorithmRegionsFromPartialBorders​(ModelImage destImg,
                                                  ModelImage srcImg,
                                                  double threshold,
                                                  boolean darkObjectOnWhiteBackground,
                                                  double maximumDistance)
        Creates a new AlgorithmRegionsFromPartialBorders object.
        Parameters:
        srcImg - source image model
    • Method Detail

      • runAlgorithm

        public void runAlgorithm()
        Description copied from class: AlgorithmBase
        Actually runs the algorithm. Implemented by inheriting algorithms.
        Specified by:
        runAlgorithm in class AlgorithmBase