Upload folder using huggingface_hub
Browse files
src/fiberpose/domain.py
CHANGED
|
@@ -36,7 +36,7 @@ class AppConfig:
|
|
| 36 |
segmentation_mode: str = "watershed"
|
| 37 |
merge_expansion_factor: float = 0.7
|
| 38 |
segmentation_expansion_factor: float = 1.0
|
| 39 |
-
watershed_grad_threshold: float = 0.
|
| 40 |
# Retained for DT-based void/pore analysis; watershed uses the gradient threshold above.
|
| 41 |
seg_threshold: int = 1
|
| 42 |
min_segment_foreground_mean: float = 0.5
|
|
|
|
| 36 |
segmentation_mode: str = "watershed"
|
| 37 |
merge_expansion_factor: float = 0.7
|
| 38 |
segmentation_expansion_factor: float = 1.0
|
| 39 |
+
watershed_grad_threshold: float = 0.3
|
| 40 |
# Retained for DT-based void/pore analysis; watershed uses the gradient threshold above.
|
| 41 |
seg_threshold: int = 1
|
| 42 |
min_segment_foreground_mean: float = 0.5
|
src/fiberpose/resources/config.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
| 14 |
"segmentation_mode": "watershed",
|
| 15 |
"merge_expansion_factor": 0.7,
|
| 16 |
"segmentation_expansion_factor": 1.0,
|
| 17 |
-
"watershed_grad_threshold": 0.
|
| 18 |
"seg_threshold": 1,
|
| 19 |
"min_segment_foreground_mean": 0.5,
|
| 20 |
"sample_spacing": 5.0,
|
|
|
|
| 14 |
"segmentation_mode": "watershed",
|
| 15 |
"merge_expansion_factor": 0.7,
|
| 16 |
"segmentation_expansion_factor": 1.0,
|
| 17 |
+
"watershed_grad_threshold": 0.3,
|
| 18 |
"seg_threshold": 1,
|
| 19 |
"min_segment_foreground_mean": 0.5,
|
| 20 |
"sample_spacing": 5.0,
|