public class GPUImageSobelThresholdFilter extends GPUImage3x3TextureSamplingFilter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SOBEL_THRESHOLD_EDGE_DETECTION |
THREE_X_THREE_TEXTURE_SAMPLING_VERTEX_SHADERNO_FILTER_FRAGMENT_SHADER, NO_FILTER_VERTEX_SHADER| Constructor and Description |
|---|
GPUImageSobelThresholdFilter() |
GPUImageSobelThresholdFilter(float threshold) |
| Modifier and Type | Method and Description |
|---|---|
void |
onInit() |
void |
onInitialized() |
void |
setThreshold(float threshold) |
onOutputSizeChanged, setLineSize, setTexelHeight, setTexelWidthconvertStreamToString, destroy, getAttribPosition, getAttribTextureCoordinate, getOutputHeight, getOutputWidth, getProgram, getUniformTexture, ifNeedInit, isInitialized, loadShader, onDestroy, onDraw, onDrawArraysPre, runOnDraw, runPendingOnDrawTasks, setFloat, setFloatArray, setFloatVec2, setFloatVec3, setFloatVec4, setInteger, setPoint, setUniformMatrix3f, setUniformMatrix4fpublic static final java.lang.String SOBEL_THRESHOLD_EDGE_DETECTION
public GPUImageSobelThresholdFilter()
public GPUImageSobelThresholdFilter(float threshold)
public void onInit()
onInit in class GPUImage3x3TextureSamplingFilterpublic void onInitialized()
onInitialized in class GPUImage3x3TextureSamplingFilterpublic void setThreshold(float threshold)