Reading a sequence of Dicoms
No License
This is a simple functino to import a series of dicom files using the dicomread function.
Please go through the comments in the code. It is quite a simple one but might be handy to use it quickly.
Philosophy:
I wanted to have a reliable, commented code for ease of use so that I can focus on bigger issues in the project.
I came to know that when you use uigetfile to choose a bunch of files to be read there is a constraint. (This applies to 32 bit Windows) There is a limit to the length of the string(filenames) that can be appended and hence you will have trouble reading the files after you go beyond a ceratin number irrespective of the size of the files. Reading them in this manner solves that issue.
Currently,
I have tested this function on "IPL (Image Processing Library used on OpenVMS systems) generated dicoms" and "Analyze (medical image analysis software developed by Mayo Clinic www.analyzedirect.com) generated Dicoms"
Detaled Comments are written inside the function.
Your feedback is appreciated.
Cite As
Nipun Patel (2024). Reading a sequence of Dicoms (https://www.mathworks.com/matlabcentral/fileexchange/10068-reading-a-sequence-of-dicoms), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |