#include <boundingbox_occlusion_rejector.h>
Public Types | |
typedef boost::shared_ptr < BoundingBoxOcclusionRejector > | Ptr |
Public Member Functions | |
BoundingBoxOcclusionRejector () | |
Protected Member Functions | |
virtual std::vector< cv::Point3d > | getVertices (const jsk_recognition_msgs::BoundingBox &box) |
virtual void | infoCallback (const sensor_msgs::CameraInfo::ConstPtr &info_msg) |
virtual void | onInit () |
virtual std::vector< cv::Point2i > | projectVertices (const std::vector< cv::Point3d > &vertices, const image_geometry::PinholeCameraModel &model) |
virtual void | reject (const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &candidate_boxes_msg) |
virtual std::vector < std::vector< cv::Point2i > > | separateIntoFaces (const std::vector< cv::Point2i > &vertices) |
virtual void | subscribe () |
virtual void | targetBoxesCallback (const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &target_boxes_msg) |
virtual void | unsubscribe () |
Protected Attributes | |
sensor_msgs::CameraInfo::ConstPtr | latest_info_msg_ |
jsk_recognition_msgs::BoundingBoxArray::ConstPtr | latest_target_boxes_msg_ |
boost::mutex | mutex_ |
ros::Publisher | pub_ |
ros::Publisher | pub_candidate_image_ |
ros::Publisher | pub_target_image_ |
ros::Subscriber | sub_camera_info_ |
ros::Subscriber | sub_candidate_boxes_ |
ros::Subscriber | sub_target_boxes_ |
tf::TransformListener * | tf_listener_ |
Definition at line 50 of file boundingbox_occlusion_rejector.h.
typedef boost::shared_ptr<BoundingBoxOcclusionRejector> jsk_pcl_ros::BoundingBoxOcclusionRejector::Ptr |
Definition at line 53 of file boundingbox_occlusion_rejector.h.
Definition at line 54 of file boundingbox_occlusion_rejector.h.
std::vector< cv::Point3d > jsk_pcl_ros::BoundingBoxOcclusionRejector::getVertices | ( | const jsk_recognition_msgs::BoundingBox & | box | ) | [protected, virtual] |
Definition at line 202 of file boundingbox_occlusion_rejector_nodelet.cpp.
void jsk_pcl_ros::BoundingBoxOcclusionRejector::infoCallback | ( | const sensor_msgs::CameraInfo::ConstPtr & | info_msg | ) | [protected, virtual] |
Definition at line 68 of file boundingbox_occlusion_rejector_nodelet.cpp.
void jsk_pcl_ros::BoundingBoxOcclusionRejector::onInit | ( | void | ) | [protected, virtual] |
Definition at line 44 of file boundingbox_occlusion_rejector_nodelet.cpp.
std::vector< cv::Point2i > jsk_pcl_ros::BoundingBoxOcclusionRejector::projectVertices | ( | const std::vector< cv::Point3d > & | vertices, |
const image_geometry::PinholeCameraModel & | model | ||
) | [protected, virtual] |
Definition at line 192 of file boundingbox_occlusion_rejector_nodelet.cpp.
void jsk_pcl_ros::BoundingBoxOcclusionRejector::reject | ( | const jsk_recognition_msgs::BoundingBoxArray::ConstPtr & | candidate_boxes_msg | ) | [protected, virtual] |
Definition at line 83 of file boundingbox_occlusion_rejector_nodelet.cpp.
std::vector< std::vector< cv::Point2i > > jsk_pcl_ros::BoundingBoxOcclusionRejector::separateIntoFaces | ( | const std::vector< cv::Point2i > & | vertices | ) | [protected, virtual] |
Definition at line 162 of file boundingbox_occlusion_rejector_nodelet.cpp.
void jsk_pcl_ros::BoundingBoxOcclusionRejector::subscribe | ( | ) | [protected, virtual] |
Definition at line 54 of file boundingbox_occlusion_rejector_nodelet.cpp.
void jsk_pcl_ros::BoundingBoxOcclusionRejector::targetBoxesCallback | ( | const jsk_recognition_msgs::BoundingBoxArray::ConstPtr & | target_boxes_msg | ) | [protected, virtual] |
Definition at line 75 of file boundingbox_occlusion_rejector_nodelet.cpp.
void jsk_pcl_ros::BoundingBoxOcclusionRejector::unsubscribe | ( | ) | [protected, virtual] |
Definition at line 61 of file boundingbox_occlusion_rejector_nodelet.cpp.
sensor_msgs::CameraInfo::ConstPtr jsk_pcl_ros::BoundingBoxOcclusionRejector::latest_info_msg_ [protected] |
Definition at line 79 of file boundingbox_occlusion_rejector.h.
jsk_recognition_msgs::BoundingBoxArray::ConstPtr jsk_pcl_ros::BoundingBoxOcclusionRejector::latest_target_boxes_msg_ [protected] |
Definition at line 80 of file boundingbox_occlusion_rejector.h.
Definition at line 71 of file boundingbox_occlusion_rejector.h.
Definition at line 72 of file boundingbox_occlusion_rejector.h.
Definition at line 74 of file boundingbox_occlusion_rejector.h.
Definition at line 73 of file boundingbox_occlusion_rejector.h.
Definition at line 76 of file boundingbox_occlusion_rejector.h.
Definition at line 78 of file boundingbox_occlusion_rejector.h.
Definition at line 77 of file boundingbox_occlusion_rejector.h.
Definition at line 75 of file boundingbox_occlusion_rejector.h.