[Insight-developers] Image Derivatives - physical vs. index space

Luis Ibanez luis.ibanez at kitware.com
Thu Jul 2 17:48:21 EDT 2009


Hi Samuel,

You are right,
the DerivativesImageFilter is not currently taking
the image orientation into account.

It looks like we missed to include this filter in the
list of filters that needed to be adapted.

The itkGradientImageFilter, on the other hand,
was converted to take image orientation into
account.

This was done, first as an option on Oct 2007.
and later converted in to a defauilt on Nov 2008.

See the CVS logs
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/BasicFilters/itkGradientImageFilter.txx?root=Insight&r1=1.21&r2=1.22
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/BasicFilters/itkGradientImageFilter.txx?root=Insight&r1=1.24&r2=1.24.2.1
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/BasicFilters/itkGradientImageFilter.txx?root=Insight&r1=1.24&r2=1.25


Please add a bug entry for the itkDerivativesImageFilter,
in the MANTIS bug tracker:
http://public.kitware.com/Bug/my_view_page.php

The fix will come down to calling the image method:

 inputImage->RotateArrayByDirectionCosines( gradient, rotatedGradient );

after every computation of a derivative vector.



In the meantime,
Could you use the itkGradientImageFilter, instead
of the DerivativesImageFilter for your application ?


      Regards,


            Luis


----------------------------------------------------------------------------------------
On Thu, Jul 2, 2009 at 4:41 PM, Samuel Gerber <sgerber at cs.utah.edu> wrote:

> Hi
>
> I need to compute image derivatives in physical space. From my
> understanding the derivatives computed from itkDerivativesImageFilter are
> either in index space or in physical space but without taking the direction
> into account. I found this page:
> http://www.vtk.org/Wiki/Proposals:Oriented_Image_Registration
> and was wondering what the current status is and the preferred way to
> compute  derivatives in physical space (including orientation).
>
> Thanks
> Sam
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20090702/e71ed7d2/attachment.htm>


More information about the Insight-developers mailing list