37 #ifndef JSK_PCL_ROS_BOUNDING_BOX_OCCLUSION_REJECTOR_H_
38 #define JSK_PCL_ROS_BOUNDING_BOX_OCCLUSION_REJECTOR_H_
40 #include <jsk_topic_tools/diagnostic_nodelet.h>
41 #include <jsk_recognition_msgs/BoundingBoxArray.h>
42 #include <sensor_msgs/CameraInfo.h>
50 class BoundingBoxOcclusionRejector:
public jsk_topic_tools::DiagnosticNodelet
61 const jsk_recognition_msgs::BoundingBoxArray::ConstPtr& candidate_boxes_msg);
63 const sensor_msgs::CameraInfo::ConstPtr& info_msg);
65 const jsk_recognition_msgs::BoundingBoxArray::ConstPtr& target_boxes_msg);
66 virtual std::vector<cv::Point2i>
projectVertices(
const std::vector<cv::Point3d>& vertices,
68 virtual std::vector<cv::Point3d>
getVertices(
const jsk_recognition_msgs::BoundingBox&
box);
70 const std::vector<cv::Point2i>& vertices);