1
debug_perspective_cn
guoh064 edited this page 2024-04-19 21:19:40 +08:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Vanish point and distant point too close

LmeSzinc 20:45:43

4X{I87JB C HE WI9L)0

LmeSzinc 20:46:14

中文就是拟合的灭点和距点过近

LmeSzinc 20:46:57

灭点和据点是用地图网格线拟合的

LmeSzinc 20:48:41

拟合失败就是地图的网格线不足

LmeSzinc 20:49:14

760995738-4042247926-34E9F717A32FC3679786472354DA7506

网格线识别在这里

LmeSzinc 20:49:36

应该调 INTERNAL_LINES_FIND_PEAKS_PARAMETERS

LmeSzinc 20:50:38

然后PS打开报错的图片

LmeSzinc 20:50:57

CTRL+SHIFT+U 去色

LmeSzinc 20:52:14

760995738-1231152451-FB7E6F2D026BE2FA1A487C6C8F032B38

这里的线的颜色是119

LmeSzinc 20:53:08

findpeaks是找峰值所以图片预处理前会有反色

LmeSzinc 20:53:44

'height': (150, 255 - 33), 就是只能识别灰度 33~105的网格线

LmeSzinc 20:54:19

要识别119的就应该把'height': (150, 255 - 33),里的150调低

LmeSzinc 20:56:31

760995738-3915887457-0B0289933C5D851A00EB8C10904F44DF

口糊 80 就差不多了

MAP_ENSURE_EDGE_INSIGHT_CORNER

LmeSzinc 20:58:10

MAP_ENSURE_EDGE_INSIGHT_CORNER是什么时候设置在顶部地图边缘被大量遮挡的时候才设置

LmeSzinc 20:59:36

760995738-4191664886-916E25FCF75337C02610A7BE773187A4

比如这样

LmeSzinc 21:00:45

760995738-2195478533-7D45E70B079686BF6EAD48BCA889A421

或者这样

LmeSzinc 21:02:09

760995738-2972546853-3A8958F603D48E49D3A1EAB1713F1216

识别到的边缘就只有这么多

LmeSzinc 21:02:31

不够作为一条边缘,所以用下边缘来对齐