Applying Transformation matrix to DICOM files?

2 visualizaciones (últimos 30 días)
Student123
Student123 el 19 de Nov. de 2018
I am trying to alter the patient orientation of DICOM files from one data set, to the patient orientation of another data set. My attempt below changes the values of the original image orientation, but does not apply it to the original DICOMs. I need to apply the intended image orientation to the entire folder of the original DICOMs.
knee_original = 'C:\Users\Desktop\FolderContainingDICOMsIncorrectOrientation\0001.DCM';
knee_original_info = dicominfo(knee_original);
knee_original_info.ImageOrientationPatient
knee_intended = 'C:\Users\Desktop\FolderContainingDICOMsCorrectOrientation\0001.DCM';
knee_intended_info = dicominfo(knee_intended);
knee_intended_info.ImageOrientationPatient
knee_original_info.ImageOrientationPatient = knee_intended_info.ImageOrientationPatient

Respuestas (0)

Categorías

Más información sobre DICOM Format en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by