Closed ofgulban closed 3 months ago
Functionality for this is now implemented with the new phase programs LN2_PHASE_LAPLACIAN
and LN2_PHASE_GRADIENTS
released with LayNii v2.7.0. I did not need to compute divergence on a vector input yet so I will wait for a need to arise before implementing e.g. LN2_PHASE_DIVERGENCE
or LN2_DIVERGENCE
. Also, a related issue I close now if #90 (for future reference).
I find divergence operator (Laplacian of a vector field) useful when analyzing images.
[x] Implement circular variant that can be used with phase images
Image from: https://en.wikipedia.org/wiki/Del