Login  Register

Re: Zooming new problem

Posted by dscho on Mar 11, 2009; 9:08pm
URL: http://imagej.273.s1.nabble.com/Zooming-and-smoothing-tp3693324p3693338.html

Hi,

On Wed, 11 Mar 2009, Burger Wilhelm wrote:

> as you mention, we have listed a number of different interpolation
> methods in the source section of our website (imagingbook.com),
> including cubic and other spline methods. I particularly recommend the
> Catmull-Rom formulation for good results. I can also send you code for a
> Lanczos interpolator, which has no visible advantage though.
>
> All these methods are pretty standard and implemented by stand-alone
> code that could be copied directly into ImageProcessor's
> getInterpolatedPixel() method and selected using a suitable mode switch.

Usually I would not say anything, but since we discussed clean design
earlier: I think it would not be appropriate to put this method into
ImageProcessor (think MVC), at least not with a global switch as to which
interpolation method is actually used.

Ciao,
Dscho