Hi, I would like downsample some 3D image data by a factor of 2 without introducing aliasing artifact as described here:
I am able to do the downsampling with vtkImageReslice.SetOutputSpacing. However, it doesn’t appear to apply an anti-aliasing filter before the downsampling. Is that correct? If so, is there an alternative method I can use that does apply an anti-aliasing filter?
thank you in advance,
-M
The easiest way to do antialiased resizing is with vtkImageResize. This filter will perform band-limited sinc interpolation. You can use it to adjust the spacing as follows (using Python as an example):