OSCR

Block oscr:b:1M5KMXDXYS1KW-D

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:1M5KMXDXYS1KW-D
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.3390/a16020116 · its page here
Code
github.com/brainsia/pigsnipe, src/segmentation/transforms.py, lines 32 to 140 (CropAndStripByResampled)
Commit read
db925d06411e10a85c5a14cb095bc295b40960c6
SWHID
swh:1:cnt:847f47d47c34ea4088305498219180399c7b09a8;origin=https://github.com/brainsia/pigsnipe;anchor=swh:1:rev:db925d06411e10a85c5a14cb095bc295b40960c6;path=/src/segmentation/transforms.py;lines=32-140 (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 13 (Materials and Methods › Deep Learning Segmentation Model)
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:1M5KMXDXYS1KW-D (https://openscicode.org/b/oscr:b:1M5KMXDXYS1KW-D)
src/segmentation/transforms.py, lines 32 to 140, in github.com/brainsia/pigsnipe (https://github.com/brainsia/pigsnipe), commit db925d06411e10a85c5a14cb095bc295b40960c6.
Paper: https://doi.org/10.3390/a16020116
SWHID: swh:1:cnt:847f47d47c34ea4088305498219180399c7b09a8;origin=https://github.com/brainsia/pigsnipe;anchor=swh:1:rev:db925d06411e10a85c5a14cb095bc295b40960c6;path=/src/segmentation/transforms.py;lines=32-140