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

조회 수: 4 (최근 30일)
RYO ARATA
RYO ARATA 2022년 10월 5일
편집: Atsushi Ueno 2022년 10월 6일
特定のフォルダ内にある複数の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!