Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
jsk_perception::ApplyMaskImage Class Reference

#include <apply_mask_image.h>

Inheritance diagram for jsk_perception::ApplyMaskImage:
Inheritance graph
[legend]

Public Types

typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::Image, sensor_msgs::Image > ApproximateSyncPolicy
 
typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, sensor_msgs::Image > SyncPolicy
 

Public Member Functions

 ApplyMaskImage ()
 
virtual ~ApplyMaskImage ()
 

Protected Member Functions

virtual void apply (const sensor_msgs::Image::ConstPtr &image_msg, const sensor_msgs::Image::ConstPtr &mask_msg)
 
virtual void infoCallback (const sensor_msgs::CameraInfo::ConstPtr &info_msg)
 
virtual void onInit ()
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 

Protected Attributes

bool approximate_sync_
 
boost::shared_ptr< message_filters::Synchronizer< ApproximateSyncPolicy > > async_
 
sensor_msgs::CameraInfo::ConstPtr camera_info_
 
bool clip_
 
int cval_
 
bool mask_black_to_transparent_
 
double max_interval_duration_
 
boost::mutex mutex_
 
bool negative_
 
bool negative_before_clip_
 
ros::Publisher pub_camera_info_
 
ros::Publisher pub_image_
 
ros::Publisher pub_mask_
 
int queue_size_
 
message_filters::Subscriber< sensor_msgs::CameraInfo > sub_camera_info_
 
message_filters::Subscriber< sensor_msgs::Image > sub_image_
 
ros::Subscriber sub_info_
 
message_filters::Subscriber< sensor_msgs::Image > sub_mask_
 
boost::shared_ptr< message_filters::Synchronizer< SyncPolicy > > sync_
 
bool use_rectified_image_
 

Detailed Description

Definition at line 82 of file apply_mask_image.h.

Member Typedef Documentation

◆ ApproximateSyncPolicy

Definition at line 119 of file apply_mask_image.h.

◆ SyncPolicy

Definition at line 122 of file apply_mask_image.h.

Constructor & Destructor Documentation

◆ ApplyMaskImage()

jsk_perception::ApplyMaskImage::ApplyMaskImage ( )
inline

Definition at line 123 of file apply_mask_image.h.

◆ ~ApplyMaskImage()

jsk_perception::ApplyMaskImage::~ApplyMaskImage ( )
virtual

Definition at line 99 of file apply_mask_image.cpp.

Member Function Documentation

◆ apply()

void jsk_perception::ApplyMaskImage::apply ( const sensor_msgs::Image::ConstPtr &  image_msg,
const sensor_msgs::Image::ConstPtr &  mask_msg 
)
protectedvirtual

Definition at line 144 of file apply_mask_image.cpp.

◆ infoCallback()

void jsk_perception::ApplyMaskImage::infoCallback ( const sensor_msgs::CameraInfo::ConstPtr &  info_msg)
protectedvirtual

Definition at line 137 of file apply_mask_image.cpp.

◆ onInit()

void jsk_perception::ApplyMaskImage::onInit ( )
protectedvirtual

Definition at line 78 of file apply_mask_image.cpp.

◆ subscribe()

void jsk_perception::ApplyMaskImage::subscribe ( )
protectedvirtual

Definition at line 111 of file apply_mask_image.cpp.

◆ unsubscribe()

void jsk_perception::ApplyMaskImage::unsubscribe ( )
protectedvirtual

Definition at line 131 of file apply_mask_image.cpp.

Member Data Documentation

◆ approximate_sync_

bool jsk_perception::ApplyMaskImage::approximate_sync_
protected

Definition at line 136 of file apply_mask_image.h.

◆ async_

boost::shared_ptr<message_filters::Synchronizer<ApproximateSyncPolicy> > jsk_perception::ApplyMaskImage::async_
protected

Definition at line 146 of file apply_mask_image.h.

◆ camera_info_

sensor_msgs::CameraInfo::ConstPtr jsk_perception::ApplyMaskImage::camera_info_
protected

Definition at line 148 of file apply_mask_image.h.

◆ clip_

bool jsk_perception::ApplyMaskImage::clip_
protected

Definition at line 137 of file apply_mask_image.h.

◆ cval_

int jsk_perception::ApplyMaskImage::cval_
protected

Definition at line 144 of file apply_mask_image.h.

◆ mask_black_to_transparent_

bool jsk_perception::ApplyMaskImage::mask_black_to_transparent_
protected

Definition at line 140 of file apply_mask_image.h.

◆ max_interval_duration_

double jsk_perception::ApplyMaskImage::max_interval_duration_
protected

Definition at line 143 of file apply_mask_image.h.

◆ mutex_

boost::mutex jsk_perception::ApplyMaskImage::mutex_
protected

Definition at line 147 of file apply_mask_image.h.

◆ negative_

bool jsk_perception::ApplyMaskImage::negative_
protected

Definition at line 138 of file apply_mask_image.h.

◆ negative_before_clip_

bool jsk_perception::ApplyMaskImage::negative_before_clip_
protected

Definition at line 139 of file apply_mask_image.h.

◆ pub_camera_info_

ros::Publisher jsk_perception::ApplyMaskImage::pub_camera_info_
protected

Definition at line 155 of file apply_mask_image.h.

◆ pub_image_

ros::Publisher jsk_perception::ApplyMaskImage::pub_image_
protected

Definition at line 153 of file apply_mask_image.h.

◆ pub_mask_

ros::Publisher jsk_perception::ApplyMaskImage::pub_mask_
protected

Definition at line 154 of file apply_mask_image.h.

◆ queue_size_

int jsk_perception::ApplyMaskImage::queue_size_
protected

Definition at line 142 of file apply_mask_image.h.

◆ sub_camera_info_

message_filters::Subscriber<sensor_msgs::CameraInfo> jsk_perception::ApplyMaskImage::sub_camera_info_
protected

Definition at line 151 of file apply_mask_image.h.

◆ sub_image_

message_filters::Subscriber<sensor_msgs::Image> jsk_perception::ApplyMaskImage::sub_image_
protected

Definition at line 149 of file apply_mask_image.h.

◆ sub_info_

ros::Subscriber jsk_perception::ApplyMaskImage::sub_info_
protected

Definition at line 152 of file apply_mask_image.h.

◆ sub_mask_

message_filters::Subscriber<sensor_msgs::Image> jsk_perception::ApplyMaskImage::sub_mask_
protected

Definition at line 150 of file apply_mask_image.h.

◆ sync_

boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_perception::ApplyMaskImage::sync_
protected

Definition at line 145 of file apply_mask_image.h.

◆ use_rectified_image_

bool jsk_perception::ApplyMaskImage::use_rectified_image_
protected

Definition at line 141 of file apply_mask_image.h.


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


jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Fri May 16 2025 03:11:17