Class AlgorithmMarkovSegment

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

    public class AlgorithmMarkovSegment
    extends AlgorithmBase
    Author:
    ilb This is a port of the Lin code from MATLAB to Java. The code is located at: https://www.mathworks.com/matlabcentral/fileexchange/33592-image-segmentation-based-on-markov-random-fields where it simply says: I have written codes for image segmentation based on Markov Random Fields.
    • Field Detail

      • class_number

        private int class_number
      • potential

        private double potential
      • iterations

        private int iterations
    • Constructor Detail

      • AlgorithmMarkovSegment

        public AlgorithmMarkovSegment​(ModelImage destImg,
                                      ModelImage srcImg,
                                      int class_number,
                                      double potential,
                                      int iterations)
    • 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