Stacked colour fits

Questions, support and discussions
han.k
Posts: 211
Joined: 23 Nov 2017, 15:04
Location: The Netherlands
Contact:

Re: Stacked colour fits

Post by han.k » 29 Dec 2018, 18:25

For a few images you better use "average stacking" unless these are satellite tracks. Try to keep one exposure time. I will have a look again to these lines.


p.s I have added de-mosaic method based on "HIGH-QUALITY LINEAR INTERPOLATION FOR DEMOSAICING OF BAYER-PATTERNED COLOR IMAGESHenrique S. Malvar, Li-wei He, and Ross Cutler"

This will give better stars. But still something to improve.

han.k
Posts: 211
Joined: 23 Nov 2017, 15:04
Location: The Netherlands
Contact:

Re: Stacked colour fits

Post by han.k » 29 Dec 2018, 18:32

Hello Serg,

If I stack 4 x 60 seconds, I don't see the tracks. I there a a way to get rid of them?

Han

Serg1
Posts: 37
Joined: 30 Sep 2018, 05:14

Re: Stacked colour fits

Post by Serg1 » 29 Dec 2018, 18:52

4х60. Lower left corner. It's not a satellite track.
Attachments
2018-12-29_21-51-15.png
2018-12-29_21-51-15.png (80.24 KiB) Viewed 8182 times

han.k
Posts: 211
Joined: 23 Nov 2017, 15:04
Location: The Netherlands
Contact:

Re: Stacked colour fits

Post by han.k » 29 Dec 2018, 20:54

Hello Serg,

I only see it occurring when I stack the 10 sec and 60 sec images together. It doesn't happen if you stack the only the 10 sec series or the 60 sec image series. I assume the internal "black spot filter" is trying to eliminate some black spots which could occur if you combine a small amount of images. By combining two different exposure times it is confused.

As long it doesn't happen with a single series of the same exposure, I would not be worried about it. Can you confirm that?

Please note note also that the background value changing quickly for each image due to twilight. That will make it difficult to remove any satellite track since it can't calculate accurate an correction. Best is to have steady conditions and same exposure time.

Han

Serg1
Posts: 37
Joined: 30 Sep 2018, 05:14

Re: Stacked colour fits

Post by Serg1 » 30 Dec 2018, 05:58

Hello Han.
Repeat the artifacts on the stack 4*60 has failed. This is odd. But they exist when adding 4 * 10 and 4*60. Similar artifacts exist on other stacks. I noticed that they appear if there is a small rotation of the image. When the rounding error accumulates, it is rounding up or down. Accordingly, bright and dark spots across the whole frame from edge to edge.
Attachments
2018-12-30_08-44-28.png
2018-12-30_08-44-28.png (596.99 KiB) Viewed 8178 times

Serg1
Posts: 37
Joined: 30 Sep 2018, 05:14

Re: Stacked colour fits

Post by Serg1 » 30 Dec 2018, 14:12

Hello Han.
A new method of de-Bayer leaves the same artifacts.
Attachments
2018-12-30_17-10-00.png
2018-12-30_17-10-00.png (31.96 KiB) Viewed 8174 times

han.k
Posts: 211
Joined: 23 Nov 2017, 15:04
Location: The Netherlands
Contact:

Re: Stacked colour fits

Post by han.k » 30 Dec 2018, 16:07

Hello Serg,

When the images are rotated and stacked could have places where pixels are missing. These missing position tends to be dotted lines.

Theoretical it is possible to calculate in fractions of pixels but this becomes pretty CPU intensive. If you have enough images maybe 10, all pixel positions are filled since images are all a little shifted. The program keeps record for each pixel how many times a value is added. If you have 10 images stacked, some pixels have maybe 8 values added, others have, 9, 10 or 11 values added. By keeping a record of the number of pixel added, the program can normalize the sum by dividing the amount of pixels added. So if the stacking pixel is the sum of 10 images it is dived by 10. The sum of 10 pixel values/10 is equals to sum of 9 pixel values/9. This only works if the exposure time and background value are similar. This doesn't work if you mix 10 and 60 seconds exposures. So just keep one exposure time.

I'm still not happy about the bright stars after de-mosaic. Next clear sky moment, I will connect my old QHY8 and see what results I get with ASTAP. PixelInsight is using VNG de-mosaic procedure for the same reason. It will be not easy to implement.

Han

han.k
Posts: 211
Joined: 23 Nov 2017, 15:04
Location: The Netherlands
Contact:

Re: Stacked colour fits

Post by han.k » 31 Dec 2018, 09:04

To improve bright star colour, I'm working and testing new demosaic routines. In a few days I hope to have results

han.k
Posts: 211
Joined: 23 Nov 2017, 15:04
Location: The Netherlands
Contact:

Re: Stacked colour fits

Post by han.k » 01 Jan 2019, 22:18

They demosaic method "Malvar, He, Cutler" was not working for stacking. This has been fixed in v0.9.152.

I tried some other demosaic methods. They where all worse for astro images. The method "Malvar, He, Cutler" gives the lowest HFD values.

Han

Serg1
Posts: 37
Joined: 30 Sep 2018, 05:14

Re: Stacked colour fits

Post by Serg1 » 03 Jan 2019, 11:50

Hello Han.
I've tried a new method. He, too, gives swathe of dark points. I think the problem is not demosaic, but rounding pixel values when rotating images. See the link for Precision rotation of the bitmap to an arbitrary angle.
https://habr.com/post/160401/

Post Reply