public class OptimizedErode extends AbstractFilter
postFilters, preFilters
Constructor and Description |
---|
OptimizedErode() |
Modifier and Type | Method and Description |
---|---|
java.nio.FloatBuffer |
filter(float sx,
float sy,
float base,
java.nio.FloatBuffer buffer,
int size) |
int |
getMargin(int size,
int margin) |
int |
getRadius() |
float |
getTalus() |
OptimizedErode |
setRadius(int radius) |
OptimizedErode |
setTalus(float talus) |
addPostFilter, addPreFilter, doFilter, isEnabled, setEnabled
public OptimizedErode setRadius(int radius)
public int getRadius()
public OptimizedErode setTalus(float talus)
public float getTalus()
public int getMargin(int size, int margin)
getMargin
in interface Filter
getMargin
in class AbstractFilter
public java.nio.FloatBuffer filter(float sx, float sy, float base, java.nio.FloatBuffer buffer, int size)
filter
in class AbstractFilter