Go Back   IceInSpace > Beginners Start Here > Beginners Astrophotography
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread
  #1  
Old 04-09-2013, 05:58 PM
Garbz (Chris)
Registered User

Garbz is offline
 
Join Date: May 2012
Location: Brisbane
Posts: 646
Video: Processing M27 in Pixinsight

Hey guys, When I processed my M27 photo the other night I thought I'd try something and recorded a video of the processing. Not sure what I was thinking at the time but maybe this will help me learn from my mistakes or learn what works etc.

The resulting M27 picture is here: http://www.flickr.com/photos/10090242@N03/9671462468/

Anyway I thought I'd share the process I went through to make it incase it helps someone. Video is hopefully embedded below.

http://www.youtube.com/watch?v=trR5g3riAk8


Look a few posts below for another video it produced much better results.

The steps I went through are thus:
  1. Opened single sub and debeyered.
  2. Stacked all the subs together.
  3. Compared the stacked image to the original single sub. I did this because I recently found that when I stuff up the stack it will actually add noise so comparing the noise in both images is a sanity check that the stacking worked well.
  4. Basic crop applied, and image mirrored.
  5. DBE used to eliminate background colours.
  6. Histogram transform was applied to brighten up the image. Here I entered the median of each channel in the midrange and then entered 0.92 as the RGB/K midrange. This normally gives me a good starting point.
  7. Next change the RGB working space to all 1s (apparently this helps some of the tools like ACDNR)
  8. I extract the lightness channel and then use LRGB Recombination to add saturation to the image and do some colour noise reduction. I find this works better for overall saturation than the curves tool.
  9. Use Dynamic PSF to determine the point spread function for deconvolution.
  10. Build a star mask that I will use for a few tools.
  11. Then I try in vain to get a decent deconvolution working but throw my arms up in frustration and settle for another way of sharpening the image.
  12. I create another mask for all bright objects.
  13. I move to ATrouseWaveletTransform and use it to sharpen the image by controlling the bias.
  14. SCNR is applied though not really needed as there wasn't much of a green tinge in this image.
  15. Then I move to ACDNR to reduce lightness noise.
  16. I prepared another mask that was blurry but focused only on the nebula itself.
  17. Again I used ATrouseWaveletTransform to sharpen the image, this time with a different set of parameters to make the nebula "pop" a bit more.
  18. Still not quite poppy enough I also used LocalHistogramEqualisation to add a very subtle HDR effect. I'm not a fan of overuse of the effect so by the time I'm finished with the settings the result is quite subtle.
  19. Finally a bit of playing with curves to get the background down in brightness and then I add a bit of saturation to the blue stars.
  20. A quick rescale and I posted it on the web.

I wonder if anyone will find this helpful.

Last edited by Garbz; 06-09-2013 at 02:34 PM.
Reply With Quote
  #2  
Old 04-09-2013, 09:24 PM
RickS's Avatar
RickS (Rick)
PI cult recruiter

RickS is offline
 
Join Date: Apr 2010
Location: Brisbane
Posts: 10,584
Chris,

I'm sure some folks will find your notes helpful. Coming up with a basic workflow is the initial challenge with PI.

I'm not surprised you had problems with deconvolution. You need to apply it to a linear image, i.e. before you stretch it.

Cheers,
Rick.
Reply With Quote
  #3  
Old 04-09-2013, 10:01 PM
LewisM's Avatar
LewisM
Novichok test rabbit

LewisM is offline
 
Join Date: Aug 2012
Location: Somewhere in the cosmos...
Posts: 10,388
I'd really love that video at normal speed so I could follow what you are doing!!! I am slowly learning PI when time permits, and your results speak for themselves.

REALLY appreciate a normal rate (apart from the stacking), showing the checkboxes, values etc.

If you don't want to post it on YT, perhaps email it to my gmail or Dropbox?
Reply With Quote
  #4  
Old 04-09-2013, 11:23 PM
Garbz (Chris)
Registered User

Garbz is offline
 
Join Date: May 2012
Location: Brisbane
Posts: 646
Quote:
Originally Posted by RickS View Post
Chris,

