Go Back   IceInSpace > Equipment > Astrophotography and Imaging Equipment and Discussions

Reply
 
Thread Tools Rate Thread
  #1  
Old 18-05-2018, 11:54 AM
codemonkey's Avatar
codemonkey (Lee)
Lee "Wormsy" Borsboom

codemonkey is offline
 
Join Date: Jul 2013
Location: Kilcoy, QLD
Posts: 2,058
A simple way of getting rid of dust donuts using PixInsight

... well, sometimes.

First of all, this method has its limitations. It will work best on images with lots of background where the dust donuts are covering small scale structures. As luck would have it, that describes most of my galaxy images.

The basic premise is that the areas affected by vignetting and dust donuts will be darker than the background which should be of uniform brightness. Thus to make the dust donuts go away, all we need to do is identify those areas and make them as bright as the background. This is easily achieved using MultiscaleMedianTransform and a simple PixelMath formula.

The basic steps are:

1. Duplicate your image and rename it to "LS"
2. Apply MultiscaleMedianTransform to the "LS" image, using 7 layers and disabling them all except the "R" layer
3. Use PixelMath, apply the following formula to the original image: $T+(iif(LS < median(LS), median(LS)-LS, 0))

I've attached a few screenshots of the process.

As stated, this procedure has its limitations, but where it can be used it's easy and relatively quick.
Attached Thumbnails
Click for full-size image (1_MMT_settings.jpg)
182.6 KB498 views
Click for full-size image (2_MMT_result.jpg)
120.5 KB460 views
Click for full-size image (3_PM_settings_and_result.jpg)
170.6 KB476 views
Click for full-size image (4_comparison.jpg)
173.0 KB394 views
Reply With Quote
  #2  
Old 18-05-2018, 02:59 PM
gregbradley's Avatar
gregbradley
Registered User

gregbradley is offline
 
Join Date: Feb 2006
Location: Sydney
Posts: 17,877
Wow, what a good tip. Dust donuts can be difficult to process out if not removed during flats.

Greg.
Reply With Quote
  #3  
Old 18-05-2018, 03:04 PM
codemonkey's Avatar
codemonkey (Lee)
Lee "Wormsy" Borsboom

codemonkey is offline
 
Join Date: Jul 2013
Location: Kilcoy, QLD
Posts: 2,058
Thanks Greg, hope it helps!

I used to have a flip-flat for the Esprit, but it wasn't big enough for the new scope and I haven't organised anything to do the job so I looked to synthetic solutions but couldn't find anything that worked for me on the net so I devised this.
Reply With Quote
  #4  
Old 18-05-2018, 03:25 PM
multiweb's Avatar
multiweb (Marc)
ze frogginator

multiweb is offline
 
Join Date: Oct 2007
Location: Sydney
Posts: 22,060
That's pretty neat.
Reply With Quote
  #5  
Old 18-05-2018, 05:19 PM
RickS's Avatar
RickS (Rick)
PI cult recruiter

RickS is offline
 
Join Date: Apr 2010
Location: Brisbane
Posts: 10,584
Nice technique, Lee
Reply With Quote
  #6  
Old 18-05-2018, 06:49 PM
Atmos's Avatar
Atmos (Colin)
Ultimate Noob

Atmos is offline
 
Join Date: Aug 2011
Location: Melbourne
Posts: 6,980
Looks like it can work really well for large not too featured fields, as you say, galaxy fields. Wouldn't like to see it in a strong Ha region

I've got a bunch of images with a random tiny dust donut that I was thinking of using it on but I have a feeling there are too many features. Looks like a wonderful idea though
Reply With Quote
  #7  
Old 18-05-2018, 09:09 PM
codemonkey's Avatar
codemonkey (Lee)
Lee "Wormsy" Borsboom

codemonkey is offline
 
Join Date: Jul 2013
Location: Kilcoy, QLD
Posts: 2,058
Cheers guys.

Yeah, I can't imagine it doing very well on fields with lots of nebulosity, Colin. I often don't use flats on those anyway though because I often can't see the donuts in such fields.

The good thing about the technique is that it's so easy to try.
Reply With Quote
  #8  
Old 19-05-2018, 12:14 AM
Shiraz's Avatar
Shiraz (Ray)
Registered User

Shiraz is offline
 
Join Date: Apr 2010
Location: ardrossan south australia
Posts: 4,918
nice work Lee - thanks very much for posting. Undoubtedly will use it at sometime in the future.
Reply With Quote
  #9  
Old 19-05-2018, 04:25 AM
SimmoW's Avatar
SimmoW (SIMON)
Farting Nebulae

SimmoW is offline
 
Join Date: Jan 2014
Location: Tamleugh, Victoria, Australia
Posts: 1,383
Bookmarked for future emergency use! Thanks for posting.

Yes now all we need is an AI script that can fix more varied backgrounds in NB images. I would dread the naming of that!
Reply With Quote
  #10  
Old 19-05-2018, 08:06 AM
codemonkey's Avatar
codemonkey (Lee)
Lee "Wormsy" Borsboom

codemonkey is offline
 
Join Date: Jul 2013
Location: Kilcoy, QLD
Posts: 2,058
Thanks Ray and Simon, hope it proves useful :-)
Reply With Quote
  #11  
Old 21-05-2018, 11:23 AM
troypiggo's Avatar
troypiggo (Troy)
Bust Duster

troypiggo is offline
 
Join Date: Nov 2008
Location: Brisbane, Australia
Posts: 4,846
Nice! Thanks for sharing!
Reply With Quote
  #12  
Old 21-05-2018, 12:28 PM
sil's Avatar
sil (Steve)
Not even a speck of dust

sil is offline
 
Join Date: Jun 2012
Location: Canberra
Posts: 1,474
good tip there, good use of pixelmath too, a very powrful and underused too im my opinion.
Reply With Quote
  #13  
Old 21-05-2018, 05:47 PM
strongmanmike's Avatar
strongmanmike (Michael)
Highest Observatory in Oz

strongmanmike is offline
 
Join Date: May 2006
Location: Canberra
Posts: 17,150
Looks like a good technique Lee but how do you come up with such a pixel math formula?

Mike
Reply With Quote
  #14  
Old 21-05-2018, 07:49 PM
codemonkey's Avatar
codemonkey (Lee)
Lee "Wormsy" Borsboom

codemonkey is offline
 
Join Date: Jul 2013
Location: Kilcoy, QLD
Posts: 2,058
Thanks everyone :-)

Mike, I'm a software developer by trade so code and formulas like the one I posted are pretty intuitive for me.

I've also been using PixInsight for a while now and have learned some things along the way, like that $T means "the image you're applying this to" and that you can apply things conditionally much like you would in excel by using the expression "iif(some condition, expression when true, expression when false)"

I had tried a couple of other approaches before settling on this one as the others had detrimental effects on SNR or other aspects... turns out this one was easier than the others as well as better.
Reply With Quote
  #15  
Old 29-01-2019, 09:25 PM
JimsShed's Avatar
JimsShed (Jim)
Registered User

JimsShed is offline
 
Join Date: Jan 2015
Location: Bellbowrie
Posts: 216
You definitely get a gold star for this one. Thanks.
Reply With Quote
  #16  
Old 30-01-2019, 06:58 PM
codemonkey's Avatar
codemonkey (Lee)
Lee "Wormsy" Borsboom

codemonkey is offline
 
Join Date: Jul 2013
Location: Kilcoy, QLD
Posts: 2,058
No probs, Jim, hope it comes in handy!
Reply With Quote
Reply

Bookmarks

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 10:35 PM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Advertisement
Bintel
Advertisement
Testar
Advertisement