|
||||||||||
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.Invert
public class Invert
Inverts all colors in the image. Params: (void)
Constructor Summary | |
---|---|
Invert()
|
Method Summary | |
---|---|
int[] |
process(int[] rgb)
Processes the given pixel and returns the updated values. |
Methods inherited from class com.meltingice.caman.CamanFilter |
---|
getKernel, getParamDouble, getParamInt, precomputeParams, set, set, type |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Invert()
Method Detail |
---|
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 |