Skip to content

Commit 1f5fb6f

Browse files
Donglai Weiclaude
andcommitted
Update large decode yaml: align params with decode_waterz, add new options
Add compute_fragments, use_aff_uint8, use_seg_uint32, dust_merge params. Align thresholds/aff_threshold with waterz_decoding.yaml. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2d04d87 commit 1f5fb6f

1 file changed

Lines changed: 17 additions & 5 deletions

File tree

tutorials/waterz_decoding_large.yaml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,33 @@ large_decode:
3434
chunk_shape: [80, 2066, 2066]
3535

3636
# Waterz agglomeration parameters (same as decode_waterz kwargs)
37-
thresholds: [0.5]
37+
thresholds: [0.4]
3838
merge_function: aff85_his256
39-
aff_threshold_low: 0.001
39+
aff_threshold_low: 0.1
4040
aff_threshold_high: 0.999
4141
channel_order: xyz
42+
#use_aff_uint8: true # uint8 affinities (4x less aff memory)
43+
#use_seg_uint32: true # uint32 segment IDs (2x less seg memory)
4244

43-
# Border stitching parameters (same as face_merge_pairs / branch_merge)
45+
# Fragment initialization (per chunk)
46+
#compute_fragments: true # 2D slice-by-slice mahotas watershed
47+
#seed_method: maxima_distance # maxima_distance[-T], minima[-T], grid[-N]
48+
49+
# Dust merge (per chunk, after agglomeration)
50+
dust_merge: true
51+
dust_merge_size: 400
52+
dust_merge_affinity: 0.3
53+
dust_remove_size: 200
54+
55+
# Border stitching (same params as face_merge_pairs / branch_merge)
4456
min_overlap: 10 # min overlap pixels to consider a pair
4557
iou_threshold: 0.0 # full Jaccard IOU threshold (0=disabled)
4658
one_sided_threshold: 0.9 # overlap/min_size for small-into-large merge
4759
one_sided_min_size: 0 # min segment size in face for one-sided merge
4860
affinity_threshold: 0.0 # min boundary affinity (0=disabled)
4961

5062
# Output
51-
write_output: true # assemble final volume
52-
output_path: "" # default: workflow_root/assembled.h5
63+
write_output: true
64+
output_path: "" # default: workflow_root/assembled.h5
5365
compression: gzip
5466
compression_level: 4

0 commit comments

Comments
 (0)