fix: 耀斑检测默认关闭大面积连通域过滤

- max_area 默认值 50 → 0(不过滤),大范围耀斑区域不再被误删
- 原逻辑: Otsu → 移除 >50px 连通域 → 扔掉浅水/岸边大亮斑
- 现逻辑: Otsu → 跳过面积过滤 → 保留所有亮斑区域
- 用户可手动调大 max_area 重新启用过滤
This commit is contained in:
duxin
2026-07-28 17:42:12 +08:00
parent 80e46c8476
commit c4c70b2ff6
3 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@ class Step2Panel(QWidget):
self.max_area = QSpinBox()
self.max_area.setRange(0, 100000)
self.max_area.setValue(50)
self.max_area.setValue(0)
self.max_area.setSpecialValueText("不过滤")
self.max_area.setButtonSymbols(QSpinBox.NoButtons)
# 移除居中对齐,恢复为默认的左对齐