project.android.imageprocessing.filter.colour
Class ImageContrastFilter

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.colour.ImageContrastFilter
All Implemented Interfaces:
GLTextureInputRenderer

public class ImageContrastFilter
extends BasicFilter

A contrast filter extension of BasicFilter. This filter increases or decrease the contrast of the image based on a given value. For normal use of this filter, the contrast value should be in [0, 4].

Author:
Chris Batt

Constructor Summary
ImageContrastFilter(float contrast)
          Creates an ImageContrastFilter that will adjust contrast by a given amount.
 
Method Summary
 
Methods inherited from class project.android.imageprocessing.filter.BasicFilter
newTextureReady
 
Methods inherited from class project.android.imageprocessing.input.GLTextureOutputRenderer
addTarget, getTargets, onDrawFrame, onSurfaceCreated, removeTarget, setRenderSize
 
Methods inherited from class project.android.imageprocessing.GLRenderer
getHeight, getWidth, onPause, onResume, rotateClockwise90Degrees, rotateCounterClockwise90Degrees
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageContrastFilter

public ImageContrastFilter(float contrast)
Creates an ImageContrastFilter that will adjust contrast by a given amount.

Parameters:
contrast - The amount of contrast.