Edges of stack showing, dark spots in stacked star field image, what's wrong here?

As a further experiment I took the pp_ files from SIRIL and stacked them in Astro Pixel Processor. This came out much like the Deep Sky Stacker version - virtually no hard edges.

Siril does not stack in mosaic mode where it implies to have a different signal-to-noise ratio on the whole image. So this is perfectly normal to have the edges visible. You need to crop it.

but DSS and APP do?

Yes they can. With a poor quality in the edges

No, not with poor quality, it depends on the number of images. If you have 100 images stacked in some parts of the frame, and 120 images elsewhere, the part you are saying has “low quality”, still has 100 images stacked.

The SNR will be higher in the parts with 120 by 9.5%. That’s a tiny difference in SNR. It shouldn’t be visible. The portions with 100 images stacked can still be very high quality by any absolute standard.

This ought to have nothing to do with mosaic mode. I did NOT use mosaic mode in either DSS or APP. I am stacking images on a reference frame. The result is clipped to that refence frame.

How is that a mosaic? There is only a single panel.

It’s true that my subs do not all line up perfectly, but that does not make it a mosaic.

SIRIL made a design decision to not do mosaics. Mosaics involve correcting for lens distortion and are more complicated in the image geometry.

But that’s not relevant here. Apparently you are interpreting no mosaics as an excuse to do a bad job on stacking a single frame.

What is the origin of the edges? Doing the math on averaging would suggest that the should not be big difference between an average of 100 versus say an average of 120.

Obviously if there was a big difference in the background brightness in the 20 shots that were different between the two that would be one thing but that is not the case for my shots.

And, even if there is some difference, SIRIL has a normalization option, which I used, which is supposed to (as much as possible) get rid of variations in background brightness.

So its not clear to me why the edges are so visible in SIRIL.

But regardless of why its there, it’s a bug. It just means SIRIL is useless for stacking unless there is perfect alignment.

Which is unfortunate - it makes SIRIL very limited in applicability for people that want to incorporate subs from previous sessions. If you set out to shoot a specific shot, then you can align things, but if you have relevant frames you shot with a different alignment in the past - then you can’t.

I belive this mode is called mosaic in DSS. Even if it is just an overlap.

Hey please, feel free to contribute if you think you can do better.

In DSS:
StackingMode

Blockquote I belive this mode is called mosaic in DSS. Even if it is just an overlap.

No, it is called normal mode. There is an example showing overlapping frame in normal mode in the DSS manual http://deepskystacker.free.fr/english/index.html

Hey please, feel free to contribute if you think you can do better.

Actually, I just did contribute. I pointed out a deficiency in the specifications.

In general for a software developer to tell a user “contribute if you think you can do better” is a super arrogant, defensive and dismissive way to shut down criticism. As if the only people who can comment need to be able to be developers.

I hope that attitude isn’t typical of SIRIL, because it is very hard to make something great if there is nothing but aggressive defense of the current limitations. Why would a good developer try to push things ahead with that kind of attitude?

1 Like

Um, lock042, can you see that the shot you demonstrated is showing exactly this case - and that the software is in Standard mode, NOT mosaic mode.

You are so defensive that you didn’t even look at your own example.

This kind of comment doesn’t help me to be kind. But that’s probably me.

The screen shot from DSS is from the manual page that I have a link to.

Standard mode takes a reference frame - outlined in green, and clips the result to its borders. That is the mode that does the correct stacking of my frames in posts above.

Mosaic mode would give you all of the frames shown.

Intersection mode gives you only the part where they all intersect.

Please let’s chill out.

1 Like

In the event that there is somebody from the SIRIL development team reading this thread who is actually interested in the technical aspect, here is a suggestion of what is going on.

During integration, one does an average of all of the pixels for a given location in the image. That average might be a weighted average, and there is also the option of doing outlier rejection.

So if we have M sub-frames in a given area, you find the M pixels at a location, do outlier rejection to get N pixels where N<= M. Those N pixel values are then added together - possibly after multiplying by a weighting factor (quality factor, or SNR factor, there are several approaches). And then you do the average - i.e. sum the N pixel values and divide by N.

The result that SIRIL is putting out seems to me that it MIGHT be do a bug where the the number M is a global value for a stack. So if we have M images to stack, you base M, or the quality factors on the maximum number of rather than the number of pixels that are actually overlapping at that place in the image.

That’s just a guess on my part, and it could be that the problem is due to something else.

However, this would explain why there are such pronounced edges - the areas where there are fewer frames are not actually an average. There should be very little difference between the averages. But if the maximum number across the whole stack is Mglobal, then the areas of the stack that have a lower number Mlocal would effectively be suppressed by a factor Mlocal/Mglobal.

Or as an alternative, something similar could occur in the process of image normalization. In that case each pixel of each image might effectively be multiplied by something like (Mlocal/Mglobal).

Isn’t telling a software developer doing a bad job also arrogant? We reap what we sow.

1 Like

The actual quote was a bad job of stacking - not an overall bad job. There are many good aspects of SIRIL.

However, I think that if you look at the images I posted, SIRIL does a bad job of stacking my frames, while DSS and APP do vastly better.

If you think that the SIRIL result is good compared to DSS, then I really don’t know what to say.

Also, note that in my original post I suggested that that the problem was my mistake and/or ignorance. It’s only when I got the aggressive assertion that this is the way SIRIL is supposed to be, that the others are low quality etc that I was goaded into calling out the obvious bad result.

1 Like

As a moderator, I did not even think about comparing Siril to DSS or whatever. My intention was just about being polite and wording constructive vs. destructive criticism.

Fair enough, I will try to be constructive at all times.

1 Like

It’s clear for nobody.

What kind of normalization did you use?

additive with scaling

Can you show the script you are using? Otherwise, what’s the rejection method you used? What version of siril on what OS did you use?