public static class PeronaMalikAnisotropicDiffusion.WideRegionEnhancer extends Object implements PeronaMalikAnisotropicDiffusion.DiffusionFunction
g(∇I) = 1 / ( 1 + (||∇I/κ||²) )
Constructor and Description |
---|
WideRegionEnhancer(double kappa) |
Modifier and Type | Method and Description |
---|---|
double |
eval(double gradi,
long[] position)
Return the conduction coefficient in a given direction, from the value
of the image gradient in that direction
|
public double eval(double gradi, long[] position)
PeronaMalikAnisotropicDiffusion.DiffusionFunction
eval
in interface PeronaMalikAnisotropicDiffusion.DiffusionFunction
gradi
- value of the image gradient in the given directionposition
- a long array that holds the relative gradient directionCopyright © 2015–2022 ImgLib2. All rights reserved.