×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Live stacking methods?

  • Posts: 333
  • Thank you received: 92

Replied by han on topic Live stacking methods?

Looking to some "live stacking" videos, I see the following requirements for a live stacking program for deep-sky:

1) Alignment of unguided images with an exposure time of a few seconds. (Nobody is guiding)
2) Showing intermediate results

This mean you have to stack differently. Assuming the images are A,B,C,D... then

Simple serial stacking:

result1:=A
result2:=(result1+B )/2
result3:=(result2*2+C)/3
result4:=(result3*3+D)/4
result5:=(result4*4+E)/5
....


The only question to ask when to restart serial stacking. If alignment fails a few times?

Han
Last edit: 4 years 5 months ago by han.
4 years 5 months ago #44683

Please Log in or Create an account to join the conversation.

  • Posts: 1957
  • Thank you received: 420
... or if the telescope slews to a new object?


Wouter
4 years 5 months ago #44684

Please Log in or Create an account to join the conversation.

  • Posts: 220
  • Thank you received: 27

Replied by PDB on topic Live stacking methods?

No problem with live -stacking, this for sure is a benefit, but making the Indi FITS viewer more reliable should have much higher priority. It still crashes to much taking the whole observation session down with it. Just hitting a button can already make it happen.
(last time it was the apply button after selecting log histogram). Please detach it from KSTARS before applying new functionality.

Rgrds,

Paul
4 years 5 months ago #44685

Please Log in or Create an account to join the conversation.

  • Posts: 333
  • Thank you received: 92

Replied by han on topic Live stacking methods?

I briefly experimented with the code. Serial stacking works. Running on my standard desktop the cycle time using existing files is about 1.4 seconds for each 2328x1760 monochrome image including applying a master dark and flat each time.

I also had a brief look to DSS live. That looks nice but somehow people are only using it in combination with AstroToaster. What's wrong with DSS live only?

I assume the main benefit is that this solution can be used in Linux. The other programs look pretty established in Windows.

What to do with the input files. Maybe delete? Renaming is possible but it will produce huge amount of data since the setup is most likely operated with short exposure times. If I work this concept further out, I don't want to add more options.

Flowchart for images A, B, C, D...:

result1:=A
plot result1
result2:=(result1*1+B )/2
plot result 2
result3:=(result2*2+C)/3
plot result 3
result4:=(result3*3+D)/4
plot result 4
result5:=(result4*4+E)/5
plot result 5
...

The images in the above process with master dark and flat & flats dark corrected
Viewer maintains the actual view position and zoom factor
4 years 5 months ago #44689

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic Live stacking methods?

Great progress Han! Right, we desperate need something reliable working under Linux.

I already started adding ASTAP integration to Ekos as an alternative solver and hopefully by the next release we'd have something stable.

Regarding how to handle input files, this should be an option, because I could be running an actual sequence and just want to see the how the live stacking is going.
The following user(s) said Thank You: T-Studio, AstroNerd
4 years 5 months ago #44701

Please Log in or Create an account to join the conversation.

  • Posts: 210
  • Thank you received: 104
Hi,

Han, this is good if you add this function to ASTAP.

From my experience in CCDciel, it work better with a simple addition of each new frame. This is because people doing EAA don't really fear about star saturation but want the faint nebulae level to increase as quickly as possible. When you divide by the number of frame, you keep the faint nebula level very low, as it was on a single image, just with less noise. Also 60 x 5 sec. do not saturate more than 1 x 300 sec.
But the best option is to do the stacking in 32bit floating point, then scale to 16bit for the display.

Maybe with ASTAP you can also try to keep every frame to redo the full stacking each time, in this case you can use sigma clipping to improve the result. If I understand correctly this is what AstroToaster do.
And as Jasem say this can also be used to preview the result of a standard sequence, not only for EAA.

