|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectproject.android.imageprocessing.GLRenderer
project.android.imageprocessing.input.GLTextureOutputRenderer
project.android.imageprocessing.filter.BasicFilter
project.android.imageprocessing.filter.colour.ImageSaturationFilter
public class ImageSaturationFilter
A saturation adjustment filter extension of BasicFilter. This filter saturates or desaturates the input image based on a given saturation value. Values should be in [0, 2] for normal usage; however, all positive values should produce results. Values below 1 will desaturate while values above 1 will saturate. This filter will not adjust alpha values.
Constructor Summary | |
---|---|
ImageSaturationFilter(float saturation)
Creates an ImageSaturationFilter with a given saturation adjustment value. |
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 |
---|
public ImageSaturationFilter(float saturation)
saturation
- The saturation adjustment value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |