Class AlgorithmIsophoteCurvature

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

    public class AlgorithmIsophoteCurvature
    extends AlgorithmBase
    implements AlgorithmInterface
    • Field Detail

      • GxData

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

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

        private float[] GzData
        Storage location of the first derivative of the Gaussian in the Z direction.
      • GxxData

        private float[] GxxData
      • GxyData

        private float[] GxyData
      • GyyData

        private float[] GyyData
      • kExtents

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

        private float[] sigmas
        Standard deviations of the gaussian used to calculate the kernels.
      • entireImage

        private boolean entireImage
      • oX

        private float[] oX
        Stores output of AlgorithmConvolver
      • oY

        private float[] oY
      • oZ

        private float[] oZ
      • oXX

        private float[] oXX
      • oXY

        private float[] oXY
      • oYY

        private float[] oYY
      • operationType

        private int operationType
    • Constructor Detail

      • AlgorithmIsophoteCurvature

        public AlgorithmIsophoteCurvature​(ModelImage srcImg,
                                          float[] sigmas,
                                          boolean entireImage,
                                          boolean image25D)
      • AlgorithmIsophoteCurvature

        public AlgorithmIsophoteCurvature​(ModelImage destImg,
                                          ModelImage srcImg,
                                          float[] sigmas,
                                          boolean entireImage,
                                          boolean image25D)
    • Method Detail

      • cleanUp

        public void cleanUp()
      • finalize

        public void finalize()
        finalize - sets class storages arrays to null so that System.gc() can free the memory.
        Overrides:
        finalize in class AlgorithmBase
      • calc25D

        private void calc25D()
      • calc3D

        private void calc3D()
      • makeKernels2D

        private void makeKernels2D()
        makeKernals2D - creates the derivative kernels used to calculate the gradient magnitude.
      • makeKernels3D

        private void makeKernels3D()
        makeKernals3D - creates the derivative kernels used to calculate the gradient magnitude.
      • algorithmPerformed

        public void algorithmPerformed​(AlgorithmBase algorithm)
        Description copied from interface: AlgorithmInterface
        Called after an algorithm this listener is registered to exits (maybe successfully, maybe not). If the algorithm is run in a separate thread, this call will be made within that thread. If not, this call will be made from that same, shared thread.
        Specified by:
        algorithmPerformed in interface AlgorithmInterface
        Parameters:
        algorithm - the algorithm which has just completed