From Ohm

Gradient Calculation

The gradient vector is computed on a discrete grid by finite differences method.

$ \nabla f = (\frac{df}{dx}, \frac{df}{dy}, \frac{df}{dz})^T $

Normal $ \vec{n} = \nabla f = (\frac{f(x+\Delta s,y,z)-f(x-\Delta s,y,z)}{2\Delta s}, \frac{f(x,y+\Delta s,z)-f(x,y-\Delta s,z)}{2\Delta s}, \frac{f(x,y,z+\Delta s)-f(x,y,z-\Delta s)}{2\Delta s})^T $

Retrieved from http://schorsch.efi.fh-nuernberg.de/roettger/index.php/MedicalVisualization/GradientCalculation

Page last modified on March 30, 2017, at 11:44 PM