[Insight-users] resampler->Update(); ??

Bill Lorensen bill.lorensen at gmail.com
Sun Oct 4 17:47:35 EDT 2009


Place a std::cout  in your class.

On Sun, Oct 4, 2009 at 5:29 PM, motes motes <mort.motes at gmail.com> wrote:
> In some code I do:
>   typedef itk::ResampleImageFilter< FixedImageType, FixedImageType >
>                                            ResampleFilterType;
>   ResampleFilterType resampler = ResampleFilterType::New();
>
>
>    resampler->SetInput(imageM);
>    resampler->SetTransform(registration->GetTransform());
>    resampler->SetInterpolator(registration->GetInterpolator());
>    resampler->SetOutputOrigin(imageF->GetOrigin());
>    resampler->SetOutputSpacing(imageF->GetSpacing());
>    resampler->SetSize(imageF->GetLargestPossibleRegion().GetSize());
>    resampler->SetDefaultPixelValue(DefaultPixelValue);
>    resampler->Update();
>
> I have implemented my own transform and would like to be sure that its
> the one that is applied when calling:
>
>    resampler->Update();
>
> but where is the implementation of:
>
>    resampler->Update();
>
> I have tried walking up the inheritance hieraki but I cannot find the
> implementation.  Any ideas?
> _____________________________________
> 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