MATLABでフォル​ダ内の全てのDICO​M画像を読み込む方法

8 vues (au cours des 30 derniers jours)
RYO ARATA
RYO ARATA le 5 Oct 2022
特定のフォルダ内にある複数のDICOM画像を全てMATLABで読み込む方法をご享受願います。

Réponse acceptée

Atsushi Ueno
Atsushi Ueno le 5 Oct 2022
Modifié(e) : Atsushi Ueno le 6 Oct 2022
本回答の実行には、Image Processing Toolbox が必要です。
dicomDir = uigetdir(pwd); % 画像が含まれるフォルダを選択する
dicomds = imageDatastore(dicomDir,'FileExtensions','.dcm','ReadFcn',@dicomread); % イメージデータストア作成
dicomimg = readall(dicomds);

Plus de réponses (0)

Catégories

En savoir plus sur DICOM Format dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!