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 ExchangeDICOM 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!