Improvements to Live Stacking

All the latest news about new features and improvements to SharpCap
User avatar
admin
Site Admin
Posts: 13888
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Improvements to Live Stacking

#1

Post by admin »

Hi folks,

this week I have added some improvements to live stacking, with hopefully more to come over the next few weeks.

UnStack in Live Stacking

The first new thing is the 'Unstack' button which I have added
Screenshot 2024-07-01 150758.jpg
Screenshot 2024-07-01 150758.jpg (34.64 KiB) Viewed 628 times
This button will remove the most recently added frame from the stack, allowing a frame that perhaps introduced a satellite or aeroplane trail to be eliminated. Unstacking a frame should be exact for 'Default' stacking, although it is not perfectly exact for 'Sigma Clipped' stacking. Unstacking is not available when using the Max Value/Meteor Detection stacking mode.

The unstack button becomes available when

* At least 2 frames have been added to the stack
* The most recent frame was aligned correctly and added to the stack
* SharpCap has not yet begun adding the next new frame to the stack.

You will notice it disable as SharpCap starts to process a new frame for stacking and then become enabled again once the processing is complete.

All feedback welcome - I realise it would be nice to be able to go back further into history and unstack a frame from longer ago - it's not impossible, but it is much more complex, so I thought that this would be a good starting point.

Live Stack auto-save options

This one is very simple - there are now settings in live stacking to allow you to control what stack formats are saved when the 'Auto Save' feature of live stacking happens.
Screenshot 2024-07-01 151930.jpg
Screenshot 2024-07-01 151930.jpg (19.12 KiB) Viewed 628 times
By default, the ones shown above will be saved - 16 bit stack and with adjustments. You can customize this as needed.

Frame-to-Frame drift info

Finally, I've added some info to the live stacking drift graph that shows how much the image had drifted between the most recent frame and the one before that...
Screenshot 2024-07-01 152316.jpg
Screenshot 2024-07-01 152316.jpg (25.76 KiB) Viewed 628 times
The range of values is because when there is some rotation included as well as just a linear offset, the distance varies from one part of the image to another. For good images, this value should generally be small when compared to the star FWHM value. I did some quick tests and a drift of 1/2 of the FWHM gave noticeably stretched stars, while a drift of less than 1/4 FWHM showed little distortion to star shape.

I am planning to improve this in a later update - perhaps a graph showing the drift size/direction in different parts of the frame and a warning if the drift is large compared to the FWHM.

Note that if a dither occurs between two frames then a high value would be expected (the value shows the size of the dither) and in that case it's not a problem...


cheers,

Robin
User avatar
carlomuccini
Posts: 137
Joined: Mon Apr 27, 2020 12:42 pm
Location: Montecatini Terme (PT), Italy
Contact:

Re: Improvements to Live Stacking

#2

Post by carlomuccini »

Thank you!
All beautiful and very useful news!

Carlo
tentaclejoe
Posts: 6
Joined: Sun Mar 26, 2023 12:40 am

Re: Improvements to Live Stacking

#3

Post by tentaclejoe »

This is great! I could have used it this weekend :)
roelb
Posts: 220
Joined: Wed Mar 08, 2017 11:36 pm

Re: Improvements to Live Stacking

#4

Post by roelb »

BIG THANKS
Roel
Celestron Nexstar Evolution 8 - Celestron Nexstar 6 SE - StarSense
ZWO ASI533MC-Pro -- ZWO ASI533MM-Pro
mikenoname
Posts: 73
Joined: Mon May 27, 2019 1:35 am

Re: Improvements to Live Stacking

#5

Post by mikenoname »

admin wrote: Mon Jul 01, 2024 2:27 pm UnStack in Live Stacking
Thank you, thank you, thank you, thank you!!!

Hopefully I'll be able to get out and give it a good test in a few hours.

Watch, tonight will be the only night I won't be able to find a satellite. :)

Mike
AstroChessPilot
Posts: 16
Joined: Tue Nov 22, 2022 12:46 pm

Re: Improvements to Live Stacking

#6

Post by AstroChessPilot »

There might be an issue with unstack and flip setting. In the preprocessing tab, I had Flip after dark/flat set to both, and did an unstack for a satellite trail. This was the result.
NGC5746_2024-07-01_T(21_46_03)_F6_E30.0s_TE180s_L_G250_O10_T0.0_WithDisplayStretch.jpg
NGC5746_2024-07-01_T(21_46_03)_F6_E30.0s_TE180s_L_G250_O10_T0.0_WithDisplayStretch.jpg (167.38 KiB) Viewed 569 times
User avatar
admin
Site Admin
Posts: 13888
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Improvements to Live Stacking

#7

Post by admin »

Oooh, that looks like it is unstacking the unflipped frame rather than the flipped one. It might mean that other processing isn't happening on the unstack too - let me check that out.

cheers,

Robin
Gfischer
Posts: 85
Joined: Thu Jun 22, 2023 4:20 pm

Re: Improvements to Live Stacking

#8

Post by Gfischer »

Robin,
Could you have this new unstack function automatically unstack when satellite trail detected?
User avatar
admin
Site Admin
Posts: 13888
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Improvements to Live Stacking

#9

Post by admin »

Hi,

hmm, interesting idea... Look at the *output* image from the stack (with stretch, etc) and if it has picked up a new, strong, linear feature, unstack the last frame... It might work, will have to do some testing.

I have just uploaded a new, updated, version that should fix the issue with unstack not coping properly with options set in the 'Preprocessing' controls (flip after dark/flat, flat frame, dark frame, basically the lot.) :oops: The code to do the processing before subtracting was there, but the *copy* of the original frame that it was using didn't have the processing data attached to it any more, so the processing code got called and did nothing because it thought there was nothing to do :(

Anyway, should be good now.

cheers,

Robin
Gfischer
Posts: 85
Joined: Thu Jun 22, 2023 4:20 pm

Re: Improvements to Live Stacking

#10

Post by Gfischer »

Thanks Robin,
The “healing” of satellite trails now is great. Unfortunately sometimes it doesn’t quite get rid of trail.
Hope skies are clear out your way. Monsoon seasons starts now in Arizona
Post Reply