Update docs with post-processing results: bg 57% → 5%

Verified on 128 satellite images after dark water fix (std threshold
0.08 → 0.18). Document calibrated thresholds and measured improvements.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
pikaliov
2026-04-18 02:53:19 +03:00
parent 891efdf738
commit 3143dc7bf2
3 changed files with 19 additions and 5 deletions

View File

@@ -314,10 +314,23 @@ GTA-UAV-LR — синтетический датасет, сгенерирова
```python
from scripts.seg_classes import UNIFIED_PROMPTS
SegConfig(threshold=0.15, prompts=UNIFIED_PROMPTS)
# UNIFIED_PROMPTS содержит 17 классов (ID 0-16)
# GTA-UAV: активны все кроме 14, 15 (muddy/embankment — нет в GTA V)
# + seg_fix_dark_water=True, seg_reclassify_wetland=True
```
### Результаты post-processing (проверено на 128 satellite + drone)
| Метрика | Без post-processing | С post-processing |
|---|---|---|
| Satellite background | 57.6% | **5.3%** |
| Satellite >50% bg images | 56.7% | **1%** |
| Satellite water | 3.7% | **58.5%** |
| Drone wetland (ложный) | 14.3% | **0%** |
| Drone background | 11.4% | ~8% |
Два правила:
1. **Dark water fix** (`seg_fix_dark_water=True`): если background-пиксели имеют mean_rgb < 0.24 и std < 0.18, переклассифицировать в water (class 4). Пороги калиброваны на GTA-UAV ocean: mean ~0.12-0.18, std ~0.10-0.15.
2. **Wetland reclassify** (`seg_reclassify_wetland=True`): промпт "muddy ground and wetland" ложно срабатывает на холмистой местности GTA V (трава + грунт). Переклассификация по цвету: зелёный → vegetation (3), коричневый → bare soil (11).
---
## Оценка влияния на производительность