Gravissim error from Mr Paul Janin corrected
This commit is contained in:
parent
a202a4c19a
commit
3d5ab5635c
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue