To pass some time in a train yesterday, I've copy'n'pasted my recent GPU ISP into Millipixels' postprocessing code to see how it compares with what was already there. Before/after:
There are still some crucial things missing, such as profiled denoising or proper highlight recovery, but since the performance budget for a still photo is much higher than for a 30 FPS video, there's plenty of room to add more stuff - and most of these 2 seconds are spent reading DNG and saving JPG anyway.
And the great thing is that you can take your past photos and re-develop them again with whatever code you have available now. No need to be picky, it's fast enough to just go through them all.
FWIW, don't mind the stripes on the bottom or right edge on some of these photos. It was just me poorly rotating and noticing too late 😛
@dos
🤩 wow, thanks for sharing... this boosts camera on mobile to the next level
@dos whaou, this is really nice. Thanks for your work. Hope I could test it quickly !!
@dos impressive, thanks for your work! I'm eager to test it :)
@pavel ??? Full 13MP is still well within GL texture limits. The code just works as-is.
@pavel That's not how it works. A 4-channel 13Mpix image remains a 13Mpix image and still fits within limits.
@pavel Just take a step back and think a bit about what you just wrote and you won't need any code 😜
@pavel I'd rather give the shader RGB values than rebayer debayered data so it can debayer it again if I wanted "easy", but that's just me.
@pavel How comfortable does one need to be to replace a single line that calls a function called "debayer"? 🤔
@dos These photos look great! 😮
Is this solution generalizable enough for different camera sensors? (e.g. other phones)
@fizzo Nothing sensor-specific there (except calibration data of course), just doing very basic stuff that you need to do in order to get a proper image from any Bayer sensor (unless it does parts of it for you already). See the description at https://source.puri.sm/-/snippets/1223 for details.
@fizzo (although many other devices have a dedicated piece of hardware to do this and more for you)
Unlike Glowup, which takes about 30 seconds and lots of RAM to process, this is still just as fast - the photo is developed within 2 seconds from shooting.
#mobilelinux #linuxmobile #librem5 #shotonlibrem5