Applying Transformation matrix to DICOM files?

2 ビュー (過去 30 日間)
Student123
Student123 2018 年 11 月 19 日
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 件)

カテゴリ

Help Center および File ExchangeDICOM Format についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by