At the moment CCDciel shift the image with a single star alignment before stacking. This work fine with unguided mount but not with alt/az mount. It is good if ASTAP can also apply a rotation but this imply that more than one star can be measured in the frame.

Patrick
4 years 5 months ago #44711

Please Log in or Create an account to join the conversation.

  • Posts: 333
  • Thank you received: 92

Replied by han on topic Live stacking methods?

The first ASTAP version (v0.9.278 ) with "Live Stacking" is available for Linux AMD64 and MSWindows. You can find the new feature in the stack menu under tab "Live stacking"



It will stack all file(s) in the specified directory. If it is finished it will wait for new file(s). If a file is detected which is 20 arcmin away from the previous files (idea Wouter), a new stack will be started automatically. You can save the stack results from the viewer menu .

I haven't tested under clear skies but it seems to work well. Please tell me if this is useful and report possible bug(s) or improvements.
To identify files which are processed , they are renamed to the extension *.fts. You can rename them back with the button at the bottom.

If it works well, then I will compile the program for Raspberry Pi.
Patrick, that' s no problem. ASTAP stacks always using floating point arrays.

Clear skies, Han
The following user(s) said Thank You: Jasem Mutlaq, T-Studio, Jim, Brian
Last edit: 4 years 5 months ago by han.
4 years 5 months ago #44721
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 447
  • Thank you received: 30

Replied by T-Studio on topic Live stacking methods?

very nice.
I was trying to list support for ASTAP in the wish list Ekos alignment module.

ASTAP's Solver is a great help when creating a remote environment with SBC.
4 years 5 months ago #44742

Please Log in or Create an account to join the conversation.

  • Posts: 447
  • Thank you received: 30

Replied by T-Studio on topic Live stacking methods?

If live stacking can also be implemented, this is a solution that can integrate EAA into SBC.
(I expect it to be easy to navigate and browse remotely as previously posted.)
4 years 5 months ago #44745

Please Log in or Create an account to join the conversation.

  • Posts: 447
  • Thank you received: 30

Replied by T-Studio on topic Live stacking methods?

I will introduce it on my blog.
Great job!
4 years 5 months ago #44746

Please Log in or Create an account to join the conversation.

  • Posts: 333
  • Thank you received: 92

Replied by han on topic Live stacking methods?

Just released ASTAP version 0.9.279 with some minor improvement. Now the stacking will also restart if the exposure time changes. It also restart stacking when the mount position changes more then 0.2 degrees/12 arc minutes. In the previous version this maximum offset was set by mistake at 20 arc seconds only.
If for Sigma Clip stacking the program keeps all images in memory (e.g. 20 megapixels equals 80 mbyte), the memory usage will rise fast and processing time will increase. You could probably avoid this by using only the first ten images to find statistically the mean and standard deviation of each pixel and to use that to detect outliers in the next images. For the moment, lets first see how the average stacking works and performs. Average stacking using the serial calculation makes it fast and simple.

Han
4 years 5 months ago #44761

Please Log in or Create an account to join the conversation.

  • Posts: 333
  • Thank you received: 92

Replied by han on topic Live stacking methods?

This evening, I had a chance to test the ASTAP live stacking during some clear sky moment between the clouds. Noted the following:

- Stacking works well!
Only there is something wrong with star detection because it didn't work well with H-alpha images and the normal stack routine has not problem with them.
- The switch-over between two different object doesn't work proper. While slewing the incoming images confuse the program. For the time being I just had to stop imaging.
- Unicode fonts didn't work well with my Win7 system.
- Memo containing the fits header is flashing too much.

Improvements will come.

Han

One example made during strong wind:
41x10 seconds live stacking with ASI1600 and HEQ5 mount. No guiding. No darks No flats.

The following user(s) said Thank You: Jasem Mutlaq, AstroNerd, Jose Corazon, Avocette
Last edit: 4 years 5 months ago by han.
4 years 5 months ago #44791
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 1.475 seconds