OSCR

Block oscr:b:CT1MZ6AG9FZ5F-P

A block of code linked to a paper, with an identifier OSCR gives it for good: it is never reused nor deleted. What a block identifier is · this block in JSON

Identifier
oscr:b:CT1MZ6AG9FZ5F-P
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41598-023-34232-6 · its page here
Code
github.com/wenchentao/seg2link, seg2link/watersheds.py, lines 17 to 27 (dist_watershed)
Commit read
f768d4ecf700ff1817bdde2f83e3f701a3882cd4
SWHID
swh:1:cnt:e99cdbeba5a656fe2eea05b0a6bb91f60bfc1f2d;origin=https://github.com/wenchentao/seg2link;anchor=swh:1:rev:f768d4ecf700ff1817bdde2f83e3f701a3882cd4;path=/seg2link/watersheds.py;lines=17-27 (the Software Heritage identifier of the file as its authors published it, before any email address is hidden for display; it opens in Software Heritage's archive once the repository is archived there)
In the paper
paragraph 63 (Methods › Architectures of Seg2Link › Module 1: Seg2D + Link—Automatic segmentat)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-14

Open these lines beside the paper

Cite this block

Copy this text: the identifier and its page first, then the code, the paper and the SWHID.

Code block oscr:b:CT1MZ6AG9FZ5F-P (https://openscicode.org/b/oscr:b:CT1MZ6AG9FZ5F-P)
seg2link/watersheds.py, lines 17 to 27, in github.com/wenchentao/seg2link (https://github.com/wenchentao/seg2link), commit f768d4ecf700ff1817bdde2f83e3f701a3882cd4.
Paper: https://doi.org/10.1038/s41598-023-34232-6
SWHID: swh:1:cnt:e99cdbeba5a656fe2eea05b0a6bb91f60bfc1f2d;origin=https://github.com/wenchentao/seg2link;anchor=swh:1:rev:f768d4ecf700ff1817bdde2f83e3f701a3882cd4;path=/seg2link/watersheds.py;lines=17-27