I'm sure some folks will find your notes helpful. Coming up with a basic workflow is the initial challenge with PI.

I'm not surprised you had problems with deconvolution. You need to apply it to a linear image, i.e. before you stretch it.

Cheers,
Rick.
OH... MY... GOD!!!

Just tried it again, and it worked beautifully. I got completely confused in the manual where it talked about applying it to a linear image at the same time while talking about a linear workspace. I thought the only critical factor was to set the Gamma 1.0 and give equal weights to R, G and B components. Turns out they were talking about both a linear Gamma in the Lightness as well as a linear image response.

I really should have been paying more attention when looking over your shoulder at Astrofest. I blame the beer.

Thankyou very much! Now I need to go and reprocess every photo I ever took.

Quote:
Originally Posted by LewisM View Post
I'd really love that video at normal speed so I could follow what you are doing!!! I am slowly learning PI when time permits, and your results speak for themselves.

REALLY appreciate a normal rate (apart from the stacking), showing the checkboxes, values etc.

If you don't want to post it on YT, perhaps email it to my gmail or Dropbox?
http://www2.garbz.com/M27-processing-video.mp4 Please be kind to my ADSL modem, this may take a while for you to download. Approx 40MB.

Also I didn't remove the stacking but you can fast forward through that. In light of what Rick said above, don't pay too close attention to my PixInsight use. I clearly don't know what I'm doing. Also apparently I only recorded it at 15fps so this is still faster than realtime but should give you a far greater idea of what's going on.
Reply With Quote
  #5  
Old 05-09-2013, 05:28 AM
LewisM's Avatar
LewisM
Novichok test rabbit

LewisM is offline
 
Join Date: Aug 2012
Location: Somewhere in the cosmos...
Posts: 10,388
Thanks
Reply With Quote
  #6  
Old 06-09-2013, 02:33 PM
Garbz (Chris)
Registered User

Garbz is offline
 
Join Date: May 2012
Location: Brisbane
Posts: 646
Ok REDO:

This video starts after the stacking process. Has steps in a slightly different order and produces a much better result:



Steps:
  1. Crop
  2. Dynamic Background Extraction (twice)
  3. Linearise the RGB Working Space
  4. Starmask (this took me a while the tool behaves differently on a linear image)
  5. DynamicPSF to get my PSF for Deconvolution.
  6. Deconvolution (this again took a while to get ringing under control and I had problem with dynamic range as well)
  7. Non-linear histogram transform applied to bring the image to the correct brightness.
  8. Extract lightness channel
  9. Now here's something different. I worked on reducing noise only on the lightness channel use ATrousWaveletTransform. In this case I had to make a mask for a mask and applied it to the Lightness Channel before LRGBCombination. That way when I do LRGBCombination the lightness is noise free and the colour channels actually go through noise reduction in the process. There was a little to-ing and fro-ing and at some point I hit the undo button about 6 times and started again when I realised I had too much noise in light areas because my mask sucked. I restarted this step almost from scratch at around 22min in.
  10. Did some Local Histogram Equalisation as well to make the thing pop a bit.
  11. Finally a bit of colour saturation in the blue channel on the stars.
  12. After I finished I went back and bumped the saturation up slightly.
  13. Also not shown in the video I opened the image YET AGAIN and used the MorphologicalTransform tool to apply an erosion filter to the image. This tightened the stars in and thus made the nebula more pronounced.
Reply With Quote
  #7  
Old 06-09-2013, 05:30 PM
h0ughy's Avatar
h0ughy (David)
Moderator

h0ughy is offline
 
Join Date: Apr 2005
Location: NEWCASTLE NSW Australia
Posts: 33,378
Chris - cant see this last video - its tagged private
Reply With Quote
  #8  
Old 06-09-2013, 08:14 PM
Garbz (Chris)
Registered User

Garbz is offline
 
Join Date: May 2012
Location: Brisbane
Posts: 646
Thanks Dave, Fixed it.
Reply With Quote
Reply

Bookmarks


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 02:46 PM.

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