#include <opencv2/highgui/highgui.hpp>
#include <ros/ros.h>
#include <cv_bridge/cv_bridge.h>
#include <image_transport/image_transport.h>
#include <camera_calibration_parsers/parse.h>
#include <boost/format.hpp>
#include <std_srvs/Empty.h>
Go to the source code of this file.
Functions | |
void | callback (const sensor_msgs::ImageConstPtr &image_msg, const sensor_msgs::CameraInfoConstPtr &info) |
int | main (int argc, char **argv) |
bool | service (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res) |
Variables | |
std::string | encoding |
int | g_count = 0 |
boost::format | g_format |
bool | save_all_image |
bool | save_image_service |
void callback | ( | const sensor_msgs::ImageConstPtr & | image_msg, |
const sensor_msgs::CameraInfoConstPtr & | info | ||
) |
Definition at line 54 of file image_saver.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 94 of file image_saver.cpp.
bool service | ( | std_srvs::Empty::Request & | req, |
std_srvs::Empty::Response & | res | ||
) |
Definition at line 49 of file image_saver.cpp.
std::string encoding |
Definition at line 47 of file image_saver.cpp.
int g_count = 0 |
Definition at line 44 of file image_saver.cpp.
Definition at line 45 of file image_saver.cpp.
bool save_all_image |
Definition at line 46 of file image_saver.cpp.
bool save_image_service |
Definition at line 46 of file image_saver.cpp.