49 return (*
this)((255*r)/sum,(255*g)/sum);
53 std::cout <<
"chroma classifier:" << std::endl;
undocument this line if you encounter any issues!
Definition: Any.h:37
Utility class for the parable-based chromaticity segmentation.
Definition: Parable.h:48
Ipp8u icl8u
8Bit unsigned integer type for the ICL
Definition: BasicTypes.h:64
bool operator()(icl8u r, icl8u g, icl8u b) const
classifies a given r-g-b-Pixel
Definition: ChromaClassifier.h:47
bool operator()(icl8u chromaR, icl8u chromaG) const
classifies a given R-G-Pixel
Definition: ChromaClassifier.h:43
void show() const
Shows this classifier to std::out.
Definition: ChromaClassifier.h:52
Parable parables[2]
Used two parables.
Definition: ChromaClassifier.h:59
void show() const
shows this parable to std::out
Definition: Parable.h:88
Classifier interface using RG-chromaticity space and two parables.
Definition: ChromaClassifier.h:40