libcarna.data¶
- libcarna.data.cthead(normalize: bool = False) ndarray¶
Returns a computer tomography (CT) study of a cadaver head: https://graphics.stanford.edu/data/voldata/
The data is 256 × 256 × 99 pixels (uint16). The image intensities are not normalized to Hounsfield Units. The spacings should have a ratio of 1:1:2.
- Parameters:
normalize – If True, the image intensities are heuristically normalized to Hounsfield Units (HU).
- libcarna.data.nuclei()¶
Returns a sample image of cell nuclei.
The image is from the Allen Cell WTC-11 hiPSC Single-Cell Image Dataset: https://doi.org/10.1038/s41586-022-05563-7 (Viana et al. 2023).
The data is 60 × 256 × 256 pixels (uint16). The spacings should have a ratio of 2:1:1.
- libcarna.data.toy(seed: int = 0)¶
Returns a toy image of a 3D Gaussian.
The data is 64 × 64 × 20 pixels (float64). The image intensities are normalized to the range [0, 1].
- Parameters:
seed – Random seed for reproducibility.