Protected Types | Protected Member Functions | Protected Attributes | List of all members
resized_image_transport::ImageResizer Class Reference

#include <image_resizer_nodelet.h>

Inheritance diagram for resized_image_transport::ImageResizer:
Inheritance graph
[legend]

Protected Types

typedef dynamic_reconfigure::Server< ImageResizerConfig > ReconfigureServer
 

Protected Member Functions

void config_cb (ImageResizerConfig &config, uint32_t level)
 
void initParams ()
 
void initReconfigure ()
 
void mask_region_callback (const sensor_msgs::Image::ConstPtr &msg)
 
void onInit ()
 
void process (const sensor_msgs::ImageConstPtr &src_img, const sensor_msgs::CameraInfoConstPtr &src_info, sensor_msgs::ImagePtr &dst_img, sensor_msgs::CameraInfo &dst_info)
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 
- Protected Member Functions inherited from resized_image_transport::ImageProcessing
void callback (const sensor_msgs::ImageConstPtr &img, const sensor_msgs::CameraInfoConstPtr &info)
 
void image_cb (const sensor_msgs::ImageConstPtr &img)
 
void image_nonsync_cb (const sensor_msgs::ImageConstPtr &img)
 
void info_cb (const sensor_msgs::CameraInfoConstPtr &info)
 
void initParams ()
 
void initPublishersAndSubscribers ()
 
void initReconfigure ()
 
void snapshot_msg_cb (const std_msgs::EmptyConstPtr msg)
 
