-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description
Per-pixel valley width calculation via distance transform + watershed segmentation. Optional analysis, lower priority.
Algorithm
- Distance transform on valley mask (distance to valley edge)
- Find local maxima (valley centerlines) via peak detection
- Watershed segmentation from maxima
- Assign width = 2 × distance at centerline for each segment
Inputs
valleys: SpatRaster (binary valley mask from fl_valley_confine)
Output
SpatRaster with valley width in meters per pixel.
Source reference
valley_confinement.py lines 614-678 (calculate_width block)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels