Uncap watershed details

This commit is contained in:
Chris Tsang
2026-08-06 16:14:44 +01:00
parent febcc28920
commit 6f163fcf7d
6 changed files with 24 additions and 18 deletions
+2 -2
View File
@@ -121,8 +121,8 @@ struct Args {
adaptive_t: Option<f64>,
/// Watershed clustering: hierarchy cut level (0..=255, higher = more regions).
#[arg(long, value_parser = clap::value_parser!(u8))]
watershed_detail: Option<u8>,
#[arg(long, value_parser = clap::value_parser!(u32))]
watershed_detail: Option<u32>,
}
fn parse_simplify_tolerance(s: &str) -> Result<f64, String> {