@@ -34,7 +34,7 @@ def cellpose(
34
34
1 , help = "Parameter for scipy gaussian_filter (applied before running cellpose)"
35
35
),
36
36
min_patch_size : int = typer .Option (
37
- 5 ,
37
+ 10 ,
38
38
help = "Minimum patch size (in pixels) for both width and height. Patches smaller than this will be skipped to avoid segmentation errors." ,
39
39
),
40
40
patch_index : int = typer .Option (
@@ -106,7 +106,7 @@ def stardist(
106
106
help = "Parameter for scipy gaussian_filter (applied before running the segmentation method)" ,
107
107
),
108
108
min_patch_size : int = typer .Option (
109
- 5 ,
109
+ 10 ,
110
110
help = "Minimum patch size (in pixels) for both width and height. Patches smaller than this will be skipped to avoid segmentation errors." ,
111
111
),
112
112
patch_index : int = typer .Option (
@@ -171,7 +171,7 @@ def generic_staining(
171
171
help = "Parameter for scipy gaussian_filter (applied before running the segmentation method)" ,
172
172
),
173
173
min_patch_size : int = typer .Option (
174
- 5 ,
174
+ 10 ,
175
175
help = "Minimum patch size (in pixels) for both width and height. Patches smaller than this will be skipped to avoid segmentation errors." ,
176
176
),
177
177
patch_index : int = typer .Option (
@@ -227,7 +227,7 @@ def _run_staining_segmentation(
227
227
gaussian_sigma : float ,
228
228
patch_index : int | None ,
229
229
cache_dir_name : str | None ,
230
- min_patch_size : int = 5 ,
230
+ min_patch_size : int = 10 ,
231
231
** method_kwargs : Any ,
232
232
):
233
233
from sopa .io .standardize import read_zarr_standardized
0 commit comments