Skip to content

Commit

Permalink
Update io.py
Browse files Browse the repository at this point in the history
  • Loading branch information
carsen-stringer authored Sep 7, 2024
1 parent 6717531 commit 5f2f541
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cellpose/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -744,3 +744,4 @@ def save_masks(images, masks, flows, file_names, png=True, tif=False, channels=[
imsave(os.path.join(flowdir, basename + "_flows" + suffix + ".tif"),
(flows[0] * (2**16 - 1)).astype(np.uint16))
#save full flow data
imsave(os.path.join(flowdir, basename + "_dP" + suffix + ".tif"), flows[1])

0 comments on commit 5f2f541

Please sign in to comment.