mymesh.demo_image#
- mymesh.demo_image(name='bunny', normalize=True, scalefactor=1)[source]#
Example image data from online databases
Since data is obtained on-demand from online sources, internet connectivity is required.
- Parameters:
name (str, optional) –
Name of the image to access, by default ‘bunny’. Available options are:
”bunny” - CT scan of the Stanford Bunny from the Stanford volume data archive
normalize (bool, optional) – Normalize image data to the range 0-255 in uint8 format, by default True
scalefactor (float, optional) – Upsample or downsample the image, e.g. scalefactor=0.5 will provide an image at half the resolution as the original.
- Returns:
img – Image array
- Return type:
np.ndarray