mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-08 13:57:46 +08:00
Update intrinsic with the new camera matrix from undistortion
This commit is contained in:
@@ -206,8 +206,13 @@ bool isGemini2R(int pid);
|
||||
|
||||
OBStreamType obStreamTypeFromString(const std::string& stream_type);
|
||||
|
||||
cv::Mat undistortImage(const cv::Mat& image, const OBCameraIntrinsic& intrinsic,
|
||||
const OBCameraDistortion& distortion);
|
||||
struct UndistortedImageResult {
|
||||
cv::Mat image;
|
||||
OBCameraIntrinsic new_intrinsic;
|
||||
};
|
||||
|
||||
UndistortedImageResult undistortImage(const cv::Mat& image, const OBCameraIntrinsic& intrinsic,
|
||||
const OBCameraDistortion& distortion);
|
||||
|
||||
std::string getDistortionModels(OBCameraDistortion distortion);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user