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

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

 Respuesta aceptada

Atsushi Ueno
Atsushi Ueno el 5 de Oct. de 2022
Editada: Atsushi Ueno el 6 de Oct. de 2022

1 voto

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

Más respuestas (0)

Categorías

Más información sobre DICOM Format en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 5 de Oct. de 2022

Editada:

el 6 de Oct. de 2022

Community Treasure Hunt

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

Start Hunting!