project.android.imageprocessing.filter.colour
Class GammaFilter

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

public class GammaFilter
extends BasicFilter

A gamma adjustment filter extension of BasicFilter. This filter adjusts the gamma value of the input image. Values for gamma should be in [0, 3] for normal use; however, all values are excepted. This filter does not adjust alpha values.

Author:
Chris Batt

Field Summary
 
Fields inherited from class project.android.imageprocessing.GLRenderer
ATTRIBUTE_POSITION, ATTRIBUTE_TEXCOORD, UNIFORM_TEXTURE0, VARYING_TEXCOORD
 
Constructor Summary
GammaFilter(float gamma)
          Creates a ImageGammaFilter with the given gamma adjustment value.
 
Method Summary
 
Methods inherited from class project.android.imageprocessing.filter.BasicFilter
newTextureReady
 
Methods inherited from class project.android.imageprocessing.input.GLTextureOutputRenderer
addTarget, destroy, 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, setRenderSize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GammaFilter

public GammaFilter(float gamma)
Creates a ImageGammaFilter with the given gamma adjustment value.

Parameters:
gamma - The gamma adjustment value.