#include <boost/bind.hpp>
#include <boost/format.hpp>
#include <cv_bridge/cv_bridge.h>
#include <image_transport/image_transport.h>
#include <limits>
#include <nodelet/nodelet.h>
#include <opencv2/opencv.hpp>
#include <pcl/io/io.h>
#include <pluginlib/class_list_macros.h>
#include <ros/ros.h>
#include <sensor_msgs/CameraInfo.h>
#include <sensor_msgs/image_encodings.h>
#include <sensor_msgs/PointCloud2.h>
#include <tf/transform_datatypes.h>
#include <tf/transform_listener.h>
#include <deque>
#include <list>
#include <stdio.h>
#include "dynamic/num_array.h"
Go to the source code of this file.
Classes | |
class | PointCloudImage |
Defines | |
#define | NO_EXTTYPE |
Functions | |
int | getFieldIndex (const sensor_msgs::PointCloud2 &cloud, const std::string fieldName) |
int | main (int argc, char **argv) |
cv::Mat | matFromCloud (sensor_msgs::PointCloud2ConstPtr cloud, const std::string fieldName, const int numElements) |
cv::Mat | rotationFromTransform (const tf::Transform &t) |
cv::Mat | translationFromTransform (const tf::Transform &t) |
#define NO_EXTTYPE |
Accumulate and project point cloud to an image plane
Definition at line 24 of file point_cloud_to_camera.cpp.
int getFieldIndex | ( | const sensor_msgs::PointCloud2 & | cloud, |
const std::string | fieldName | ||
) |
Definition at line 28 of file point_cloud_to_camera.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 262 of file point_cloud_to_camera.cpp.
cv::Mat matFromCloud | ( | sensor_msgs::PointCloud2ConstPtr | cloud, |
const std::string | fieldName, | ||
const int | numElements | ||
) |
Definition at line 47 of file point_cloud_to_camera.cpp.
cv::Mat rotationFromTransform | ( | const tf::Transform & | t | ) |
Definition at line 37 of file point_cloud_to_camera.cpp.
cv::Mat translationFromTransform | ( | const tf::Transform & | t | ) |
Definition at line 43 of file point_cloud_to_camera.cpp.