Hi everyone,
I'd like to introduce RawLens, an open-source Android camera I've been developing. Since this community is interested in RAW processing, scene-referred workflows and computational photography, I thought it might be relevant here.
The idea behind RawLens is simple: bring some of the capabilities and philosophy of desktop RAW processors like darktable directly into an Android camera.
Rather than treating the camera as something that simply captures a JPEG and leaves all meaningful processing for later, RawLens gives you control over how sensor data is captured, measured, merged and developed.
Think of it as having a small RAW-processing workstation inside your camera.
What does it bring to Android?
Scene-referred RAW development
- AgX rendering pipeline.
- AMaZE and RCD demosaicing.
- Darktable-inspired inpaint-opposed highlight reconstruction.
- Control over how captured RAW data is rendered.
Computational photography
- Lucas–Kanade Reloaded multi-frame super-resolution (Lecouat et al., 2021).
- Wronski et al. (2019) and Hasinoff et al. (2016) HDR+ burst merging.
- Native multi-frame alignment and merging.
- Offline merging of previously captured exposure brackets.
RAW-based exposure tools
- ETTR exposure assistance.
- RAW clipping zebras.
- False colour.
- Spot metering relative to actual sensor clipping.
Formats and output
- DNG, JPEG, JPEG XL and Ultra HDR JPEG.
- Optional lossless JPEG XL compression inside DNG.
- RAW video recording using the CRAW container.
Manual photography and video
- Manual ISO, shutter speed, white balance and focus.
- Per-camera DNG calibration overrides.
- S-Log3/S-Gamut3.Cine, HLG and custom LUT support.
- DaVinci Resolve-compatible RAW video workflow.
Why build another Android camera?
I wanted to move beyond the usual smartphone photography approach, where the manufacturer makes most of the processing decisions for you.
I wanted something closer to the control we have when developing photographs in darktable or RawTherapee, but available directly at the point of capture.
RawLens draws on open-source projects including darktable, RawTherapee, libcamera, Magic Lantern, Open Camera and PhotonCamera, as well as published computational photography research. All relevant acknowledgements and implementation references are included in the repository.
Open source and hardware support
RawLens is GPLv3-or-later. No advertisements, analytics, accounts or cloud processing. Everything runs locally on the device. The optional GitHub update check is the only network functionality in the GitHub build.
Requires Android 10 or newer and a device exposing RAW capture through Camera2. Actual capabilities depend heavily on the manufacturer and camera hardware.
Source code and documentation:
https://github.com/matthew777777/RawLens
Downloads:
https://github.com/matthew777777/RawLens/releases
I'd be particularly interested in hearing what people familiar with darktable think about bringing scene-referred development, highlight reconstruction and multi-frame RAW processing into the camera itself.
Feedback, technical criticism and suggestions are very welcome.