Class AnisotropicDiffusion

Object
AnchorBean<ChannelProvider>
InitializableBean<ChannelProvider, ImageInitialization>
ImageBean<ChannelProvider>
BeanProviderAsStackBase<ChannelProvider, Channel>
ChannelProvider
ChannelProviderUnary
AnisotropicDiffusion
All Implemented Interfaces:
Provider<Channel>, ProviderAsStack

public class AnisotropicDiffusion extends ChannelProviderUnary
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Channel
    createFromChannel(Channel channel)
     
    double
    the integration constant for the numerical integration scheme.
    int
    How many iterations to perform diffusion.
    double
    A parameter kappa associated with the diffusion functions.
    boolean
    Whether to perform the diffusion in 3D direction, or rather only in the 2D plane.
    boolean
    If true uses, the strong-edge-enhancer diffusion function, otherwise the wide-region-enhancer.
    void
    setDeltat(double deltat)
    the integration constant for the numerical integration scheme.
    void
    setDo3D(boolean do3D)
    Whether to perform the diffusion in 3D direction, or rather only in the 2D plane.
    void
    setIterations(int iterations)
    How many iterations to perform diffusion.
    void
    setKappa(double kappa)
    A parameter kappa associated with the diffusion functions.
    void
    setStrongEdgeEnhancer(boolean strongEdgeEnhancer)
    If true uses, the strong-edge-enhancer diffusion function, otherwise the wide-region-enhancer.

    Methods inherited from class org.anchoranalysis.image.bean.provider.ChannelProviderUnary

    get, getChannel, setChannel

    Methods inherited from class org.anchoranalysis.image.bean.provider.ChannelProvider

    getAsStack

    Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean

    getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AnisotropicDiffusion

      public AnisotropicDiffusion()
  • Method Details

    • createFromChannel

      public Channel createFromChannel(Channel channel) throws ProvisionFailedException
      Specified by:
      createFromChannel in class ChannelProviderUnary
      Throws:
      ProvisionFailedException
    • getKappa

      public double getKappa()
      A parameter kappa associated with the diffusion functions.
    • setKappa

      public void setKappa(double kappa)
      A parameter kappa associated with the diffusion functions.
    • getDeltat

      public double getDeltat()
      the integration constant for the numerical integration scheme. Typically less that 1.
    • setDeltat

      public void setDeltat(double deltat)
      the integration constant for the numerical integration scheme. Typically less that 1.
    • isDo3D

      public boolean isDo3D()
      Whether to perform the diffusion in 3D direction, or rather only in the 2D plane.
    • setDo3D

      public void setDo3D(boolean do3D)
      Whether to perform the diffusion in 3D direction, or rather only in the 2D plane.
    • getIterations

      public int getIterations()
      How many iterations to perform diffusion.
    • setIterations

      public void setIterations(int iterations)
      How many iterations to perform diffusion.
    • isStrongEdgeEnhancer

      public boolean isStrongEdgeEnhancer()
      If true uses, the strong-edge-enhancer diffusion function, otherwise the wide-region-enhancer.
    • setStrongEdgeEnhancer

      public void setStrongEdgeEnhancer(boolean strongEdgeEnhancer)
      If true uses, the strong-edge-enhancer diffusion function, otherwise the wide-region-enhancer.