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