From 8a22c485348dc6f99849b45a235fb479150d996c Mon Sep 17 00:00:00 2001 From: sea-shunned Date: Mon, 16 Sep 2024 10:55:49 +0100 Subject: [PATCH] Add max mask arg for SAM 1 --- aiod_registry/manifests/sam.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/aiod_registry/manifests/sam.json b/aiod_registry/manifests/sam.json index d01d154..91bcd86 100644 --- a/aiod_registry/manifests/sam.json +++ b/aiod_registry/manifests/sam.json @@ -205,7 +205,13 @@ "name": "Min mask region area", "arg_name": "min_mask_region_area", "value": 3, - "tooltip": "Size (in pixels) of masks to remove if identified as a disconnected region or hole." + "tooltip": "Size (in pixels) of masks to remove if identified as a disconnected region or hole. 0 will not remove any masks." + }, + { + "name": "Max mask region area", + "arg_name": "max_mask_region_area", + "value": 0, + "tooltip": "Size (in pixels) of masks to remove if at least this size. 0 will not remove any masks." } ] } \ No newline at end of file