[vtk-developers] Proposed filter vtkImageResize
David Gobbi
david.gobbi at gmail.com
Thu Dec 8 11:29:11 EST 2011
Fellow developers,
I've posted a new filter on gerrit called vtkImageResize.
http://review.source.kitware.com/#change,3462
This filter uses a sliding buffer to store intermediate results
while interpolating an image. This allows the use of interpolation
kernels of very large size N, because the time is O(N) instead of
O(N^3) as required by vtkImageResample and vtkImageReslice.
Unlike the more traditional three-pass approach for fast filtering,
the sliding buffer approach has very small memory overhead.
Three-pass filtering has a 200% memory overhead, while sliding
buffer typically has an overhead of 10% or less.
The default interpolation kernel is a 5-lobe windowed sinc (Lanczos).
Image magnification uses a kernel size of 6, while image shrinking
uses a larger kernel size to provide a brick-wall low-pass filter
for antialiasing.
- David
More information about the vtk-developers
mailing list