Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
jsk_pcl_ros::BoundingBoxOcclusionRejector Class Reference

#include <boundingbox_occlusion_rejector.h>

Inheritance diagram for jsk_pcl_ros::BoundingBoxOcclusionRejector:
Inheritance graph
[legend]

Public Types

typedef boost::shared_ptr< BoundingBoxOcclusionRejectorPtr
 

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::TransformListenertf_listener_
 

Detailed Description

Definition at line 82 of file boundingbox_occlusion_rejector.h.

Member Typedef Documentation

◆ Ptr

Definition at line 117 of file boundingbox_occlusion_rejector.h.

Constructor & Destructor Documentation

◆ BoundingBoxOcclusionRejector()

jsk_pcl_ros::BoundingBoxOcclusionRejector::BoundingBoxOcclusionRejector ( )
inline

Definition at line 118 of file boundingbox_occlusion_rejector.h.

Member Function Documentation

◆ getVertices()

std::vector< cv::Point3d > jsk_pcl_ros::BoundingBoxOcclusionRejector::getVertices ( const jsk_recognition_msgs::BoundingBox &  box)
protectedvirtual

Definition at line 202 of file boundingbox_occlusion_rejector_nodelet.cpp.

◆ infoCallback()

void jsk_pcl_ros::BoundingBoxOcclusionRejector::infoCallback ( const sensor_msgs::CameraInfo::ConstPtr &  info_msg)
protectedvirtual

Definition at line 68 of file boundingbox_occlusion_rejector_nodelet.cpp.

◆ onInit()

void jsk_pcl_ros::BoundingBoxOcclusionRejector::onInit ( )
protectedvirtual

Definition at line 44 of file boundingbox_occlusion_rejector_nodelet.cpp.

◆ projectVertices()

std::vector< cv::Point2i > jsk_pcl_ros::BoundingBoxOcclusionRejector::projectVertices ( const std::vector< cv::Point3d > &  vertices,
const image_geometry::PinholeCameraModel model 
)
protectedvirtual

Definition at line 192 of file boundingbox_occlusion_rejector_nodelet.cpp.

◆ reject()

void jsk_pcl_ros::BoundingBoxOcclusionRejector::reject ( const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &  candidate_boxes_msg)
protectedvirtual

Definition at line 83 of file boundingbox_occlusion_rejector_nodelet.cpp.

◆ separateIntoFaces()

std::vector< std::vector< cv::Point2i > > jsk_pcl_ros::BoundingBoxOcclusionRejector::separateIntoFaces ( const std::vector< cv::Point2i > &  vertices)
protectedvirtual

Definition at line 162 of file boundingbox_occlusion_rejector_nodelet.cpp.

◆ subscribe()

void jsk_pcl_ros::BoundingBoxOcclusionRejector::subscribe ( )
protectedvirtual

Definition at line 54 of file boundingbox_occlusion_rejector_nodelet.cpp.

◆ targetBoxesCallback()

void jsk_pcl_ros::BoundingBoxOcclusionRejector::targetBoxesCallback ( const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &  target_boxes_msg)
protectedvirtual

Definition at line 75 of file boundingbox_occlusion_rejector_nodelet.cpp.

◆ unsubscribe()

void jsk_pcl_ros::BoundingBoxOcclusionRejector::unsubscribe ( )
protectedvirtual

Definition at line 61 of file boundingbox_occlusion_rejector_nodelet.cpp.

Member Data Documentation

◆ latest_info_msg_

sensor_msgs::CameraInfo::ConstPtr jsk_pcl_ros::BoundingBoxOcclusionRejector::latest_info_msg_
protected

Definition at line 143 of file boundingbox_occlusion_rejector.h.

◆ latest_target_boxes_msg_

jsk_recognition_msgs::BoundingBoxArray::ConstPtr jsk_pcl_ros::BoundingBoxOcclusionRejector::latest_target_boxes_msg_
protected

Definition at line 144 of file boundingbox_occlusion_rejector.h.

◆ mutex_

boost::mutex jsk_pcl_ros::BoundingBoxOcclusionRejector::mutex_
protected

Definition at line 135 of file boundingbox_occlusion_rejector.h.

◆ pub_

ros::Publisher jsk_pcl_ros::BoundingBoxOcclusionRejector::pub_
protected

Definition at line 136 of file boundingbox_occlusion_rejector.h.

◆ pub_candidate_image_

ros::Publisher jsk_pcl_ros::BoundingBoxOcclusionRejector::pub_candidate_image_
protected

Definition at line 138 of file boundingbox_occlusion_rejector.h.

◆ pub_target_image_

ros::Publisher jsk_pcl_ros::BoundingBoxOcclusionRejector::pub_target_image_
protected

Definition at line 137 of file boundingbox_occlusion_rejector.h.

◆ sub_camera_info_

ros::Subscriber jsk_pcl_ros::BoundingBoxOcclusionRejector::sub_camera_info_
protected

Definition at line 140 of file boundingbox_occlusion_rejector.h.

◆ sub_candidate_boxes_

ros::Subscriber jsk_pcl_ros::BoundingBoxOcclusionRejector::sub_candidate_boxes_
protected

Definition at line 142 of file boundingbox_occlusion_rejector.h.

◆ sub_target_boxes_

ros::Subscriber jsk_pcl_ros::BoundingBoxOcclusionRejector::sub_target_boxes_
protected

Definition at line 141 of file boundingbox_occlusion_rejector.h.

◆ tf_listener_

tf::TransformListener* jsk_pcl_ros::BoundingBoxOcclusionRejector::tf_listener_
protected

Definition at line 139 of file boundingbox_occlusion_rejector.h.


The documentation for this class was generated from the following files:


jsk_pcl_ros
Author(s): Yohei Kakiuchi
autogenerated on Tue Jan 7 2025 04:05:45