project.android.imageprocessing.filter.processing
Class ThresholdEdgeDetectionFilter

java.lang.Object
  extended by project.android.imageprocessing.GLRenderer
      extended by project.android.imageprocessing.input.GLTextureOutputRenderer
          extended by project.android.imageprocessing.filter.BasicFilter
              extended by project.android.imageprocessing.filter.MultiInputFilter
                  extended by project.android.imageprocessing.filter.MultiInputPixelFilter
                      extended by project.android.imageprocessing.filter.CompositeMultiPixelFilter
                          extended by project.android.imageprocessing.filter.processing.ThresholdEdgeDetectionFilter
All Implemented Interfaces:
GLTextureInputRenderer
Direct Known Subclasses:
ThresholdSketchFilter

public class ThresholdEdgeDetectionFilter
extends CompositeMultiPixelFilter

Performs Sobel edge detection, but applies a threshold instead of giving gradual strength value threshold: Any edge above this threshold will be black, and anything below white. Ranges from 0.0 to 1.0

Author:
Chris Batt

Field Summary
 
Fields inherited from class project.android.imageprocessing.GLRenderer
ATTRIBUTE_POSITION, ATTRIBUTE_TEXCOORD, UNIFORM_TEXTURE0, VARYING_TEXCOORD
 
Constructor Summary
ThresholdEdgeDetectionFilter(float threshold)
           
 
Method Summary
 
Methods inherited from class project.android.imageprocessing.filter.CompositeMultiPixelFilter
destroy, newTextureReady, setRenderSize
 
Methods inherited from class project.android.imageprocessing.filter.MultiInputFilter
clearRegisteredFilterLocations, registerFilterLocation, registerFilterLocation
 
Methods inherited from class project.android.imageprocessing.input.GLTextureOutputRenderer
addTarget, getLockObject, getTargets, removeTarget
 
Methods inherited from class project.android.imageprocessing.GLRenderer
getBackgroundAlpha, getBackgroundBlue, getBackgroundGreen, getBackgroundRed, getHeight, getWidth, onDrawFrame, reInitialize, rotateClockwise90Degrees, rotateCounterClockwise90Degrees, setBackgroundAlpha, setBackgroundBlue, setBackgroundColour, setBackgroundGreen, setBackgroundRed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThresholdEdgeDetectionFilter

public ThresholdEdgeDetectionFilter(float threshold)