Previous topic

medpy.io.header.Header.set_direction

Next topic

medpy.io.header.Header.set_voxel_spacing

This Page

medpy.io.header.Header.set_offset

Header.set_offset(offset)[source]

Set image’s offset.

Parameters:

offset : tuple of floats

the new image offset / origin take care that image and offset dimensionalities match