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.
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.