Skip to content
A Dicom library for Matlab that groups 2D images into 3D volumes
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
External/coremat
DMAddPaths.m
DMAreImageLocationsConsistent.m
DMAreImagesInSameGroup.m
DMDicomDictionary.m
DMDicomDictionaryItem.m
DMDicomLibrary.m
DMDicomLibraryInterface.m
DMFallbackDicomLibrary.m
DMFileGrouper.m
DMFileGrouping.m
DMFindAndLoadMainImageFromDicomFiles.m
DMImageType.m
DMImportRecursive.m
DMLoadImagesFromMetadataGrouping.m
DMLoadMainImageFromDicomFiles.m
DMLoadMetadataFromDicomFiles.m
DMReadDicomTags.m
DMReconstructDicomImageFromHeader.m
DMSaveDicomSeries.m
DMSingleImageMetaInfo.m
DMSoftwareInfo.m
DMSortImagesByLocation.m
DMUtilities.m
DMdicominfo.m
DMdicomread.m
DMisdicom.m
LICENSE
README.md

README.md

DicoMat

DicoMat is Matlab software for reading Dicom files and grouping into 3D image volumes.

DICOM file reading

DicoMat provides Dicom file reading functions that are faster than the Matlab versions, and do not require the Matlab Image Processing Toolbox.

  • DMisdicom - tests if a file appears to be a DICOM file
  • DMdicominfo - loads DICOM tags from a file and returns them as a MATLAB struct
  • DMdicomread- reads DICOM pixel data from a file

Please note: while these functions are used in a similar way to the corresponding methods of the Matlab Image Processing Toolbox, they are not guaranteed to return the exact same output in all circumstances. DicoMat may not work for all DICOM files.

DICOM series export

DicoMat can write out an original or secondary capture series. This may require the Matlab Image Processing Toolbox.

DICOM file grouping

In the simplest form, the following function can be used to load the largest series from a directory structure of DICOM images. The function will recursively search the supplied folder and its subdirectories for DICOM images, and then group them according to DICOM tags and geometry. If this results in more than one group of images, the largest group will be returned.

imageWrapper = DMFindAndLoadMainImageFromDicomFiles(rootFolder)

Licence

BSD-3. Please see file LICENSE

Copyright

Copyright Tom Doel

You can’t perform that action at this time.