Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

Camera board • More "AI" denoise - this time for raw images!

$
0
0
Hi everyone

You may remember a little while ago I posted an "AI" denoising model that could be used to denoise RGB images. I hope some folks found it useful.

On this occasion I've created a couple of TFLite models that can be used for denoising Bayer images in DNG files. You can find out how it all works, including all the code, here. But I'll just list a few of the key features:

* Python code including command line interfaces to denoise RGB images and raw images in DNG files.
* The RGB model is the same as I posted before.
* Two new Bayer denoise models - a large and a small one which is significantly faster than the RGB model.
* Raw images may optionally have the following applied:
- DPC (defective pixel correction), most helpful for the imx219 which does not have this built-in
- Denoise (using the models described)
- LSC (lens shading correction), using the "official" tables calculated from the tuning file
After all these operations, the DNG can be re-saved (for use with another raw converter) and/or converted to an RGB image.

Anyway, I hope it will all be clear enough - any questions or problems, please reply below!

Statistics: Posted by therealdavidp — Fri Jun 06, 2025 12:53 pm



Viewing all articles
Browse latest Browse all 8609

Trending Articles