Author Topic: Need help with TGVDENOISE . . .  (Read 3822 times)

Offline Terry Danks

  • PixInsight Addict
  • ***
  • Posts: 137
Need help with TGVDENOISE . . .
« on: 2013 June 04 08:20:25 »
I have had pretty disappointing results with TGVDENOISE. Considering how enthusiastically it has been received, I must be doing something wrong.
Attached are images of my attempts on a noisy image enlarged to show detail.
In order to preempt any feeling that I need more iterations, I upped the default 100 to 1000.
Other than that, I used the defaults. Playing with the parameters made some differences but I never got a result I would call satisfactory.
I have not used “Local Support” in the tool, because I really don't know how.
Assistance would be appreciated.
Full res. image at http://danks.netfirms.com/Compare.jpg









Offline NGC7789

  • PixInsight Old Hand
  • ****
  • Posts: 391
Re: Need help with TGVDENOISE . . .
« Reply #1 on: 2013 June 04 08:46:20 »
I too am trying to figure out the tool. Have you read Juan's processing example? Are you applying the tool at the linear stage or after stretching? The defaults are for stretched images. If using on linear they are too high by an order of magnitude. My understanding from various posts is that the "sweet" spot for iterations is between 300 and 500. 100 is good to get faster results while exploring gross settings.

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: Need help with TGVDENOISE . . .
« Reply #2 on: 2013 June 04 08:47:17 »
Hi Terry

The first parameter that you have to fine tune is the "edge protection". This may be the most critical parameter here. A good way to find a starting point is to measure the standar deviation of the background, and use this. If you see that true edges are lost, decrease the value. Otherwise, increase it a little bit. Then, play with the strength parameter. I believe that the current default parameter is too high, so I would try it in the 1-2 range first.
If you enable the local support, the first thing to do is to decrease the strength, working in the 0.1-1 range as a starting point. By default, if you do not specify an image to be used as the local support, the luminance is used.
I'm attaching a screenshot of some parameters that worked quite well (you have to fine tune a bit further) over your jpeg.
I also would try reducing the noise in the linear stage, and see if it is easier to preserv details inside the galaxy there.

Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline Terry Danks

  • PixInsight Addict
  • ***
  • Posts: 137
Re: Need help with TGVDENOISE . . .
« Reply #3 on: 2013 June 04 09:41:48 »
Many thanks 7789. I was indeed running it on linear images.  :-[

I used your settings, Carlos and just so much better!  I seem to stumble often over what to run on linear data and what to use on stretched frames.

Many thanks . . . think I am on the right track now.

Terry

Offline NGC7789

  • PixInsight Old Hand
  • ****
  • Posts: 391
Re: Need help with TGVDENOISE . . .
« Reply #4 on: 2013 June 04 09:44:22 »
Carlos, forgive me if this should be obvious but what is the best way to measure the standard deviation of the background?

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: Need help with TGVDENOISE . . .
« Reply #5 on: 2013 June 04 10:15:16 »
One easy way it to create a preview on the background, and then use the Statistics process to measure the std dev. Probably it will be a higher than the std dev of the noise, since we have an underlying signal with its own variations (flux variations in the background, small stars, etc) but is a good starting point.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline Warhen

  • PTeam Member
  • PixInsight Old Hand
  • ****
  • Posts: 490
    • Billions and Billions
Re: Need help with TGVDENOISE . . .
« Reply #6 on: 2013 July 29 11:04:33 »
I just wanted to comment on how very impressed I am with TGVD Carlos et al. I am having a blast watching mediocre/noisy 'final' images being rescued by this amazing process. Congrats!! I'm documenting the process this week at IP4AP. Well done!!!
Best always, Warren

Warren A. Keller
www.ip4ap.com

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Need help with TGVDENOISE . . .
« Reply #7 on: 2013 July 29 12:49:43 »
yes, TGVDenoise is really awesome, thank you for this tool.

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: Need help with TGVDENOISE . . .
« Reply #8 on: 2013 July 30 09:43:15 »
Thank you :) I would love to see the presentation. Is it possible?
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com