Class AlgorithmRegionsFromPartialBorders

java.lang.Object
java.lang.Thread
gov.nih.mipav.model.algorithms.AlgorithmBase
gov.nih.mipav.model.algorithms.AlgorithmRegionsFromPartialBorders
All Implemented Interfaces:
ActionListener, WindowListener, Runnable, 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 Details

    • threshold

      private double threshold
    • darkObjectOnWhiteBackground

      private boolean darkObjectOnWhiteBackground
    • maximumDistance

      private double maximumDistance
  • Constructor Details

    • AlgorithmRegionsFromPartialBorders

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

    • runAlgorithm

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