Gravissim error from Mr Paul Janin corrected

This commit is contained in:
_Luc_ 2015-05-22 19:14:25 +02:00
parent a202a4c19a
commit 3d5ab5635c

View file

@ -68,14 +68,14 @@ class Callback {
return std::min(diff1, diff2);
}
sat_dist(const Point& pt)
float sat_dist(const Point& pt)
{
float h, s, v, diff1, diff2;
pcl::tracking::RGB2HSV(pt.r, pt.g, pt.b, h, s, v);
return std::fabs(s - sat);
}
val_dist(const Point& pt)
float val_dist(const Point& pt)
{
float h, s, v, diff1, diff2;
pcl::tracking::RGB2HSV(pt.r, pt.g, pt.b, h, s, v);