Copyright (C) 2010 Hauke Strasdat Imperial College London Copyright (c) 2005-2020,...
const mrpt::img::TCamera & getCameraParams() const
Returns the camera parameters which were used to generate the distortion map, as passed by the user t...
CUndistortMap()
Default ctor.
std::vector< int16_t > m_dat_mapx
Parameters for the Brown-Conrady camera lens distortion model.
void setFromCamParams(const mrpt::img::TCamera ¶ms)
Prepares the mapping from the distortion parameters of a camera.
Use this class to undistort monocular images if the same distortion map is used over and over again.
mrpt::img::TCamera m_camera_params
A copy of the data provided by the user.
mrpt::vision::TStereoCalibParams params
A class for storing images as grayscale or RGB bitmaps.
void undistort(const mrpt::img::CImage &in_img, mrpt::img::CImage &out_img) const
Undistort the input image and saves the result in the output one - setFromCamParams() must have been ...
std::vector< uint16_t > m_dat_mapy
bool isSet() const
Returns true if setFromCamParams() has been already called, false otherwise.
Page generated by Doxygen 1.8.17 for MRPT 2.0.4 at Sun Jul 19 15:15:43 UTC 2020 | |