OSCR

Block oscr:b:B5MPC5C1NANE0-K

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:B5MPC5C1NANE0-K
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41377-022-00768-x · its page here
Code
github.com/armstrong-lsw/sr_self_align, basicsr/metrics/psnr_ssim.py, lines 7 to 49 (calculate_psnr)
Commit read
38b9cfa8fc4910e8d8b48fca97806272a60ab20c
SWHID
swh:1:cnt:22dc0fd12bbfa14e2b36dcae082f499a8a8859ca;origin=https://github.com/armstrong-lsw/sr_self_align;anchor=swh:1:rev:38b9cfa8fc4910e8d8b48fca97806272a60ab20c;path=/basicsr/metrics/psnr_ssim.py;lines=7-49 (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 (Results › Statistical analysis of image quality improvement)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-16

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:B5MPC5C1NANE0-K (https://openscicode.org/b/oscr:b:B5MPC5C1NANE0-K)
basicsr/metrics/psnr_ssim.py, lines 7 to 49, in github.com/armstrong-lsw/sr_self_align (https://github.com/armstrong-lsw/sr_self_align), commit 38b9cfa8fc4910e8d8b48fca97806272a60ab20c.
Paper: https://doi.org/10.1038/s41377-022-00768-x
SWHID: swh:1:cnt:22dc0fd12bbfa14e2b36dcae082f499a8a8859ca;origin=https://github.com/armstrong-lsw/sr_self_align;anchor=swh:1:rev:38b9cfa8fc4910e8d8b48fca97806272a60ab20c;path=/basicsr/metrics/psnr_ssim.py;lines=7-49