opera-adt / DSWX-SAR

Dynamic Surface Water Extent from Synthetic Aperture Radar
Apache License 2.0
11 stars 6 forks source link

Move hard coded parameters to runconfing #69

Closed oberonia78 closed 7 months ago

oberonia78 commented 7 months ago

This PR introduces an update to the initial_threshold.py script, addressing the previously hard-coded values used to define the threshold range. In the original implementation, any computed threshold falling outside these predefined limits was disregarded, potentially limiting the adaptability and effectiveness of the thresholding process across varied datasets.

By enabling user-defined threshold ranges and extensive testing to identify optimal settings, it aims to improve performance, in particular, along the water boundary.