|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.meltingice.caman.CamanFilter
com.meltingice.caman.filters.Vibrance
public class Vibrance
Adjusts the vibrance of the colors in the image. Vibrance is a more selective saturation control that does a better job of keeping colors from becoming oversaturated.
Constructor Summary | |
---|---|
Vibrance()
|
Method Summary | |
---|---|
void |
precomputeParams()
Allows the filter to precompute any required values before CamanFilter.process(int[]) is executed. |
int[] |
process(int[] rgb)
Processes the given pixel and returns the updated values. |
Methods inherited from class com.meltingice.caman.CamanFilter |
---|
getKernel, getParamDouble, getParamInt, set, set, type |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Vibrance()
Method Detail |
---|
public void precomputeParams()
CamanFilter
CamanFilter.process(int[])
is executed. This helps with speed so
that arguments don't have to be recomputed for every pixel.
precomputeParams
in class CamanFilter
public int[] process(int[] rgb)
CamanFilter
process
in class CamanFilter
rgb
- The current pixel's color values
rgb[0] => red, rgb[1] => green, rgb[2] => blue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |