Class AlgorithmEdgeDetection3D

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

public class AlgorithmEdgeDetection3D extends AlgorithmBase
  • Field Details

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

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

    • finalize

      public void finalize()
      finalize -
      Overrides:
      finalize in class AlgorithmBase
    • runAlgorithm

      public void runAlgorithm()
      Starts the program.
      Specified by:
      runAlgorithm in class AlgorithmBase
    • getXComponent

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

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

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

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

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

      public double[][][] getMagnitude()