PixInsight Forum (historical)

PixInsight => Release Information => Topic started by: Juan Conejero on 2013 May 03 18:16:19

Title: TGVDenoise - Preliminary test results
Post by: Juan Conejero on 2013 May 03 18:16:19
Hi all,

As you probably know, we are currently working on new tools that will be included in the final 1.8.0 release of PixInsight. Some of these tools implement techniques based on total generalized variation (http://pixinsight.com/forum/index.php?topic=4366.msg30620#msg30620). After the intense research and development work done by Carlos Milovic during the last year, we have now a first working tool in the testing/optimization phase: TGVDenoise.

As its name suggests, TGVDenoise is a noise reduction tool based on total generalized variation regularization. Today we have made some 'formal' tests with TGVDenoise, which we want to share with you on this post. The subject of the first test is the well-known Lena picture. This is the original 512x512 grayscale lena.png image:

(http://forum-images.pixinsight.com/20130504/TGVDenoise/lena.png)

And this is the same image processed with the new TGVDenoise tool:

(http://forum-images.pixinsight.com/20130504/TGVDenoise/lena-dn.png)

Note that the TGVDenoise tool has been applied directly to the original image without any mask. I suggest you download both images and compare them at 4:1 zoom or more.  Lena is a tough subject for noise reduction because it provides a compendium of the most difficult problems for this task: fine details, large areas covered by smooth gradients, and small-scale, low-contrast structures. Here is a selection of some interesting areas for comparison, enlarged 4:1 without interpolation:

(http://forum-images.pixinsight.com/20130504/TGVDenoise/lena-1-cmp.png)

(http://forum-images.pixinsight.com/20130504/TGVDenoise/lena-2-cmp.png)

(http://forum-images.pixinsight.com/20130504/TGVDenoise/lena-3-cmp.png)

Looks promising indeed. It is important to point out that this tool works equally well with linear and nonlinear images. Now we have a lot of work ahead to improve and optimize our implementation, but you can count on a new weapon in our noise reduction arsenal. Kudos to Carlos Milovic for his excellent work.
Title: Re: TGVDenoise - Preliminary test results
Post by: Alejandro Tombolini on 2013 May 03 18:58:57
Definitely it looks very promising. Excellent work Carlos!
I can't wait for try it in an astrophoto!
Saludos. Alejandro.
Title: Re: TGVDenoise - Preliminary test results
Post by: Philippe B. on 2013 May 04 07:48:18
this is a VERY good news ! Thanks for your work  :smiley:
Title: Re: TGVDenoise - Preliminary test results
Post by: Lex on 2013 May 07 12:57:07
Wow, this is an awesome and powerful tool! A nice way to grant PI to be even more unavoidable  O0
Just one Q; on the zoom on the Hat of the Lady, isn't there some image precision detail lost?

Best and huge respect on this!
Title: Re: TGVDenoise - Preliminary test results
Post by: Carlos Milovic on 2013 May 07 13:21:19
Hi Lex

Yes, indeed therenis a bit of definition lost. This is due to the amplitude of the texture pattern comparable to the average noise amplitude in the image. The solutio  would be, with the current implementarion, to use a local support, to ensure higher data fidelity on high snr areas.
Our next stage in the development of this tool includes an automatic calculation of that support, in a pyramidal way, so details are added to the result as they are discrimitated from the subyacent noise. Our first tests in that field show promising results, but there is still room to improve them.