Class AlgorithmDualContourSearch

java.lang.Object
java.lang.Thread
gov.nih.mipav.model.algorithms.AlgorithmBase
gov.nih.mipav.model.algorithms.AlgorithmDualContourSearch
All Implemented Interfaces:
ActionListener, WindowListener, Runnable, EventListener

public class AlgorithmDualContourSearch extends AlgorithmBase
  • Field Details

    • innerIndex

      private int innerIndex
    • outerIndex

      private int outerIndex
    • contourPoints

      private int contourPoints
    • linePoints

      private int linePoints
    • regularization

      private double regularization
    • resultVOI

      private VOI resultVOI
    • GxData

      private double[] GxData
      Storage location of the first derivative of the Gaussian in the X direction.
    • GyData

      private double[] GyData
      Storage location of the first derivative of the Gaussian in the Y direction.
    • kExtents

      private int[] kExtents
      Dimensionality of the kernel.
    • sigmas

      private double[] sigmas
      Standard deviations of the gaussian used to calculate the kernels.
    • pixelsContract

      private int pixelsContract
    • pixelsExpand

      private int pixelsExpand
  • Constructor Details

    • AlgorithmDualContourSearch

      public AlgorithmDualContourSearch(ModelImage srcImg, int innerIndex, int outerIndex, int contourPoints, int linePoints, double regularization, double[] sigmas, int pixelsContract, int pixelsExpand)
  • 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
    • getResultVOI

      public VOI getResultVOI()
      Accessor that returns the resultant VOI.
      Returns:
      resultant VOI that has localized to the boundaries of the object
    • run2D

      public void run2D()
    • run3D

      public void run3D()
    • makeKernels2D

      private void makeKernels2D()
      Makes derivative kernels to be used in the calculation of the gradient magnitude.
    • generateTestImage

      private void generateTestImage()