dicom2nifti.image_reorientation module¶
Created on Thu Aug 1 16:10:56 2013
@author: vterzopoulos, abrys
-
dicom2nifti.image_reorientation.
reorient_image
(input_image, output_image)[source]¶ Change the orientation of the Image data in order to be in LAS space x will represent the coronal plane, y the sagittal and z the axial plane. x increases from Right (R) to Left (L), y from Posterior (P) to Anterior (A) and z from Inferior (I) to Superior (S)
Returns: The output image in nibabel form
Parameters: - output_image – filepath to the nibabel image
- input_image – filepath to the nibabel image