[−][src]Function opencv::rapid::extract_control_points
pub fn extract_control_points(
num: i32,
len: i32,
pts3d: &dyn ToInputArray,
rvec: &dyn ToInputArray,
tvec: &dyn ToInputArray,
k: &dyn ToInputArray,
imsize: Size,
tris: &dyn ToInputArray,
ctl2d: &mut dyn ToOutputArray,
ctl3d: &mut dyn ToOutputArray
) -> Result<()>
Extract control points from the projected silhouette of a mesh
see drummond2002real Sec 2.1, Step b
Parameters
- num: number of control points
- len: search radius (used to restrict the ROI)
- pts3d: the 3D points of the mesh
- rvec: rotation between mesh and camera
- tvec: translation between mesh and camera
- K: camera intrinsic
- imsize: size of the video frame
- tris: triangle face connectivity
- ctl2d: the 2D locations of the control points
- ctl3d: matching 3D points of the mesh