Package org.sunflow.core.filter
Class CubicBSpline
- java.lang.Object
-
- org.sunflow.core.filter.CubicBSpline
-
-
Constructor Summary
Constructors Constructor Description CubicBSpline()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private float
b0(float t)
private float
b1(float t)
private float
B3(float t)
float
get(float x, float y)
Get value of the filter at offset (x, y).float
getSize()
Width in pixels of the filter extents.
-
-
-
Method Detail
-
get
public float get(float x, float y)
Description copied from interface:Filter
Get value of the filter at offset (x, y). The filter should never be called with values beyond its extents but should return 0 in those cases anyway.
-
getSize
public float getSize()
Description copied from interface:Filter
Width in pixels of the filter extents. The filter will be applied to the range of pixels within a box of+/- getSize() / 2
around the center of the pixel.
-
B3
private float B3(float t)
-
b0
private float b0(float t)
-
b1
private float b1(float t)
-
-