You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When converting a NIFTI to a valid DICOM, header fields have to be set and it would be nice to have a function to calculate a DICOM's PatientOrientation attribute given its ImageOrientationPatient attribute. Alternatively, according to your documentation, an affine matrix could also be used as input.
I haven't found such a method in Nibabel yet but I figured it would fit quite well alongside the nibabel.orientations methods. Is this something that you would consider worth implementing? Am I missing an already existing way of creating this string?
The text was updated successfully, but these errors were encountered:
As far as I understood it, the PatientOrientation requires multiple letters if the vector lies right between two axes, so with RAS labeling, a vector of x = [1,1,0] should return RA, which does not seem to be case for me. With the following code, what I get is ('R', 'A', 'S') while I would expect ('RI', 'RA', 'PS'):
Hi everyone!
When converting a NIFTI to a valid DICOM, header fields have to be set and it would be nice to have a function to calculate a DICOM's PatientOrientation attribute given its ImageOrientationPatient attribute. Alternatively, according to your documentation, an affine matrix could also be used as input.
I haven't found such a method in Nibabel yet but I figured it would fit quite well alongside the nibabel.orientations methods. Is this something that you would consider worth implementing? Am I missing an already existing way of creating this string?
The text was updated successfully, but these errors were encountered: