public static interface AnisotropicDiffusion.ConductionCoefficientFunction
Modifier and Type | Method and Description |
---|---|
float |
apply(float grad,
int x,
int y)
Compute the conduction coefficient given gradient and position.
|
float apply(float grad, int x, int y)
grad
- the gradientx
- the x-position in the imagey
- the y-position in the image