Applying Transformation matrix to DICOM files?
2 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!