docs(extract): Brückenrand-Konstante besser begründet

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
knsoandClaude Sonnet 5 committed 2026-09-12 14:38:19 +02:00
1 parent ab1d64a1c2
commit 6452223c24
1 file changed
+4 -1
+4 -1
View File
@@ -60,7 +60,10 @@ def road_mask(labels: np.ndarray) -> np.ndarray:
return closing(mask, disk(3))
BRIDGE_MARGIN_PX = 3 # Rand um die Straßenfläche; die Fläche selbst ist nie "wasser".
# Rand in Pixeln (= Metern) um die Straßenfläche zur Brückenprüfung: die Straßenfläche
# selbst ist per Definition nie "wasser", daher muss das Fenster über ihren Rand
# hinausschauen, um das Wasser zu sehen, das sie überquert.
BRIDGE_MARGIN_PX = 3
def road_polygons(labels: np.ndarray) -> list[tuple[Polygon, bool]]: