Author Topic: Removing Dust Donuts using GAME Script  (Read 1138 times)

Offline jkmorse

  • PixInsight Padawan
  • ****
  • Posts: 931
  • Two questions, Mitch . .
    • Jim Morse Astronomy
Removing Dust Donuts using GAME Script
« on: 2020 January 06 17:51:24 »
Hey folks,

Been playing around with some of my images that have noticeable dust donuts where I sometimes do not have corresponding flats.  I have seen a few different suggestions on how to work to remove donuts, some using the GAME script, but I think I have hit on, what for me, seems a novel solution (although its probably been mentioned in various posts a dozen times that I have simply missed). 

Assuming others would find this helpful, here is my solution. 

1.  Open the offending image and then open the GAME script. 
2.  Assuming the image is still linear, click on "STF" in the upper right hand corner of GAME to view the image. 
3.  Zoom in the image in the GAME window to the maximum extent possible.
4.  Draw a new circle, closely matching the outside of the donut and check the gradientedge option.
5.  Generate the image and rename DonutMask_1.
6.  Reopen GAME and repeat the process, but this time draw the circle so that it covers the inside of the donut.
7.  Again, using gradientedge, generate the image and rename it DonutMask_2.
8.  Open PixelMath and simply subtract DonutMask_2 from DonutMask_1 and rename the end image DonutMaster.
9.  Save the mask until you complete your delinear stretch, then apply the mask to the stretched image. 
10. Do a mild Histogram midtone stretch until the donut disappears (it may take a bit of trial and error).

I have attached below a screen shot showing the before and after results, along with my DonutMaster mask.

Hope it helps,

Best,

Jim

Really, are clear skies, low wind and no moon that much to ask for? 

New Mexico Skies Observatory
Apogee Aspen 16803
Planewave CDK17 - Paramount MEII
Planewave IFR90 - Astrodon LRGB & NB filters
SkyX - MaximDL - ACP

http://www.jimmorse-astronomy.com
http://www.astrobin.com/users/JimMorse

Offline Sedat

  • Member
  • *
  • Posts: 63
  • Newbie
Re: Removing Dust Donuts using GAME Script
« Reply #1 on: 2020 January 10 04:44:44 »
Very nice! Thanks for sharing!
Sedat

Offline niteman1946

  • PixInsight Addict
  • ***
  • Posts: 234
Re: Removing Dust Donuts using GAME Script
« Reply #2 on: 2020 January 10 09:20:39 »
Hi Jim,
can you point me to where to download the Game script?
Thanks,
Mark

Offline bulrichl

  • PixInsight Guru
  • ****
  • Posts: 524
Re: Removing Dust Donuts using GAME Script
« Reply #3 on: 2020 January 10 09:33:10 »
Take a look here:
http://www.skypixels.at/pixinsight_scripts.html

There is described as well how to add the link to Hartmut Bornemann's repository https://www.skypixels.at/HVB_Repository/ to the list of repositories in PixInsight.

Bernd

Offline jkmorse

  • PixInsight Padawan
  • ****
  • Posts: 931
  • Two questions, Mitch . .
    • Jim Morse Astronomy
Re: Removing Dust Donuts using GAME Script
« Reply #4 on: 2020 January 10 12:52:06 »
Thanks!  Pixinsight is just a big sandbox to play in  :D
Really, are clear skies, low wind and no moon that much to ask for? 

New Mexico Skies Observatory
Apogee Aspen 16803
Planewave CDK17 - Paramount MEII
Planewave IFR90 - Astrodon LRGB & NB filters
SkyX - MaximDL - ACP

http://www.jimmorse-astronomy.com
http://www.astrobin.com/users/JimMorse

Offline John_Gill

  • PixInsight Old Hand
  • ****
  • Posts: 368
Re: Removing Dust Donuts using GAME Script
« Reply #5 on: 2020 January 11 01:06:27 »
Hey Jim, you been in the desert to long, everything looks like a sandbox.... ;)

John
APM 107/700 apo on CGX mount
ZWO Optics - Autoguiding
ZWO1600mm and filters
... when there are no clouds ...

Offline niteman1946

  • PixInsight Addict
  • ***
  • Posts: 234
Re: Removing Dust Donuts using GAME Script
« Reply #6 on: 2020 January 11 04:30:06 »
Thanks Bernd.

Mark

Offline jkmorse

  • PixInsight Padawan
  • ****
  • Posts: 931
  • Two questions, Mitch . .
    • Jim Morse Astronomy
Re: Removing Dust Donuts using GAME Script
« Reply #7 on: 2020 January 11 11:04:09 »
Hey Jim, you been in the desert to long, everything looks like a sandbox.... ;)

John

So so true!
Really, are clear skies, low wind and no moon that much to ask for? 

New Mexico Skies Observatory
Apogee Aspen 16803
Planewave CDK17 - Paramount MEII
Planewave IFR90 - Astrodon LRGB & NB filters
SkyX - MaximDL - ACP

http://www.jimmorse-astronomy.com
http://www.astrobin.com/users/JimMorse

Offline niccoc1603

  • Newcomer
  • Posts: 42
Re: Removing Dust Donuts using GAME Script
« Reply #8 on: 2020 January 11 13:00:35 »
Is there a way to keep the GAME mask linear?

Offline jkmorse

  • PixInsight Padawan
  • ****
  • Posts: 931
  • Two questions, Mitch . .
    • Jim Morse Astronomy
Re: Removing Dust Donuts using GAME Script
« Reply #9 on: 2020 January 12 07:11:42 »
Not sure, but why would you need to?
Really, are clear skies, low wind and no moon that much to ask for? 

New Mexico Skies Observatory
Apogee Aspen 16803
Planewave CDK17 - Paramount MEII
Planewave IFR90 - Astrodon LRGB & NB filters
SkyX - MaximDL - ACP

http://www.jimmorse-astronomy.com
http://www.astrobin.com/users/JimMorse