MatRaw

Read and Process Camera Raw Data with MATLAB

https://github.com/QiuJueqin/MatRaw

You are now following this Submission

MatRaw is a simple bridge tool for extracting completely intact image data from raw files of DSLRs/DSLMs. You can use it to convert raw files to OS-friendly images or MATLAB-accessible .MAT files, and/or to perform basic processing in ISP pipeline such as raw noise reduction, white balancing, and colorimetric characterization (a.k.a. color correction or color space transformation).

Key features:
- conversion from camera raw files (.CR2, .NEF, .ARW, .RAF, .ORF, .DNG, etc) to .MAT files or image formats (.PNG, .TIFF, .PPM, etc)
- (optional) darkness level subtraction
- (optional) demosaic
- (optional) color interpolation
- (optional) white balancing
- (optional) color space transformation (a.k.a. color correction)
- (optional) fixed pattern noise (FPN) reduction
- (optional) pixel response non-uniformity (PRNU) compensation (a.k.a. flat field correction)

Please see the repository (https://www.github.com/QiuJueqin/MatRaw) for more details.

Cite As

Jueqin Qiu (2026). MatRaw (https://github.com/QiuJueqin/MatRaw), GitHub. Retrieved .

Acknowledgements

Inspired: matlab-unpackRaw

General Information

MATLAB Release Compatibility

  • Compatible with R2016a to R2018b

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.0.2

typo correction

1.0.1

add website

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.