Hi ! Following my work from this Summer, I'm glad to propose my first blind deconvolution algorithm, written in Python, based on papers from 2011-2014 : https://github.com/aurelienpierre/Image-Cases-Studies
TL;DR : Blind deconvolution is a technique used in astronomy and microscopy to deblur pictures based on an estimation of the blur "profile" (SPF for the geeks). This work on motion blur, focus blur, etc. A commercial photo software get spectacular results with this technique : http://relaunch.piccureplus.com/ (although it's not really blind). My code is a proof of concept which runs now (barely optimized) between 50 and 275 s on a 2 Mpx image. I'm still looking for some help to port it in a Darktable module, since I'm not a C developper (or at least some doc). Thanks ! *Aurélien PIERRE* aurelienpierre.com <http://aurelienpierre.com> ------------------------------------------------------------------------ Le 2017-05-04 à 04:03, Coding Dave a écrit : > I can only speak for myself but I find it very interesting. > > Am 04.05.2017 03:32 schrieb "Aurélien PIERRE" > <rese...@aurelienpierre.com <mailto:rese...@aurelienpierre.com>>: > > Hi, > > I got critics so I made it better ;-) My Richardson-Lucy > implementation now allows to set a mask. This mask is intended to > specify the zone where the focus is supposed to be, and thus > compute the deconvolution matrix estimation only there. This > matrix is then used to deconvolute the whole picture. I got faaar > better results regarding the general smudginess/sharpness ratio : > > https://github.com/aurelienpierre/Image-Cases-Studies/commit/bfaf6930abd873e568ee12f90427dad0206d6de6 > > <https://github.com/aurelienpierre/Image-Cases-Studies/commit/bfaf6930abd873e568ee12f90427dad0206d6de6> > > I don't know how much the community is interested in my > experiments though or if it's relevant here, so just tell me if I > spam. > > Have a nice day, > > *Aurélien PIERRE* > aurelienpierre.com <http://aurelienpierre.com> > > ------------------------------------------------------------------------ > > Le 2017-05-03 à 04:42, Aurélien PIERRE a écrit : >> >> Hi, >> >> being a Darktable user since 2010 (0.9 if I recall), a >> photographer for many years and an almost engineer, I have looked >> for a long time to get involved into DT development. I know 10 >> programming languages but I'm still a newbie in C… >> >> Following my last email on adaptative deconvolution, I started a >> Python framework to experiment on image processing algorithms. >> The Github repos is here : >> https://github.com/aurelienpierre/Image-Cases-Studies >> <https://github.com/aurelienpierre/Image-Cases-Studies> >> >> I already have 3 case studies, with algorithms and before/after >> pictures : >> >> * Unsharp masking with bilateral filter in LAB space >> * Defringing with bilateral filter in LAB space >> * Focus correction/restoration with Richardson-Lucy >> deconvolution in RGB and LAB spaces. >> >> I'm trying to keep my code as clean as possible to make it easy >> to understand and possible to translate into C and (hopefully) >> into Darktable modules. The framework is packaged with a Python >> setup file and optimized with Cython and parallel computing. >> >> I will continue to experiment on deconvolution but any comment, >> code review, scientific article, or contribution is welcome. >> >> Have a nice day, >> -- >> >> *Aurélien PIERRE* >> aurelienpierre.com <http://aurelienpierre.com> >> >> ------------------------------------------------------------------------ >> >> >> >> ___________________________________________________________________________ >> darktable developer mailing list to unsubscribe send a mail to >> darktable-dev+unsubscr...@lists.darktable.org >> <mailto:darktable-dev+unsubscr...@lists.darktable.org> > > > > ___________________________________________________________________________ > darktable developer mailing list to unsubscribe send a mail to > darktable-dev+unsubscr...@lists.darktable.org > <mailto:darktable-dev%2bunsubscr...@lists.darktable.org> > > > ___________________________________________________________________________ > darktable developer mailing list to unsubscribe send a mail to > darktable-dev+unsubscr...@lists.darktable.org ___________________________________________________________________________ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org