estimates homography between camera and calibration pattern plane and save transformation parameters to a .yaml file.
*.bag
file of patternhomography_estimator.launch
filerqt
and open dynamic_reconfigure pluginhomography_estimator.launch
filechessboard
, circles
, circles_asymmetric
)p_{bot|top}_{right|left}_{x|y}
(border of green lines in homography_estimator_input
image)points_per_col
and points_per_row
)pattern_delta_x
and pattern_delta_y
)pattern_offset_x
and pattern_offset_y
)outline_scale_factor
)homography_estimator_input
example)shows the input image and the estimated points for homography (green square)
shows the warped image and the blob filter detection results
shows the pattern detection results
shows the finally calculated homography applied on the orignal image
%YAML:1.0
---
world2cam: !!opencv-matrix
rows: 3
cols: 3
dt: d
data: [ 1.6692432475121174e+02, -1.0473530728192594e+02,
4.1899035694525743e+01, -5.3058063431231153e+00,
-8.5485048630232763e-01, 3.0488767398247290e+01,
2.5714915733718796e-01, 1.9354996942966881e-03,
2.1857104647575391e-02 ]
cam2world: !!opencv-matrix
rows: 3
cols: 3
dt: d
data: [ 9.2773372432628046e-05, -2.8302943486492732e-03,
3.7701732480210497e+00, -9.5001192175387123e-03,
8.5086756092260935e-03, 6.3424138245340718e+00,
-2.5022146305447759e-04, 3.2544990711281058e-02,
8.3393416152725042e-01 ]