|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.desy.acop.video.analysis.AverageColorDecoder
public class AverageColorDecoder
AvrerageColorDecoder transforms theTYPE_INT_ARGB integer color code into a normalized sum of red, green and blue components.
Constructor Summary | |
---|---|
AverageColorDecoder()
|
Method Summary | |
---|---|
double |
transform(int code)
Deprecated. |
double[] |
transform(int[] data)
Transforms the complete array of TYPE_INT_ARGB integer colors codes into meaningful double value array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AverageColorDecoder()
Method Detail |
---|
@Deprecated public double transform(int code)
ColorDecoder
transform
in interface ColorDecoder
code
- the TYPE_INT_ARGB integer color code
public double[] transform(int[] data)
ColorDecoder
ColorDecoder.transform(int)
many times, which
might be costly.
transform
in interface ColorDecoder
data
- the data to transform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |