Skip to content

Commit

Permalink
Agglomerate segments during cutout
Browse files Browse the repository at this point in the history
  • Loading branch information
ranlu committed May 16, 2024
1 parent d590234 commit babd927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cut_chunk_cs.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def write_metadata(fn, offset, size, ac_offset, low, high, boundaries):
aff_cutout = cut_data(aff, start_coord, end_coord, boundary_flags)
save_raw_data("aff.raw", aff_cutout)

seg = load_data(os.environ['SEG_PATH'], mip=global_param['AFF_RESOLUTION'], fill_missing=global_param.get('SEG_FILL_MISSING', False))
seg = load_data(os.environ['SEG_PATH'], mip=global_param['AFF_RESOLUTION'], fill_missing=global_param.get('SEG_FILL_MISSING', False), agglomerate=True)
seg_cutout = cut_data(seg, start_coord, end_coord, boundary_flags)
save_raw_data("seg.raw", seg_cutout)

Expand Down

0 comments on commit babd927

Please sign in to comment.