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

特定のフォルダ内にある複数のDICOM画像を全てMATLABで読み込む方法をご享受願います。

 채택된 답변

Atsushi Ueno
Atsushi Ueno 2022년 10월 5일
편집: Atsushi Ueno 2022년 10월 6일

1 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 DICOM Format에 대해 자세히 알아보기

태그

질문:

2022년 10월 5일

편집:

2022년 10월 6일

Community Treasure Hunt

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

Start Hunting!