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

Xiaofeng Z xf10036 at hotmail.com
Fri Jun 11 15:25:48 EDT 2010


I don’t see any pattern in the image.

--------------------------------------------------
From: "Joel Schaerer" <joelthelion at laposte.net>
Sent: Friday, June 11, 2010 8:30 AM
To: <insight-users at itk.org>
Subject: Re: [Insight-users] What is the *correct* way to downsample an 
image with ITK?

>
> 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