Class AlgorithmEdgeDetection3D

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

    public class AlgorithmEdgeDetection3D
    extends AlgorithmBase
    • Field Detail

      • dx

        private double dx
      • dy

        private double dy
      • dz

        private double dz
      • nx

        private int nx
      • ny

        private int ny
      • nz

        private int nz
      • L

        private double L
      • threshold

        double threshold
      • componentsRequired

        private boolean componentsRequired
      • anglesRequired

        private boolean anglesRequired
      • magnitudeRequired

        private boolean magnitudeRequired
      • FX

        private double[][][] FX
      • FY

        private double[][][] FY
      • FZ

        private double[][][] FZ
      • thetaMAX

        private double[][][] thetaMAX
      • phiMAX

        private double[][][] phiMAX
      • FMAX

        private double[][][] FMAX
    • Constructor Detail

      • AlgorithmEdgeDetection3D

        public AlgorithmEdgeDetection3D()
        AlgorithmEdgeDetection3D - default constructor.
      • AlgorithmEdgeDetection3D

        public AlgorithmEdgeDetection3D​(ModelImage destImg,
                                        ModelImage srcImg,
                                        double dx,
                                        double dy,
                                        double dz,
                                        int nx,
                                        int ny,
                                        int nz,
                                        double L,
                                        double threshold,
                                        boolean componentsRequired,
                                        boolean anglesRequired,
                                        boolean magnitudeRequired)
        AlgorithmEdgeDetection3D.
        Parameters:
        destImg - destination image
        srcImg - source image
        dx - x length of the prism over which the data is integrated
        dy - y length of the prism over which the data is integrated
        dz - z length of the prism over which the data is integrated
        nx - mask x dimension
        ny - mask y dimension
        nz - mask z dimension
        L - Neighborhood size for the directional gradient averaging
        threshold - (FMAX/largestFMAX) must be >= threshold to be made an edge
        componentsRequired - If true, keep FX, FY, and FZ arrays.
        anglesRequired - If true, keep thetaMAX and phiMAX arrays.
        magnitudeRequired - If true, keep FMAX array.
    • Method Detail

      • getXComponent

        public double[][][] getXComponent()
      • getYComponent

        public double[][][] getYComponent()
      • getZComponent

        public double[][][] getZComponent()
      • getTheta

        public double[][][] getTheta()
      • getPhi

        public double[][][] getPhi()
      • getMagnitude

        public double[][][] getMagnitude()