[Insight-users] Speeding up the evaluation of the itk::Gaussian?
motes motes
mort.motes at gmail.com
Wed Sep 9 03:35:27 EDT 2009
I am running Vista 64, Visual Studio 2008. I am not sure what you mean
with BUILD_TYPE. I have just used the cmake installer when installing
ITK but without the examples and testing modules.
On Wed, Sep 9, 2009 at 2:46 AM, Bill Lorensen<bill.lorensen at gmail.com> wrote:
> 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