[Insight-users] Speeding up the evaluation of the itk::Gaussian?

Bill Lorensen bill.lorensen at gmail.com
Tue Sep 8 20:46:35 EDT 2009


What platform are you running on? What compiler? What BUILD_TYPE?

On Tue, Sep 8, 2009 at 7:53 PM, motes motes<mort.motes at gmail.com> wrote:
> In a loop that iterates a 128*128 image I am currently using a 2D itk::Gaussian:
>
>
> #include "itkGaussianSpatialObject.h"
> ....
>
>  ti.GoToBegin();
>
>  while(!ti.IsAtEnd())  {
>
>      .....
>      InputPointType translated = tmp + (location-point);
>      double value;
>      m_Gaussian->ValueAt(translated, value);
>      ....
>
> }
>
> but it totally kills the performance (without the gaussian call it
> takes seconds and with the gaussian call it takes minutes!). Is there
> someway to speed up the evaluation of the 2D  itk::Gaussian ?
> _____________________________________
> 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-users
>


More information about the Insight-users mailing list