Hello,

using the gradient filter on a vector fields yields the nine components of the gradient tensor and also a scalar magnitude. It is my understanding that the gradient filter computes the gradient as an Image gradient via this script: https://gitlab.kitware.com/vtk/vtk/blob/master/Imaging/General/vtkImageGradient.cxx

Unfortunately, I can’t work out the exact definition of the magnitude and how it is computed (having some trouble interpreting the above script). Can anyone perhaps help me and point out which definition of a matrix norm is used?