OSCR

Block oscr:b:5KKJQ0HYKS0QB-9

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:5KKJQ0HYKS0QB-9
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1016/j.media.2023.102789 · its page here
Code
github.com/bbillot/synthseg, ext/lab2im/image_generator.py, lines 29 to 159 (ImageGenerator.__init__)
Commit read
2a2aa3bbfccb83f8253a51ca8b329b9938a2646d
SWHID
swh:1:cnt:d48886a7dae172ff3b4a0317daf265dc13837176;origin=https://github.com/bbillot/synthseg;anchor=swh:1:rev:2a2aa3bbfccb83f8253a51ca8b329b9938a2646d;path=/ext/lab2im/image_generator.py;lines=29-159 (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 20 (Methods › Generative model › Initial HR synthetic image)
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:5KKJQ0HYKS0QB-9 (https://openscicode.org/b/oscr:b:5KKJQ0HYKS0QB-9)
ext/lab2im/image_generator.py, lines 29 to 159, in github.com/bbillot/synthseg (https://github.com/bbillot/synthseg), commit 2a2aa3bbfccb83f8253a51ca8b329b9938a2646d.
Paper: https://doi.org/10.1016/j.media.2023.102789
SWHID: swh:1:cnt:d48886a7dae172ff3b4a0317daf265dc13837176;origin=https://github.com/bbillot/synthseg;anchor=swh:1:rev:2a2aa3bbfccb83f8253a51ca8b329b9938a2646d;path=/ext/lab2im/image_generator.py;lines=29-159