Read DNG and NEF files
Version 1.0.1 (2.09 KB) by
Fernando Zigunov
Little function I wrote to import a DNG file into matlab memory
Based on the tutorial by Steve Eddins https://blogs.mathworks.com/steve/2011/03/08/tips-for-reading-a-camera-raw-file-into-matlab/
Just packages up a DNG file reader that uses the TIFF class. Applies the linearization curve for compressed NEF formats from Nikon cameras.
Cite As
Fernando Zigunov (2026). Read DNG and NEF files (https://www.mathworks.com/matlabcentral/fileexchange/75328-read-dng-and-nef-files), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
