layerfMRI / LAYNII

Stand alone fMRI software suite for layer-fMRI analyses.
BSD 3-Clause "New" or "Revised" License
85 stars 26 forks source link

Add divergence program LN2_DIVERGENCE #68

Closed ofgulban closed 3 months ago

ofgulban commented 1 year ago

I find divergence operator (Laplacian of a vector field) useful when analyzing images.

Image from: https://en.wikipedia.org/wiki/Del

ofgulban commented 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).