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 .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Test and Measurement > Image Acquisition Toolbox > Image Data Acquisition >
- Image Processing and Computer Vision > Image Acquisition Toolbox > Image Data Acquisition >
Tags
Acknowledgements
Inspired: matlab-unpackRaw
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
demo
utils
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.2 | typo correction |
|
|
| 1.0.1 | add website |
|
|
| 1.0.0 |
|
