project.android.imageprocessing.filter.colour
Class HueFilter

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

public class HueFilter
extends BasicFilter

A hue adjusting filter implementation of BasicFilter. This filter rotates the hue, in radians, by a set amount. Value should be in [0,6.28]; however, all values should produce acceptable results.

Author:
Chris Batt

Field Summary
 
Fields inherited from class project.android.imageprocessing.GLRenderer
ATTRIBUTE_POSITION, ATTRIBUTE_TEXCOORD, UNIFORM_TEXTURE0, VARYING_TEXCOORD
 
Constructor Summary
HueFilter(float hueAdjust)
          Creates a HueFilter that adjusts the hue of input image by a given number of radians.
 
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

HueFilter

public HueFilter(float hueAdjust)
Creates a HueFilter that adjusts the hue of input image by a given number of radians.

Parameters:
hueAdjust - The amount the hue should be adjusted in radians.