Public Types | |
typedef HxTagTransInVar | TransVarianceCategory |
Functor is translation invariant. More... | |
Public Methods | |
RGB2Intensity (HxTagList &) | |
Constructor : get parameters from taglist. More... | |
DstValT | doIt (const SrcValT &x) |
Actual operation. More... | |
Static Public Methods | |
HxString | className () |
The name : "RGB2Intensity". More... |
|
Functor is translation invariant.
|
|
Constructor : get parameters from taglist.
00038 { 00039 } |
|
Actual operation.
00044 { 00045 return 0.212671*x.x() + 0.715160*x.y() + 0.072169*x.z(); 00046 } |
|
The name : "RGB2Intensity".
00051 { 00052 return HxString("RGB2Intensity"); 00053 } |