Class AnisotropicDiffusion
- All Implemented Interfaces:
Provider<Channel>,ProviderAsStack
Performs Perona-Malik Anisotropic
Diffusion.
See the ImgLib2 plugin documentation.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFromChannel(Channel channel) Creates aChannelgiven the entity provided by the delegate.doublethe integration constant for the numerical integration scheme.intHow many iterations to perform diffusion.doublegetKappa()A parameter kappa associated with the diffusion functions.booleanisDo3D()Whether to perform the diffusion in 3D direction, or rather only in the 2D plane.booleanIf true uses, the strong-edge-enhancer diffusion function, otherwise the wide-region-enhancer.voidsetDeltat(double deltat) the integration constant for the numerical integration scheme.voidsetDo3D(boolean do3D) Whether to perform the diffusion in 3D direction, or rather only in the 2D plane.voidsetIterations(int iterations) How many iterations to perform diffusion.voidsetKappa(double kappa) A parameter kappa associated with the diffusion functions.voidsetStrongEdgeEnhancer(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, setChannelMethods inherited from class org.anchoranalysis.image.bean.provider.ChannelProvider
getAsStackMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
AnisotropicDiffusion
public AnisotropicDiffusion()
-
-
Method Details
-
createFromChannel
Description copied from class:ChannelProviderUnaryCreates aChannelgiven the entity provided by the delegate.- Specified by:
createFromChannelin classChannelProviderUnary- Parameters:
channel- the entity provided by the delegate.- Returns:
- the created
Channelthat is returned by the provider. - Throws:
ProvisionFailedException- if the provider cannot complete successfully.
-
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.
-