18 #ifndef VISION_COMMON_IDENTITY_DISTORTER_H_
19 #define VISION_COMMON_IDENTITY_DISTORTER_H_
32 Eigen::Matrix<T, 2, 1>
Distort(
const T* distortion,
const Eigen::Matrix<T, 3, 3>& intrinsics,
33 const Eigen::Matrix<T, 2, 1>& undistorted_point)
const {
34 return undistorted_point;
37 cv::Mat
Undistort(
const cv::Mat& distorted_image,
const Eigen::Matrix3d& intrinsics,
38 const Eigen::VectorXd& distortion)
const final {
39 return distorted_image;
42 Eigen::Vector2d
Undistort(
const Eigen::Vector2d& distorted_point,
const Eigen::Matrix3d& intrinsics,
43 const Eigen::VectorXd& distortion)
const final {
44 return distorted_point;
49 #endif // VISION_COMMON_IDENTITY_DISTORTER_H_