to.etc.sjit
Class Lanczos3Filter

java.lang.Object
  extended by to.etc.sjit.ResamplerFilter
      extended by to.etc.sjit.Lanczos3Filter

public class Lanczos3Filter
extends ResamplerFilter

Lanczos3 filter implementation. This usually gives the best results, but it is the most CPU-intensive.

Author:
Frits Jalvingh
See Also:
ResamplerFilter, ImageSubsampler

Constructor Summary
Lanczos3Filter()
           
 
Method Summary
 float filter(float value)
           
 java.lang.String getName()
           
 float getWidth()
           
 
Methods inherited from class to.etc.sjit.ResamplerFilter
sqr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lanczos3Filter

public Lanczos3Filter()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class ResamplerFilter

filter

public float filter(float value)
Specified by:
filter in class ResamplerFilter

getWidth

public float getWidth()
Specified by:
getWidth in class ResamplerFilter