Skip to content

Commit 20369b7

Browse files
committed
Update detection parameters
1 parent c4f2b91 commit 20369b7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

flamingo_tools/segmentation/sgn_detection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ def sgn_detection(
3535
spot_radius: Radius in pixel to convert spot detection of SGNs into a volume.
3636
"""
3737
if block_shape is None:
38-
block_shape = (24, 256, 256)
38+
block_shape = (12, 128, 128)
3939
if halo is None:
40-
halo = (12, 64, 64)
40+
halo = (10, 64, 64)
4141

4242
# Skip existing prediction, which is saved in output_folder/predictions.zarr
4343
skip_prediction = False

scripts/sgn_detection/sgn_detection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def main():
2525

2626
args = parser.parse_args()
2727

28-
block_shape = (24, 256, 256)
29-
halo = (12, 64, 64)
28+
block_shape = (12, 128, 128)
29+
halo = (10, 64, 64)
3030

3131
if args.s3:
3232
input_path, fs = s3_utils.get_s3_path(args.input, bucket_name=args.s3_bucket_name,

0 commit comments

Comments
 (0)