We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d65a81 commit 8991a1aCopy full SHA for 8991a1a
doc/doc.md
@@ -198,6 +198,7 @@ python run_get_projection_maps.py -camera front -scale 0.7 0.8 -shift -150 -100
198
4. 对重叠区域中的每个像素,利用 `cv2.pointPolygonTest` 计算其到这两个多边形 `polyA` 和 `polyB` 的距离 $d_A,d_B$,则该像素对应的权值为 $w=d_B^2/(d_A^2+d_B^2)$,即如果这个像素落在 `front` 画面内,则它与 `polyB` 的距离就更远,从而权值更大。
199
200
5. 对不在重叠区域内的像素,若其属于 `front` 相机的范围则其权值为 1,否则权值为 0。于是我们得到了一个连续变化的,取值范围在 0~1 之间的矩阵 $G$,其灰度图如下:
201
+
202
<img style="margin:0px auto;display:block" width=250 src="./img/weight_for_FL.png" />
203
204
将 $G$ 作为权值可得融合后的图像为 `front * G + (1- G) * left`。
0 commit comments