Drizzle integration issue in PixInsight after two sets of images with different resolution have been previously correctly integrated [Deep Sky] Processing techniques · Carlo Paschetto · ... · 13 · 411 · 5

AstroHabu 0.00
...
· 
·  Share link
Hi everyone,

today I’m presenting an issue I’ve encountered while trying to integrate two sets of images with different resolutions and original sampling in PixInsight: one taken with an ASI533MC PRO + 115/800 telescope and the other with a Canon 90D + Sigma zoom. Both the star alignment and the integration process works perfectly, whether I use a Canon image or an ASI image as the reference for alignment, even without any preliminary resampling of the ASI images and all process parameters kept as default (but checking the drizzle flag in both the process, see beyond).
If I then attempt a drizzle integration using the drizzle files generated by the alignment and integration process with a Canon image as the reference, everything works correctly, and the final image is resampled at 2x without any issues. Fine!
However, if I try a drizzle integration using the drizzle files generated with the ASI image as the reference, the final image is completely pixelated, as if something went wrong during the previous process, either alignment or integration. If I open with blink all the aligned file which go as input to the integration process, everything seems perfect.To troubleshoot this, I tried to resample the debayered ASI images by a factor of 2x before registering the two sets of images using a (resampled) ASI image as a reference, so that the ASI images matched the original sampling of the Canon ones. Again, even in this case the registration and integration algorithms work perfectly, and the final integrated image is flawless, except it’s obviously double the dimensions compared to the previous attempt.
However, when I proceed to a subsequent drizzle integration, I encounter the situation shown in the attached screenshot: the ASI images, despite being properly resampled and registered relative to the Canon images, are “stacked” either with their initial coordinates (0,0) in the top left corner, or in the bottom low corner, instead of being perfectly aligned with the Canon images.
Where am I going wrong?

Note: the first screenshot was taken while testing the drizzle integration process on a subset of the total images, the second screenshot by applying the process to all the images. In both the screenshots you can notice that absolute alignment appears to be right, but not resampling and relative overlapping of the two image sets.

Summarizing the process:
  • Calibration of all the original images using of course dark, bias and flat belonging to each proper imaging session.
  • Subrame selection and weighting applied separately to Canon and ASI image sets.
  • Cosmetic correction of the two image sets, each one of them using its own proper dark master frame.
  • Debayering of all the images.

Then:

Attempt 1:
  • Star alignment using Canon image as a reference, all other parameters as per default: everything is fine from alignment, through integration, to final drizzle integration.
  • Star alignment using ASI image as a reference, all other parameters as per default: everything is fine from alignment, through integration, but NOT drizzle integration, which appears to be heavily pixelated.

Attempt 2:
  • Resampling debayered ASI images 2x.
  • Star alignment using Canon image as a reference, all other parameters as per default: everything is fine from alignment, through integration, to final drizzle integration. Final images have of course double resolution compared to attempt 1.
  • Star alignment using ASI image as a reference, all other parameters as per default: everything is fine from alignment, through integration, but NOT drizzle integration, which appears as in the attached screenshot, with ASI images positioned in (0,0) coordinates.

Where am I wrong?

Thank you everybody for any suggest and support!

Carlo

Screenshot 2024-12-06 alle 14.15.11.png

Screenshot 2024-12-06 alle 11.06.19.png
Edited ...
Like
andreatax 9.89
...
· 
·  Share link
Apart from the issue whether drizzling 2x is a sensible procedure for CFA images did you use WBPP or were you doing it manually?
Like
AstroHabu 0.00
Topic starter
...
· 
·  Share link
andrea tasselli:
Apart from the issue whether drizzling 2x is a sensible procedure for CFA images did you use WBPP or were you doing it manually?

I always do it manually, step by step, by making the master frames (Bias, Dark, Flat) and then proceeding with Lights Calibration, Subframe selector, etc. 
There is no specific reason, it's just that a couple of years ago when I came into PixInsight I learned this workflow, got used to my own set of "standard parameters" and never changed anymore. If I decide to drizzle images I just check the related flags in the Star Alignment Process and Integration Process.
But I seldom integrate images coming from different set-ups, this is maybe my second or third try.
Edited ...
Like
andreatax 9.89
...
· 
·  Share link
That's good. Which one of the image streams has the larger field and do they overlap?
Like
AstroHabu 0.00
Topic starter
...
· 
·  Share link
andrea tasselli:
That's good. Which one of the image streams has the larger field and do they overlap?

If you take a look at my previous screenshots you can get an idea. The target is M33 galaxy. Rectangular field come from Canon images, square-shaped from ASI.
I here attach the simulated FOV on Stellarium of both the set-ups , of course considering the right configuration ASI+telescope+flattener  / Canon+zoom+teleconverter.
You can also see the actual overlapping looking at the attached rejection low image resulting from the regular integration, where the rectangular FOV is Canon and the square-shaped FOV is ASI used as a reference. As you see, without drizzling everything works fine and the final image is ok.
FOVs are not so different, but images characteristics are. Canon images are 6960 x 4640 pixels, sensor is an APS-C whose diagonal is 26,82mm, while ASI images are 3008x3008 pixels and sensore is 1" whose diagonal is 15,98mm.
Asked ChatGPT to do some rough calculation about, and after correcting a couple of its incorrect assumptions, sampling in arcsec/pixels should be 1.23 for the ASI+telescope system and 0.55 for the Canon+zoom system.