bool snapshot_srv_cb (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
 
virtual void updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
- Protected Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
ros::Publisher advertise (ros::NodeHandle &nh, std::string topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
virtual void cameraConnectionBaseCallback ()
 
virtual void cameraConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual void cameraInfoConnectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void connectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void imageConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual bool isSubscribed ()
 
virtual void onInitPostProcess ()
 
virtual void warnNeverSubscribedCallback (const ros::WallTimerEvent &event)
 
virtual void warnOnInitPostProcessCalledCallback (const ros::WallTimerEvent &event)
 
- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::string & getName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

Protected Attributes

int interpolation_
 
int raw_height_
 
int raw_width_
 
boost::shared_ptr< ReconfigureServerreconfigure_server_
 
ros::Subscriber sub_
 
- Protected Attributes inherited from resized_image_transport::ImageProcessing
ros::Subscriber camera_info_sub_
 
image_transport::CameraPublisher cp_
 
image_transport::CameraSubscriber cs_
 
jsk_topic_tools::TimeredDiagnosticUpdater::Ptr diagnostic_updater_
 
int dst_height_
 
int dst_width_
 
ros::Publisher height_scale_pub_
 
image_transport::Subscriber image_nonsync_sub_
 
ros::Publisher image_pub_
 
ros::Subscriber image_sub_
 
jsk_topic_tools::VitalChecker::Ptr image_vital_
 
boost::circular_buffer< double > in_bytes
 
boost::circular_buffer< double > in_times
 
sensor_msgs::CameraInfoConstPtr info_msg_
 
jsk_topic_tools::VitalChecker::Ptr info_vital_
 
image_transport::ImageTransportit_
 
ros::Time last_publish_time_
 
ros::Time last_rosinfo_time_
 
ros::Time last_subscribe_time_
 
int max_queue_size_
 
boost::mutex mutex_
 
boost::circular_buffer< double > out_bytes
 
boost::circular_buffer< double > out_times
 
ros::Duration period_
 
bool publish_once_
 
double resize_x_
 
double resize_y_
 
ros::ServiceServer srv_
 
ros::Subscriber sub_
 
bool use_bytes_
 
bool use_camera_info_
 
bool use_camera_subscriber_
 
bool use_messages_
 
bool use_snapshot_
 
bool verbose_
 
ros::Publisher width_scale_pub_
 
- Protected Attributes inherited from jsk_topic_tools::DiagnosticNodelet
TimeredDiagnosticUpdater::Ptr diagnostic_updater_
 
const std::string name_
 
jsk_topic_tools::VitalChecker::Ptr vital_checker_
 
- Protected Attributes inherited from jsk_topic_tools::ConnectionBasedNodelet
bool always_subscribe_
 
std::vector< image_transport::CameraPublishercamera_publishers_
 
boost::mutex connection_mutex_
 
ConnectionStatus connection_status_
 
bool ever_subscribed_
 
std::vector< image_transport::Publisherimage_publishers_
 
boost::shared_ptr< ros::NodeHandlenh_
 
bool on_init_post_process_called_
 
boost::shared_ptr< ros::NodeHandlepnh_
 
std::vector< ros::Publisherpublishers_
 
bool subscribed_
 
ros::WallTimer timer_warn_never_subscribed_
 
ros::WallTimer timer_warn_on_init_post_process_called_
 
bool verbose_connection_
 

Additional Inherited Members

- Public Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 
- Public Member Functions inherited from resized_image_transport::ImageProcessing
 ImageProcessing ()
 
 ~ImageProcessing ()
 
- Public Member Functions inherited from jsk_topic_tools::DiagnosticNodelet
 DiagnosticNodelet (const std::string &name)
 
- Public Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
 ConnectionBasedNodelet ()
 
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 

Detailed Description

Definition at line 12 of file image_resizer_nodelet.h.

Member Typedef Documentation

typedef dynamic_reconfigure::Server<ImageResizerConfig> resized_image_transport::ImageResizer::ReconfigureServer
protected

Definition at line 16 of file image_resizer_nodelet.h.

Member Function Documentation

void resized_image_transport::ImageResizer::config_cb ( ImageResizerConfig &  config,
uint32_t  level 
)
protected

Definition at line 91 of file image_resizer_nodelet.cpp.

void resized_image_transport::ImageResizer::initParams ( )
protected

Definition at line 32 of file image_resizer_nodelet.cpp.

void resized_image_transport::ImageResizer::initReconfigure ( )
protected

Definition at line 25 of file image_resizer_nodelet.cpp.

void resized_image_transport::ImageResizer::mask_region_callback ( const sensor_msgs::Image::ConstPtr &  msg)
protected

Definition at line 52 of file image_resizer_nodelet.cpp.

void resized_image_transport::ImageResizer::onInit ( )
protectedvirtual

Reimplemented from resized_image_transport::ImageProcessing.

Definition at line 5 of file image_resizer_nodelet.cpp.

void resized_image_transport::ImageResizer::process ( const sensor_msgs::ImageConstPtr &  src_img,
const sensor_msgs::CameraInfoConstPtr &  src_info,
sensor_msgs::ImagePtr &  dst_img,
sensor_msgs::CameraInfo &  dst_info 
)
protectedvirtual
void resized_image_transport::ImageResizer::subscribe ( )
protectedvirtual

Reimplemented from resized_image_transport::ImageProcessing.

Definition at line 15 of file image_resizer_nodelet.cpp.

void resized_image_transport::ImageResizer::unsubscribe ( )
protectedvirtual

Reimplemented from resized_image_transport::ImageProcessing.

Definition at line 20 of file image_resizer_nodelet.cpp.

Member Data Documentation

int resized_image_transport::ImageResizer::interpolation_
protected

Definition at line 18 of file image_resizer_nodelet.h.

int resized_image_transport::ImageResizer::raw_height_
protected

Definition at line 32 of file image_resizer_nodelet.h.

int resized_image_transport::ImageResizer::raw_width_
protected

Definition at line 32 of file image_resizer_nodelet.h.

boost::shared_ptr<ReconfigureServer> resized_image_transport::ImageResizer::reconfigure_server_
protected

Definition at line 17 of file image_resizer_nodelet.h.

ros::Subscriber resized_image_transport::ImageResizer::sub_
protected

Definition at line 31 of file image_resizer_nodelet.h.


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


resized_image_transport
Author(s): Yohei Kakiuchi
autogenerated on Mon May 3 2021 03:03:39