Class AlgorithmMarkovSegment

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

    • class_number

      private int class_number
    • potential

      private double potential
    • iterations

      private int iterations
  • Constructor Details

    • AlgorithmMarkovSegment

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