[Insight-users] What is the *correct* way to downsample an image with ITK?

Nicholas Tustison ntustison at gmail.com
Fri Jun 11 10:08:43 EDT 2010


Hi Joel,

I don't know that it would help you but, just for completeness, you could try Gaussian interpolation

http://www.insight-journal.org/browse/publication/705

Nick



On Jun 11, 2010, at 8:30 AM, Joel Schaerer wrote:

> 
> Hi Dženan,
> 
> Thanks for your answer. I have tried various interpolation functions
> (NN,Linear, cubic BSpline and Windowed Sinc) with a test checkerboard
> pattern, and I am still experiencing major aliasing problems.
> 
> What am I doing wrong?
> 
> PS:
> 
> The pattern is here:
> 
> http://www.creatis.insa-lyon.fr/~schaerer/checkerboard.png
> 
> You can read my code at the following location:
> 
> http://cvs.creatis.insa-lyon.fr/viewvc/clitk3/filters/clitkImageResampleGenericFilter.cxx?revision=1.10&view=markup
> 
> 
> Dženan Zukić wrote:
>> 
>> Hi Joel,
>> 
>> Aliasing artifacts appear only with nearest neighbor interpolation. Linear
>> interpolation should be enough to avoid them (higher order interpolations
>> also). And by doing a low-pass filtering, you are effectively destroying
>> part of information in the image. However, depending on what will you be
>> doing next with that image, low-pass filter might be justified.
>> 
>> Regards,
>> Dženan
>> 
>> 
> 
> -- 
> View this message in context: http://old.nabble.com/What-is-the-*correct*-way-to-downsample-an-image-with-ITK--tp28853063p28854525.html
> Sent from the ITK - Users mailing list archive at Nabble.com.
> 
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.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