Use dcraw to import RAW images

This solution let you use the latest dcraw version for import raw images

You are now following this Submission

This functions let you use any dcraw version wih any parameter provided by dcraw. Works on any plattform as well.
Just get a compiled version of dcraw and make your changes in the file "openRaw_2.m".
This version is made for intel macs, but the changes to make are very small for any other platform.
Win: change '/dcrawx86 -v -4 -D -T' to '/dcraw.exe -v -4 -D -T'

e.g. this gives you a 16bit mosaic file.

Details in ReadMe.txt

Cite As

Steffen (2026). Use dcraw to import RAW images (https://www.mathworks.com/matlabcentral/fileexchange/20765-use-dcraw-to-import-raw-images), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0