Previous topic

medpy.io.header.Header.set_offset

Next topic

Metric measures (medpy.metric)

This Page

medpy.io.header.Header.set_voxel_spacing

Header.set_voxel_spacing(spacing)[source]

Set image’s spacing.

Parameters:

spacing : tuple of floats

the new image voxel spacing take care that image and spacing dimensionalities match