Add muddy ground and embankment classes for UAV_VisLoc
Background analysis on crop_0_0/0_1 showed wetland/embankment areas (dark grey-green, avg RGB 101,103,97) between water bodies not covered by any existing class. Add: - "muddy ground and wetland" (ID 14) - "embankment and levee" (ID 15) Total: 14 → 16 classes for UAV_VisLoc. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -88,6 +88,8 @@ def main() -> None:
|
|||||||
"bare soil and plowed field", # 11
|
"bare soil and plowed field", # 11
|
||||||
"roof and rooftop", # 12
|
"roof and rooftop", # 12
|
||||||
"sports field and playground", # 13
|
"sports field and playground", # 13
|
||||||
|
"muddy ground and wetland", # 14
|
||||||
|
"embankment and levee", # 15
|
||||||
])
|
])
|
||||||
models_conf = ModelsConfig(weights_dir=str(_PROJECT_ROOT / "in" / "weights"))
|
models_conf = ModelsConfig(weights_dir=str(_PROJECT_ROOT / "in" / "weights"))
|
||||||
|
|
||||||
|
|||||||
@@ -97,6 +97,8 @@ _FIXED_PALETTE = np.array([
|
|||||||
[140, 100, 50], # 11: bare soil — dark tan
|
[140, 100, 50], # 11: bare soil — dark tan
|
||||||
[180, 60, 60], # 12: rooftop — dark red
|
[180, 60, 60], # 12: rooftop — dark red
|
||||||
[50, 200, 150], # 13: sports field — teal
|
[50, 200, 150], # 13: sports field — teal
|
||||||
|
[80, 100, 70], # 14: muddy/wetland — olive
|
||||||
|
[170, 130, 100], # 15: embankment — sandy brown
|
||||||
], dtype=np.uint8)
|
], dtype=np.uint8)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user