public class Lanczos3Filter extends Object implements ResizeFilterFunction
Modifier and Type | Field and Description |
---|---|
static ResizeFilterFunction |
INSTANCE
The singleton instance of the filter
|
Constructor and Description |
---|
Lanczos3Filter() |
Modifier and Type | Method and Description |
---|---|
double |
filter(double t)
The filter function.
|
double |
getSupport()
Returns the support width for the filter function.
|
public static ResizeFilterFunction INSTANCE
public Lanczos3Filter()
public double getSupport()
ResizeFilterFunction
getSupport
in interface ResizeFilterFunction
public double filter(double t)
ResizeFilterFunction
filter
in interface ResizeFilterFunction
t
- The weight to filterResizeFilterFunction.filter(double)