Class AlgorithmFastMarching

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

    public class AlgorithmFastMarching
    extends AlgorithmBase
    DOCUMENT ME!
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Use serialVersionUID for interoperability.
        See Also:
        Constant Field Values
      • m_bIterate

        private boolean m_bIterate
        DOCUMENT ME!
      • m_bNext

        private boolean m_bNext
        DOCUMENT ME!
      • m_iFilterType

        private int m_iFilterType
        Type of level set diffusion filter to apply.
      • m_iDiffusionIterations

        private int m_iDiffusionIterations
        The number of iterations to use in the nonlinear diffusion (curvature flow filter) applied to the input image.
      • m_fGradientMagnitudeScale

        private float m_fGradientMagnitudeScale
        The scale to use in computing the blurred gradient magnitude of the curvature flow image.
      • m_fSigmoidAlpha

        private float m_fSigmoidAlpha
        The parameters for the sigmoid function through which the blurred gradient magnitude image is processed. The variance of the function.
      • m_fSigmoidBeta

        private float m_fSigmoidBeta
        The parameters for the sigmoid function through which the blurred gradient magnitude image is processed. The center of the function.
      • m_fSigmoidMin

        private float m_fSigmoidMin
        The parameters for the sigmoid function through which the blurred gradient magnitude image is processed. The minimum of the function.
      • m_fSigmoidMax

        private float m_fSigmoidMax
        The parameters for the sigmoid function through which the blurred gradient magnitude image is processed. The maximum of the function.
      • m_iMaxCoarse

        private int m_iMaxCoarse
        Number of coarse iterations
      • m_fMaxDistance

        private float m_fMaxDistance
        The maximum distance to allow when computing the signed distance transform.
      • m_fAdvectionWeight

        private float m_fAdvectionWeight
        The advection coefficient 'a' in the PDE that controls the evolution.
      • m_fPropagationWeight

        private float m_fPropagationWeight
        The propagation coefficient 'b' in the PDE that controls the evolution.
      • m_fCurvatureWeight

        private float m_fCurvatureWeight
        The curvature coefficient 'c' in the PDE that controls the evolution.
      • m_fLaplacianWeight

        private float m_fLaplacianWeight
        The Laplacian coefficient 'd' in the PDE that controls the evolution.
      • m_iMaxEvolution

        private int m_iMaxEvolution
        Number of evolution iterations
      • m_bImage25D

        private boolean m_bImage25D
        Calculate per-slice:
      • m_iSlice

        private int m_iSlice
    • Constructor Detail

      • AlgorithmFastMarching

        public AlgorithmFastMarching​(ModelImage _image)
        Creates a new ViewJFrameFastMarching3 object.
        Parameters:
        _image - DOCUMENT ME!
        _LUT - DOCUMENT ME!
      • AlgorithmFastMarching

        public AlgorithmFastMarching​(ModelImage _image,
                                     int iFilterType,
                                     int iIters,
                                     float fGMScale,
                                     float fSAlpha,
                                     float fSBeta,
                                     float fSMin,
                                     float fSMax,
                                     int iCoarseMax,
                                     float fMaxDistance,
                                     float fAdvectionWeight,
                                     float fPropagationWeight,
                                     float fCurvatureWeight,
                                     float fLaplacianWeight,
                                     int iEvolveMax,
                                     boolean bImage25D)
        Creates a new AlgorithmFastMarching3 object.
        Parameters:
        _image - reference to the source image
        iIters - The number of iterations to use in the nonlinear diffusion (curvature flow filter) applied to the input image.
        fGMScale - The scale to use in computing the blurred gradient magnitude of the curvature flow image.
        fSAlpha - The parameters for the sigmoid function through which the blurred gradient magnitude image is processed. The variance of the function.
        fSBeta - The parameters for the sigmoid function through which the blurred gradient magnitude image is processed. The center of the function.
        fSMin - The parameters for the sigmoid function through which the blurred gradient magnitude image is processed. The minimum of the function.
        fSMax - The parameters for the sigmoid function through which the blurred gradient magnitude image is processed. The maximum of the function.
        iCoarseMax - Number of coarse iterations
        fMaxDistance - The maximum distance to allow when computing the signed distance transform. * @param fAdvectionWeight The advection coefficient 'a' in the PDE that controls the evolution.
        fPropagationWeight - The propagation coefficient 'b' in the PDE that controls the evolution.
        fCurvatureWeight - The curvature coefficient 'c' in the PDE that controls the evolution.
        fLaplacianWeight - The Laplacian coefficient 'd' in the PDE that controls the evolution.
        iEvolveMax - Number of evolution 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
      • runAlgorithm3D

        public void runAlgorithm3D()
      • runAlgorithm25D

        private void runAlgorithm25D()
      • DrawEvolve3D

        private void DrawEvolve3D​(LseSegmenter kSegmenter)
        DOCUMENT ME!
        Parameters:
        kSegmenter - DOCUMENT ME!
        afImage - DOCUMENT ME!
      • DrawFastMarch3D

        private void DrawFastMarch3D​(LseSegmenter kSegmenter)
        DOCUMENT ME!
        Parameters:
        kSegmenter - DOCUMENT ME!
        afImage - DOCUMENT ME!
      • runAlgorithm2D

        public void runAlgorithm2D()
      • DrawEvolve2D

        private void DrawEvolve2D​(LseSegmenter kSegmenter)
        DOCUMENT ME!
        Parameters:
        kSegmenter - DOCUMENT ME!
        afImage - DOCUMENT ME!
      • DrawFastMarch2D

        private void DrawFastMarch2D​(LseSegmenter kSegmenter)
        DOCUMENT ME!
        Parameters:
        kSegmenter - DOCUMENT ME!
        afImage - DOCUMENT ME!