1 #include <visp3/core/vpCameraParameters.h>
3 #include <visp3/io/vpImageIo.h>
4 #include <visp3/core/vpImageConvert.h>
6 #if VISP_HAVE_OPENCV_VERSION >= 0x020300
7 #include <opencv2/core/core.hpp>
8 #include <opencv2/imgproc/imgproc.hpp>
13 #if VISP_HAVE_OPENCV_VERSION >= 0x020300
26 cv::Mat D = (cv::Mat_<double>(4,1) << cam.
get_kud(), 0, 0, 0);
40 cv::Mat imageUndistorted;
41 cv::undistort(image, imageUndistorted, K, D);
static void convert(const vpImage< unsigned char > &src, vpImage< vpRGBa > &dest)
static void write(const vpImage< unsigned char > &I, const std::string &filename)
Generic class defining intrinsic camera parameters.
static void read(vpImage< unsigned char > &I, const std::string &filename)