MATLABでフォルダ内の全てDICOM画像のヘッダー情報を抽出する方法
3 views (last 30 days)
Show older comments
DICOM画像が1枚であればdicominfoで抽出できるのですが、DICOM画像が複数の場合にはどのように行えば良いでしょうか。
0 Comments
Accepted Answer
Atsushi Ueno
on 6 Oct 2022
Edited: Atsushi Ueno
on 6 Oct 2022
dicomDir = uigetdir(pwd); % 画像が含まれるフォルダを選択する
dicomds = imageDatastore(dicomDir,'FileExtensions','.dcm','ReadFcn',@dicominfo); % イメージデータストア作成
dicomtgs = readall(dicomds);
0 Comments
More Answers (0)
See Also
Categories
Find more on DICOM Format in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!