Un petit commentaire ne fait jamais de mal filtreHue.cpp edited online with Bitbucket
This commit is contained in:
parent
97c07c8eaa
commit
021119a896
1 changed files with 4 additions and 2 deletions
|
@ -17,6 +17,8 @@ class Callback {
|
||||||
BOOST_FOREACH (const Point& pt, msg->points)
|
BOOST_FOREACH (const Point& pt, msg->points)
|
||||||
{
|
{
|
||||||
uint8_t min, max, c;
|
uint8_t min, max, c;
|
||||||
|
|
||||||
|
//Recherche du min et du max des coefficients R,G,B
|
||||||
if (pt.r >= pt.g) {
|
if (pt.r >= pt.g) {
|
||||||
if (pt.g >= pt.b) {
|
if (pt.g >= pt.b) {
|
||||||
max = pt.r
|
max = pt.r
|
||||||
|
|
Loading…
Reference in a new issue