darsia.equalize_voxel_size#

equalize_voxel_size(image, voxel_size=None, **kwargs)[source]#

Resize routine which keeps physical dimensions, but unifies the voxel length.

Parameters:
imagedarsia.Image

Image to be resized.

voxel_sizefloat, optional

Side length, min of the voxel side of the image if None. keyword arguments: interpolation (str): interpolation type used for resize

Returns:
darsia.Image

Resized image.