Go to the documentation of this file.
9 #ifndef mrpt_CUndistortMap_H
10 #define mrpt_CUndistortMap_H
70 inline bool isSet()
const {
return !m_dat_mapx.empty(); }
void undistort(mrpt::utils::CImage &in_out_img) const
Undistort the input image and saves the result in-place- setFromCamParams() must have been set prior ...
CUndistortMap()
Default ctor.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A class for storing images as grayscale or RGB bitmaps.
mrpt::utils::TCamera m_camera_params
A copy of the data provided by the user.
std::vector< int16_t > m_dat_mapx
void undistort(const mrpt::utils::CImage &in_img, mrpt::utils::CImage &out_img) const
Undistort the input image and saves the result in the output one - setFromCamParams() must have been ...
Use this class to undistort monocular images if the same distortion map is used over and over again.
void setFromCamParams(const mrpt::utils::TCamera ¶ms)
Prepares the mapping from the distortion parameters of a camera.
Structure to hold the parameters of a pinhole camera model.
std::vector< uint16_t > m_dat_mapy
bool isSet() const
Returns true if setFromCamParams() has been already called, false otherwise.
const mrpt::utils::TCamera & getCameraParams() const
Returns the camera parameters which were used to generate the distortion map, as passed by the user t...
Page generated by Doxygen 1.8.20 for MRPT 1.4.0 SVN: at Thu Aug 27 02:40:23 UTC 2020 | | |