Read .dm3 and .dm4 image files

Read Digital Micrograph files for electron microscopy
Updated 20 Sep 2013

View License

Electron microscope images and image stacks are stored in a proprietary fromat by Digital Micrograph (Gatan Inc.). This function reads version 3 and also the new 64-bit version 4 files. This replaces the ReadDM3 function in my previous post #27021, "Imagic, MRC and DM3 file i/o"

Cite As

Fred Sigworth (2024). Read .dm3 and .dm4 image files (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Imagic, MRC, DM and STAR file i/o

Inspired: DiffractIndex

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Updated to remove a bug that caused an error on reading some .dm3 files.