alt_dicominfo(img,B​itRange)

Faster and simplest alternative to dicominfo function (only demographic and basic image information)
ダウンロード: 114
更新 2018/1/31

ライセンスの表示

I made this code aiming to avoid the MATLAB DICOMINFO function into my loops. This function may replace the original dicominfo if you only seek demographic and image basic information (described below) from the header. The MATLAB DICOMINFO is very slow due the amount of data indexed. Comparing to the original DICOMINFO in a large MRI DICOM file (4D file), this function may be 100 times faster.
I am not sure if the code will work for every type of DICOM files and I ask you to use this function with responsibility.
Add a dicom (*.dcm) image in variable img and add or not a bit range to search into your image. The code will try to give an oputput as described:
OUTPUT:
DcmInfos.PatientName
DcmInfos.PatientBirth
DcmInfos.PatientID
DcmInfos.PatientSex
DcmInfos.StudyDescrip
DcmInfos.StudyDate
DcmInfos.StudyTime
DcmInfos.SerieDescrip
DcmInfos.SerieTime
DcmInfos.StationName
DcmInfos.EchoTime
DcmInfos.RepetitionTime
DcmInfos.SerieVoxDim
DcmInfos.NumberSlices
DcmInfos.SerieMatrix
DcmInfos.NofVolumes

引用

Brunno Machado de Campos (2025). alt_dicominfo(img,BitRange) (https://jp.mathworks.com/matlabcentral/fileexchange/65606-alt_dicominfo-img-bitrange), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2017b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersDICOM Format についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.1.0.0

* Now, I add the "NUmber of Volumes (dynamics) for 4D images, modifying the output field Matrix and adding the field NofVolumes

1.0.0.0