project.android.imageprocessing.filter.colour
Class ExposureFilter

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.ColourMatrixFilter
                  extended by project.android.imageprocessing.filter.colour.RGBFilter
                      extended by project.android.imageprocessing.filter.colour.ExposureFilter
All Implemented Interfaces:
GLTextureInputRenderer

public class ExposureFilter
extends RGBFilter

A exposure filter extension of RGBFilter. This filter creates the exposure effect by multiply red, green and blue values of each pixel by 2^(exposure value). The alpha value of the input image is untouched.

Author:
Chris Batt

Field Summary
 
Fields inherited from class project.android.imageprocessing.GLRenderer
ATTRIBUTE_POSITION, ATTRIBUTE_TEXCOORD, UNIFORM_TEXTURE0, VARYING_TEXCOORD
 
Constructor Summary
ExposureFilter(float exposure)
          Creates a ImageExposureFilter with the given adjustment to exposure.
 
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

ExposureFilter

public ExposureFilter(float exposure)
Creates a ImageExposureFilter with the given adjustment to exposure.

Parameters:
exposure - The amount of exposure.