Screenshot 2024-12-06 alle 19.55.54.pngScreenshot 2024-12-06 alle 19.59.13.pngScreenshot 2024-12-06 alle 20.11.23.png
Edited ...
Like
andreatax 9.89
...
· 
·  Share link
And what is preventing you to do drizzle on both as separate images and then add them together?
Like
shenmesaodongxia 0.90
...
· 
·  Share link
You need to use an image that has not been debayered in order to perform drizzle intergration.
Like
AstroHabu 0.00
Topic starter
...
· 
·  Share link
You need to use an image that has not been debayered in order to perform drizzle intergration.

Are you referring to this case in particular or as a general rule, since I've been always using debayered images for drizzle integration without experiencing any problem so far...
Like
AstroHabu 0.00
Topic starter
...
· 
·  Share link
andrea tasselli:
And what is preventing you to do drizzle on both as separate images and then add them together?

Good point, but I'm not sure I've understood the step by step process in this case: you're meaning that after the integration process, I should apply the drizzle integration process separately to the Canon and the ASI drizze file sets? In this case I then get two separate drizzled images, one out of the Canon set and one from the ASI set. I suppose that these two images are aligned, as they have been generated starting from previously aligned images sets, but how can I merge the two results? Through a new regular integration?
Like
andreatax 9.89
...
· 
·  Share link
Carlo Paschetto:
Good point, but I'm not sure I've understood the step by step process in this case: you're meaning that after the integration process, I should apply the drizzle integration process separately to the Canon and the ASI drizze file sets? In this case I then get two separate drizzled images, one out of the Canon set and one from the ASI set. I suppose that these two images are aligned, as they have been generated starting from previously aligned images sets, but how can I merge the two results? Through a new regular integration?


That's correct. You add them together in PixelMath or average them, possibly being the better option: (image01+image02)*0.5
Like
andreatax 9.89
...
· 
·  Share link
Carlo Paschetto:
You need to use an image that has not been debayered in order to perform drizzle intergration.

Are you referring to this case in particular or as a general rule, since I've been always using debayered images for drizzle integration without experiencing any problem so far...

*Drizzle (whether CFA or standard) operates on un-debayered images upstream of the de-bayering step but after calibration and cosmetic correction. So you gotta keep them until drizzle is finished. Those files, that is.
Edited ...
Like
AstroHabu 0.00
Topic starter
...
· 
·  Share link
andrea tasselli:
Carlo Paschetto:
You need to use an image that has not been debayered in order to perform drizzle intergration.

Are you referring to this case in particular or as a general rule, since I've been always using debayered images for drizzle integration without experiencing any problem so far...

*Drizzle (whether CFA or standard) operates on un-debayered images upstream of the de-bayering step but after calibration and cosmetic correction. So you gotta keep them until drizzle is finished. Those files, that is.

Yes of course. This is what I actually do.
Like
AstroHabu 0.00
Topic starter
...
· 
·  Share link
andrea tasselli:
Carlo Paschetto:
Good point, but I'm not sure I've understood the step by step process in this case: you're meaning that after the integration process, I should apply the drizzle integration process separately to the Canon and the ASI drizze file sets? In this case I then get two separate drizzled images, one out of the Canon set and one from the ASI set. I suppose that these two images are aligned, as they have been generated starting from previously aligned images sets, but how can I merge the two results? Through a new regular integration?


That's correct. You add them together in PixelMath or average them, possibly being the better option: (image01+image02)*0.5

Great! I'm going to follow this workflow then.
Like
AstroHabu 0.00
Topic starter
...
· 
·  1 like
·  Share link
Carlo Paschetto:
andrea tasselli:
Carlo Paschetto:
Good point, but I'm not sure I've understood the step by step process in this case: you're meaning that after the integration process, I should apply the drizzle integration process separately to the Canon and the ASI drizze file sets? In this case I then get two separate drizzled images, one out of the Canon set and one from the ASI set. I suppose that these two images are aligned, as they have been generated starting from previously aligned images sets, but how can I merge the two results? Through a new regular integration?


That's correct. You add them together in PixelMath or average them, possibly being the better option: (image01+image02)*0.5

Great! I'm going to follow this workflow then.

Just to give an update: I then tried applying the drizzle integration separately to the two sets of images and so discovered that the error occurs specifically during the integration of the resampled ASI images set. That result produces exactly that strange image with the “doubled” galaxy, while the drizzle integration applied to the Canon set works perfectly fine.
So, the error is likely upstream in the preliminary resampling of the ASI images (the above mentioned "attempt 2", which in my experience shouldn’t be necessary anyway). This also means that the ordinary workflow I used in my "attempt 1" should be the right one, but probably there is some parameter for that case which I'm omitting.

Conclusions? None—I gave up. The previous attempts using the Canon images as the reference had already produced satisfactory results. At this point, it was just curiosity and a desire to understand what the issue was, but every round of star alignment, integration, and drizzle takes too many hours, and it’s just not worth it.

Thanks anyway for the support!
Edited ...
Like
 
Register or login to create to post a reply.