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

12 次查看(过去 30 天)
RYO ARATA
RYO ARATA 2022-10-5
特定のフォルダ内にある複数のDICOM画像を全てMATLABで読み込む方法をご享受願います。

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 DICOM Format 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!