Add InitRectifyMap() and change distortionCoeff order
authorTae-Young Chung <ty83.chung@samsung.com>
Tue, 19 Oct 2021 01:04:08 +0000 (10:04 +0900)
committer엘무럿/선행S/W Lab(생활가전)/Principal Engineer/삼성전자 <e.talipov@samsung.com>
Tue, 14 Dec 2021 02:21:04 +0000 (11:21 +0900)
commit8281820e1e236fa1cc0230d4a76f9cf9dec5eda2
tree4b9f3b37a21b5dcf7aa8589ac351def3252efee6
parentc3020ac463aea8b9de8b59ba2af7ca336d519066
Add InitRectifyMap() and change distortionCoeff order

mapping table, which is used to rectify distorted images,
is pre-computed in InitRectifyMap().
Before actual depth computation by compute() function of opencv,
rectification with mapping table is done by remap() function
of opencv.

The order of distortion coefficients is k1, k2, p1, p2, and k3,
not k1, k2, k3, p1, and p2.

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
res/stereoCalibZed.yaml
src/dfs_opencv.cpp
src/dfs_opencv_private.h