Public Member Functions | Private Attributes
ImageSaver Class Reference

List of all members.

Public Member Functions

 ImageSaver (const std::string &save_dir, const std::string &filetype, const std::string &prefix)
 ImageSaver (const std::string &save_dir, const std::string &filetype, const std::string &prefix)
void save (const sensor_msgs::ImageConstPtr &img)
void save (const sensor_msgs::Image::ConstPtr &img, const sensor_msgs::CameraInfo::ConstPtr &info)

Private Attributes

image_geometry::PinholeCameraModel camera_model_
std::string filetype_
int num_saved_
std::string prefix_
image_proc::Processor processor_
std::string save_dir_

Detailed Description

Copyright (c) 2012, Systems, Robotics and Vision Group University of the Balearican Islands All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of Systems, Robotics and Vision Group, University of the Balearican Islands nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT holder>=""> BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Saves color images from raw input

Copyright (c) 2012, Systems, Robotics and Vision Group University of the Balearican Islands All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of Systems, Robotics and Vision Group, University of the Balearican Islands nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT holder>=""> BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Saves rectified color images from raw and camera info input

Definition at line 46 of file extract_images.cpp.


Constructor & Destructor Documentation

ImageSaver::ImageSaver ( const std::string &  save_dir,
const std::string &  filetype,
const std::string &  prefix 
) [inline]

Definition at line 49 of file extract_images.cpp.

ImageSaver::ImageSaver ( const std::string &  save_dir,
const std::string &  filetype,
const std::string &  prefix 
) [inline]

Definition at line 49 of file extract_stereo_images.cpp.


Member Function Documentation

void ImageSaver::save ( const sensor_msgs::ImageConstPtr &  img) [inline]

Definition at line 54 of file extract_images.cpp.

void ImageSaver::save ( const sensor_msgs::Image::ConstPtr &  img,
const sensor_msgs::CameraInfo::ConstPtr &  info 
) [inline]

Definition at line 54 of file extract_stereo_images.cpp.


Member Data Documentation

Definition at line 89 of file extract_stereo_images.cpp.

std::string ImageSaver::filetype_ [private]

Definition at line 82 of file extract_images.cpp.

int ImageSaver::num_saved_ [private]

Definition at line 84 of file extract_images.cpp.

std::string ImageSaver::prefix_ [private]

Definition at line 83 of file extract_images.cpp.

Definition at line 80 of file extract_images.cpp.

std::string ImageSaver::save_dir_ [private]

Definition at line 81 of file extract_images.cpp.


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


bag_tools
Author(s): Stephan Wirth , Miquel Massot
autogenerated on Fri Aug 28 2015 13:15:13