Public Types | |
typedef boost::shared_ptr < ConditionThresholdHSV < PointT > > | Ptr |
Public Member Functions | |
ConditionThresholdHSV (float min_h, float max_h, float min_s, float max_s, float min_v, float max_v) | |
virtual bool | evaluate (const PointT &p) const |
Determine if a point meets this condition. | |
void | rgb2hsv (uint8_t r, uint8_t g, uint8_t b, float &h, float &s, float &v) const |
Protected Attributes | |
float | max_h_ |
float | max_s_ |
float | max_v_ |
float | min_h_ |
float | min_s_ |
float | min_v_ |
Definition at line 18 of file stick_segmentation.cpp.
typedef boost::shared_ptr<ConditionThresholdHSV<PointT> > ConditionThresholdHSV< PointT >::Ptr |
Reimplemented from pcl::ConditionBase< PointT >.
Definition at line 21 of file stick_segmentation.cpp.
ConditionThresholdHSV< PointT >::ConditionThresholdHSV | ( | float | min_h, |
float | max_h, | ||
float | min_s, | ||
float | max_s, | ||
float | min_v, | ||
float | max_v | ||
) | [inline] |
Definition at line 23 of file stick_segmentation.cpp.
virtual bool ConditionThresholdHSV< PointT >::evaluate | ( | const PointT & | point | ) | const [inline, virtual] |
Determine if a point meets this condition.
Implements pcl::ConditionBase< PointT >.
Definition at line 35 of file stick_segmentation.cpp.
void ConditionThresholdHSV< PointT >::rgb2hsv | ( | uint8_t | r, |
uint8_t | g, | ||
uint8_t | b, | ||
float & | h, | ||
float & | s, | ||
float & | v | ||
) | const [inline] |
Definition at line 45 of file stick_segmentation.cpp.
float ConditionThresholdHSV< PointT >::max_h_ [protected] |
Definition at line 76 of file stick_segmentation.cpp.
float ConditionThresholdHSV< PointT >::max_s_ [protected] |
Definition at line 76 of file stick_segmentation.cpp.
float ConditionThresholdHSV< PointT >::max_v_ [protected] |
Definition at line 76 of file stick_segmentation.cpp.
float ConditionThresholdHSV< PointT >::min_h_ [protected] |
Definition at line 76 of file stick_segmentation.cpp.
float ConditionThresholdHSV< PointT >::min_s_ [protected] |
Definition at line 76 of file stick_segmentation.cpp.
float ConditionThresholdHSV< PointT >::min_v_ [protected] |
Definition at line 76 of file stick_segmentation.cpp.