GradientMagnitudeImageFilter vs SobelEdgeDetectionImageFilter

There are a number of edge related filters list here.

I am trying to understand the difference between GradientMagnitudeImageFilter and SobelEdgeDetectionImageFilter. GradientMagnitudeImageFilter can incorporate pixel spacing. Aside from that (ie assuming equal pixel spacing or UseImageSpacing is off), what is the difference between these filters? It seems to boil down to the difference between DerivativeOperator and SobelOperator.

Hi Alex,

Yes, that is correct. The difference is detailed in the class documentation for the operators: itk::DerivativeOperator and itk::SobelOperator.