Class AlgorithmDualContourSearch

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

    public class AlgorithmDualContourSearch
    extends AlgorithmBase
    • Field Detail

      • 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 Detail

      • AlgorithmDualContourSearch

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