OSCR

Block oscr:b:HRXWAPN3S5EE7-X

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:HRXWAPN3S5EE7-X
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41598-022-27350-0 · its page here
Code
github.com/bonelab/hr-pqct-segmentation, utils/image_import.py, lines 89 to 110 (draw_sample)
Commit read
9aef696a05eb875e37c5608c2ef344de6111d04c
SWHID
swh:1:cnt:472d5ce95f2ffa8e8d4a7386cd929daa51bf2afc;origin=https://github.com/bonelab/hr-pqct-segmentation;anchor=swh:1:rev:9aef696a05eb875e37c5608c2ef344de6111d04c;path=/utils/image_import.py;lines=89-110 (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 48 (Methods › Embedding-predicting U-Net › Loss functions › Classification accuracy)
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:HRXWAPN3S5EE7-X (https://openscicode.org/b/oscr:b:HRXWAPN3S5EE7-X)
utils/image_import.py, lines 89 to 110, in github.com/bonelab/hr-pqct-segmentation (https://github.com/bonelab/hr-pqct-segmentation), commit 9aef696a05eb875e37c5608c2ef344de6111d04c.
Paper: https://doi.org/10.1038/s41598-022-27350-0
SWHID: swh:1:cnt:472d5ce95f2ffa8e8d4a7386cd929daa51bf2afc;origin=https://github.com/bonelab/hr-pqct-segmentation;anchor=swh:1:rev:9aef696a05eb875e37c5608c2ef344de6111d04c;path=/utils/image_import.py;lines=89-110