2
$\begingroup$

I am working on an image processing project in java where we use anisotropic diffusion for scale space generation.

In the below equation, after finding the diffusion value.using the second equation, I do not know how to find the divergence of diffusivity and gradient.

enter image description here enter image description here

Since I am getting the diffusivity as a float value. I do not know how to find the divergence of that.can anyone please help me.

$\endgroup$
2
$\begingroup$

I coded a modest Java implementation of the Perona & Malik anisotropic diffusion, based on the ImgLib2 library. You can find it here.

You will have to import and learn how to use the ImgLib2 library though. Here is an example using the anisotropic diffusion algorithm.

Otherwise, here is a 2D only implementation, by Vladimir Pilny and Jiri Janacek, made for the ImageJ software.

And here is another one for ImageJ as well, by Christopher Mei.

Best regards.

$\endgroup$
  • $\begingroup$ The third solution by Christopher Mei worked.Many thanks. $\endgroup$ – Anju Davis Mar 6 '15 at 17:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.