Author Topic: TVGInpaint to remove Dust and Reflections(food for thought)  (Read 2803 times)

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
First let me say this is by no means something that should be done instead of calibration. This is an exercise in recovering an image with problems like you don't have flats for some bad reason. It happens!

So I have a single frame image that has many issues but the one that stands out is dust or internal reflections. I don't know which but they are there.  The image is still linear in this case. I make a clone of the image and renamed it 'a' for simplicity. I then use the rangeselect tool and make a range mask adjusting the parameters to where I see the issues. I do not smooth the mask at all. I then use the TGVInpaint tool with the range mask as the reference. Using pixel math I divide the original image by the new inpaint image.

The process I am showing is not a complete ready to go solution, just food for thought.


Mike 

Offline mmirot

  • PixInsight Padawan
  • ****
  • Posts: 881
Re: TVGInpaint to remove Dust and Reflections(food for thought)
« Reply #1 on: 2017 May 22 18:42:10 »
Cool, Mike

I wondered if TVGinpaint can be used to reduce halos too?

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
Re: TVGInpaint to remove Dust and Reflections(food for thought)
« Reply #2 on: 2017 May 22 19:27:58 »
I believe it can if used carefully. In the original image the top right is Jupiter with a large halo. Then in the repaired image the halo is reduced. The problem with what I did here is the core of Jupiter is also effected. If I was specifically trying to reduce the halo only I would have made sure the mask did not include the core. It's tricky but I think with practice and more understanding TGVInapint can work very well for these type of issues. Mask control is the big key to using TGVImpaint.


Mike

Offline mmirot

  • PixInsight Padawan
  • ****
  • Posts: 881
Re: TVGInpaint to remove Dust and Reflections(food for thought)
« Reply #3 on: 2017 May 23 06:56:53 »
Jupiter images are missing??

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
Re: TVGInpaint to remove Dust and Reflections(food for thought)
« Reply #4 on: 2017 May 23 07:20:04 »
I've drawn a circle around Jupiter.


Mike

Offline mmirot

  • PixInsight Padawan
  • ****
  • Posts: 881
Re: TVGInpaint to remove Dust and Reflections(food for thought)
« Reply #5 on: 2017 May 24 22:07:57 »
Thanks