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 floatb0(float t)private floatb1(float t)private floatB3(float t)floatget(float x, float y)Get value of the filter at offset (x, y).floatgetSize()Width in pixels of the filter extents.
-
-
-
Method Detail
-
get
public float get(float x, float y)Description copied from interface:FilterGet 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:FilterWidth in pixels of the filter extents. The filter will be applied to the range of pixels within a box of+/- getSize() / 2around the center of the pixel.
-
B3
private float B3(float t)
-
b0
private float b0(float t)
-
b1
private float b1(float t)
-
-