MATLABでフォルダ内の全てDICOM画像のヘッダー情報を抽出する方法
조회 수: 2 (최근 30일)
이전 댓글 표시
DICOM画像が1枚であればdicominfoで抽出できるのですが、DICOM画像が複数の場合にはどのように行えば良いでしょうか。
댓글 수: 0
채택된 답변
Atsushi Ueno
2022년 10월 6일
편집: Atsushi Ueno
2022년 10월 6일
dicomDir = uigetdir(pwd); % 画像が含まれるフォルダを選択する
dicomds = imageDatastore(dicomDir,'FileExtensions','.dcm','ReadFcn',@dicominfo); % イメージデータストア作成
dicomtgs = readall(dicomds);
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 DICOM Format에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!