Public Types | Public Member Functions | Protected Attributes
cob_image_flip::ImageFlip Class Reference

#include <image_flip.h>

List of all members.

Public Types

enum  RotationMode { FIXED_ANGLE = 0, AUTOMATIC_GRAVITY_DIRECTION = 1, AUTOMATIC_GRAVITY_DIRECTION_90 = 2 }

Public Member Functions

bool convertImageMessageToMat (const sensor_msgs::Image::ConstPtr &color_image_msg, cv_bridge::CvImageConstPtr &color_image_ptr, cv::Mat &color_image)
double determineRotationAngle (const std::string &camera_frame_id, const ros::Time &time)
void disparityCallback (const stereo_msgs::DisparityImage::ConstPtr &disparity_image_msg)
void disparityConnectCB (const ros::SingleSubscriberPublisher &pub)
void disparityDisconnectCB (const ros::SingleSubscriberPublisher &pub)
void imageCallback (const sensor_msgs::ImageConstPtr &color_image_msg)
 ImageFlip (ros::NodeHandle nh)
void imgConnectCB (const image_transport::SingleSubscriberPublisher &pub)
void imgDisconnectCB (const image_transport::SingleSubscriberPublisher &pub)
void pcCallback (const sensor_msgs::PointCloud2::ConstPtr &point_cloud_msg)
void pcConnectCB (const ros::SingleSubscriberPublisher &pub)
void pcDisconnectCB (const ros::SingleSubscriberPublisher &pub)
 ~ImageFlip ()

Protected Attributes

ros::Publisher color_camera_image_2d_transform_pub_
 publisher for the transformation matrix for the in plane rotation and translation in the image plane, this matrix converts coordinates of the turned image into coordinates of the original image (with camera calibration applicable there): p_original = T * p_turned
image_transport::Publisher color_camera_image_pub_
 color camera image output topic
image_transport::SubscriberFilter color_camera_image_sub_
 color camera image input topic
ros::Publisher disparity_image_2d_transform_pub_
 publisher for the transformation matrix for the in plane rotation and translation in the image plane, this matrix converts coordinates of the turned image into coordinates of the original image (with camera calibration applicable there): p_original = T * p_turned
ros::Publisher disparity_image_pub_
 disparity image output topic
ros::Subscriber disparity_image_sub_
 disparity image input topic
unsigned int disparity_sub_counter_
bool display_timing_
bool display_warnings_
bool flip_color_image_
bool flip_disparity_image_
bool flip_pointcloud_
unsigned int img_sub_counter_
image_transport::ImageTransportit_
double last_rotation_angle_
double last_rotation_factor_
ros::NodeHandle node_handle_
 ROS node handle.
unsigned int pc_sub_counter_
ros::Publisher point_cloud_2d_transform_pub_
 publisher for the transformation matrix for the in plane rotation and translation in the image plane, this matrix converts coordinates of the turned image into coordinates of the original image (with camera calibration applicable there): p_original = T * p_turned
ros::Publisher point_cloud_pub_
 point cloud output topic
ros::Subscriber point_cloud_sub_
 point cloud input topic
std::string reference_frame_
double rotation_angle_
int rotation_mode_
tf::TransformListener transform_listener_

Detailed Description

Definition at line 50 of file image_flip.h.


Member Enumeration Documentation

Enumerator:
FIXED_ANGLE 
AUTOMATIC_GRAVITY_DIRECTION 
AUTOMATIC_GRAVITY_DIRECTION_90 

Definition at line 90 of file image_flip.h.


Constructor & Destructor Documentation

Definition at line 26 of file image_flip.cpp.

Definition at line 83 of file image_flip.cpp.


Member Function Documentation

bool cob_image_flip::ImageFlip::convertImageMessageToMat ( const sensor_msgs::Image::ConstPtr &  color_image_msg,
cv_bridge::CvImageConstPtr color_image_ptr,
cv::Mat &  color_image 
)

Definition at line 178 of file image_flip.cpp.

double cob_image_flip::ImageFlip::determineRotationAngle ( const std::string &  camera_frame_id,
const ros::Time time 
)

Definition at line 90 of file image_flip.cpp.

void cob_image_flip::ImageFlip::disparityCallback ( const stereo_msgs::DisparityImage::ConstPtr &  disparity_image_msg)

Definition at line 584 of file image_flip.cpp.

Definition at line 715 of file image_flip.cpp.

Definition at line 725 of file image_flip.cpp.

void cob_image_flip::ImageFlip::imageCallback ( const sensor_msgs::ImageConstPtr &  color_image_msg)

Definition at line 195 of file image_flip.cpp.

Definition at line 325 of file image_flip.cpp.

Definition at line 335 of file image_flip.cpp.

void cob_image_flip::ImageFlip::pcCallback ( const sensor_msgs::PointCloud2::ConstPtr &  point_cloud_msg)

Definition at line 346 of file image_flip.cpp.

Definition at line 559 of file image_flip.cpp.

Definition at line 569 of file image_flip.cpp.


Member Data Documentation

publisher for the transformation matrix for the in plane rotation and translation in the image plane, this matrix converts coordinates of the turned image into coordinates of the original image (with camera calibration applicable there): p_original = T * p_turned

Definition at line 79 of file image_flip.h.

color camera image output topic

Definition at line 78 of file image_flip.h.

color camera image input topic

Definition at line 77 of file image_flip.h.

publisher for the transformation matrix for the in plane rotation and translation in the image plane, this matrix converts coordinates of the turned image into coordinates of the original image (with camera calibration applicable there): p_original = T * p_turned

Definition at line 82 of file image_flip.h.

disparity image output topic

Definition at line 81 of file image_flip.h.

disparity image input topic

Definition at line 80 of file image_flip.h.

Definition at line 71 of file image_flip.h.

Definition at line 63 of file image_flip.h.

Definition at line 62 of file image_flip.h.

Definition at line 59 of file image_flip.h.

Definition at line 61 of file image_flip.h.

Definition at line 60 of file image_flip.h.

Definition at line 69 of file image_flip.h.

Definition at line 76 of file image_flip.h.

Definition at line 65 of file image_flip.h.

Definition at line 66 of file image_flip.h.

ROS node handle.

Definition at line 86 of file image_flip.h.

Definition at line 70 of file image_flip.h.

publisher for the transformation matrix for the in plane rotation and translation in the image plane, this matrix converts coordinates of the turned image into coordinates of the original image (with camera calibration applicable there): p_original = T * p_turned

Definition at line 75 of file image_flip.h.

point cloud output topic

Definition at line 74 of file image_flip.h.

point cloud input topic

Definition at line 73 of file image_flip.h.

Definition at line 57 of file image_flip.h.

Definition at line 56 of file image_flip.h.

Definition at line 55 of file image_flip.h.

Definition at line 84 of file image_flip.h.


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


cob_image_flip
Author(s): Richard Bormann
autogenerated on Fri Mar 15 2019 03:10:14