Is there any benefit for not using dicom images for processing in matlab???
2 views (last 30 days)
Show older comments
Dear friend, I'm on a project in which some processing work of some MR images are needed. Is there any advantage of not using dicom image?? I mean why should i convert this dicom image???
0 Comments
Accepted Answer
Walter Roberson
on 4 Mar 2011
DICOM images contain useful meta-data such as pixel sizes and slice spacing.
On the other hand, accessing DICOM image files can be painfully slow, and the code is not nearly as readable as a simple imread().
This suggests a potential compromise: if you are going to be reading the same image numerous times, then convert the image once and store it. You may wish to do that storage as part of a structure into which you have written the DICOM parameters that are of interest to you.
3 Comments
Walter Roberson
on 5 Mar 2011
Dealing with all those DICOM parameters and the DICOM dictionary is a pain in the fundament. Since you have the meta-data there, you are morally obliged to _use_ it instead of just hard-coding assumptions about image sizes.
If you use the Mathworks site search feature for dicomread then the first 14 entries are bug reports :( Which doesn't surprise me, as DICOM storage is complex internally, with a variety of internal file formats.
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!