oa::vision::undistort_rectify_map
Build the forward/undistort rectification coordinate map matching initUndistortRectifyMap for a widthxheight output, returned as the [1, 2, height, width] F32 map consumed by crate::image::remap. rectification is an optional [3, 3] rectifying rotation and projection an optional [3, 3] new camera matrix (defaulting to the input camera). Errors Returns an error for malformed matrices or nonpositive dimensions.
Function Documentation
Build the forward/undistort rectification coordinate map matching initUndistortRectifyMap for a widthxheight output, returned as the [1, 2, height, width] F32 map consumed by crate::image::remap. rectification is an optional [3, 3] rectifying rotation and projection an optional [3, 3] new camera matrix (defaulting to the input camera). Errors Returns an error for malformed matrices or nonpositive dimensions.