murtazatunio/lenscorrect-ofx — explained in plain English
Analysis updated 2026-05-18
Automatically remove lens distortion and vignetting from RAW photos and video inside DaVinci Resolve.
Generate a lens correction profile straight from a camera's original DNG or RAW file.
Fix color fringing around high contrast edges using precise per channel calibration data.
Batch generate correction profiles from the command line for a folder of media files.
| murtazatunio/lenscorrect-ofx | 4brm01/picture-poker | bong-water-water-bong/npu-gpu-cpu | |
|---|---|---|---|
| Stars | 3 | 3 | 3 |
| Language | C++ | C++ | C++ |
| Setup difficulty | — | easy | hard |
| Complexity | — | 1/5 | 5/5 |
| Audience | developer | general | researcher |
Figures from each repo's GitHub metadata at analysis time.
lenscorrect-ofx is a plugin for DaVinci Resolve, the video and photo editing software, that automatically corrects flaws caused by camera lenses. When you photograph or film something, the lens itself can bend straight lines, darken the corners of the image, or create colored fringes around high contrast edges. This plugin fixes those problems using calibration data from a project called Lensfun, or from metadata already stored inside RAW DNG photo files, so the correction matches the exact camera and lens that was used. The plugin was built especially with Resolve's newer photo editing tools in mind, since manually fixing vignetting or lens distortion is tedious without this kind of automated help. Its behavior was checked against a similar tool in the darktable photo editor, though the code itself was written independently rather than copied. On Apple Silicon Macs, all of the correction work runs in a single combined pass on the graphics chip for speed, with a slower fallback that runs on the regular processor. Inside Resolve, you add the plugin to a clip and work through a set of controls from top to bottom: choosing the color transfer function of the incoming image, loading or generating a lens correction profile, adjusting how strong the overall correction is, and separately turning lens distortion, vignette, and color fringing correction on or off. Profiles can be generated automatically by reading the original camera file and matching it against the Lensfun database, or you can save and reuse your own presets. There are also command line scripts for generating these correction profiles in bulk. This is an early release, version 0.1.0, and right now it only works on Apple Silicon Macs running DaVinci Resolve. Windows support is planned but not yet available, and the developer does not plan to support other editing software that uses the same plugin format, such as Nuke. Building it from source requires a Mac, Resolve, and a handful of command line tools installed through Homebrew, including CMake, ExifTool, and Lensfun itself.
A DaVinci Resolve plugin that automatically fixes lens distortion, vignetting, and color fringing using camera calibration data.
Mainly C++. The stack also includes C++, Metal, Lensfun.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.