[Insight-users] ResampleVolumesToBeIsotropic.cxx Interpolator
has no effect?
Luis Ibanez
luis.ibanez at kitware.com
Sat Jun 18 10:13:58 EDT 2005
Hi Vera,
A quick look at the source code of the file
itkResampleImageFilter.txx
in the directory
Insight/Code/BasicFilters
will show you that this filter by default
instantiates a LinearInterpolator.
So...
If you forget to connect an interpolator to
this filter, the default Linear interpolator
will be used.
Ahhh the Joy of Open Source !
Where all the answers are a 'grep' away
Regards,
Luis
---------------------
Vera Naumburger wrote:
> Hi,
>
> in my application I resample DICOM slices by including the example:
> ResampleVolumesToBeIsotropic.cxx.
> Although I´m satisfied with the result, I wonder why it seems to have
> no effect if I set the interpolator or not:
>
> m_resampler->SetInterpolator( interpolator );
>
> When I do not set the interpolator (itkLinearInterpolateImageFunction)
> the resulting image looks exactly the same.
>
> Do you have any idea?
>
> Thanks and kind regards,
> Vera
> _______________________________________________
> 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