plenoptic.data.curie#
- plenoptic.data.curie(as_gray=True)[source]#
Return an example grayscale image of Marie Curie.
- Parameters:
as_gray (
bool(default:True)) – Whether to load a single grayscale channel or 3 RGB channels.- Return type:
- Returns:
image – 4d tensor of the image.
Examples
>>> import plenoptic as po >>> curie = po.data.curie() >>> curie.shape torch.Size([1, 1, 256, 256]) >>> po.plot.imshow(curie) <PyrFigure size ...>
>>> import plenoptic as po >>> curie_rgb = po.data.curie(as_gray=False) >>> curie_rgb.shape torch.Size([1, 3, 256, 256])