|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.c3d.operators.Doperator | +--com.c3d.image.Resaturate
TeX This operator takes an image in RGB and a saturation value b and maps to the set of basis vectors $$ \pmatrix{X\cr Y\cr Z}=\pmatrix{ $1\over \sqrt 3$&$1\over \sqrt 3$&$1\over \sqrt 3$\cr 0&$-1\over \sqrt 2$&$1\over \sqrt 2$\cr $-1\over \sqrt 2$&$0.5\over \sqrt 2$&$0.5\over \sqrt 2$}\pmatrix{R\cr G\cr B} $$ Matrix chosen to have unit length vectors. performs a gamma correction by b on the X Z planes and then maps back by the inverse matrix
Fields inherited from class com.c3d.operators.Doperator |
DIVIDE,
DIVIDE_code,
EQ,
EQ_code,
LT,
LT_code,
MINUS,
MINUS_code,
NIL_code,
PLUS,
PLUS_code,
PROJ_code,
SUBS,
SUBS_code,
TIMES,
TIMES_code |
Constructor Summary | |
Resaturate()
|
Method Summary | |
Jimage |
apply(Jimage a,
double b)
|
com.c3d.util.atomic.Universal |
apply(Jimage a,
com.c3d.util.atomic.Numeric b)
|
com.c3d.util.atomic.Universal |
apply(com.c3d.util.atomic.Universal a,
com.c3d.util.atomic.Universal b)
|
Methods inherited from class com.c3d.operators.Doperator |
Encode |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Resaturate()
Method Detail |
public com.c3d.util.atomic.Universal apply(com.c3d.util.atomic.Universal a, com.c3d.util.atomic.Universal b)
public com.c3d.util.atomic.Universal apply(Jimage a, com.c3d.util.atomic.Numeric b)
public Jimage apply(Jimage a, double b)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |