[Insight-users] Spacing/Gradient Issue.

Dan Mueller dan.muel at gmail.com
Tue Feb 3 06:19:47 EST 2009


Hi Zein,

It depends on which mechanism you use to compute the gradient (eg.
image filter/function), and in some cases if you turn on/off support
for image spacing. For example:

GradientImageFilter:
    requires SetUseImageSpacingOn()
GradientRecursiveGaussianImageFilter:
    always uses spacing, but you may also want to consider
    SetNormalizeAcrossScale() and UseImageDirection()
GaussianDerivativeImageFunction (in Review folder):
    by default uses spacing, does not configurable
DiscreteGaussianDerivativeImageFilter (in Review folder):
    requires SetUseImageSpacingOn()
DiscreteGaussianDerivativeImageFunction (in Review folder):
    requires UseImageSpacingOn(), but you may also want
    to consider SetNormalizeAcrossScale()

Hope this helps.

Regards, Dan

2009/2/3 Zein Salah <salah at gris.uni-tuebingen.de>:
> Hi,
>
> I am wondering if ITK takes image spacing into account when computing the
> gradient of an image??
>
> Best regards,
> Zein
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>


More information about the Insight-users mailing list