Author Topic: New Video Tutorials: Mosaic Construction with StarAlignment  (Read 19840 times)

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #15 on: 2010 May 18 04:40:01 »
Hi Nikolay,

Do you mean it works? 8) I want to see your result!
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #16 on: 2010 May 18 07:05:17 »
Do you mean it works? 8) I want to see your result!
Maybe it's works, but not as perfectly as I want. Maybe problem with my images or calibration.
Yes, I got much better result. Especially now better field of view geometry and only one time was applied interpolation. ;)

Now I think about this one: I want avoid double image interpolation (double alignment).
How: I can align all images to one big StarGen image. After, I can integrate 4 parts of mosaic ( I hope "Scale + zero offset" will care big black border properly. Maybe checker "Ignore zero" can help.). But I can't integrate 4 parts to one mosaic without mask... Must I write script? Or there are any way to create mask for "Region of Interest"? Like DynamicCrop, but producing a masks?

Juan, do you have place for checker "Ignore zero" in future "frame adaptation tool"?

Best regards,
Nikolay.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #17 on: 2010 May 18 11:01:19 »
Nikolay,

WOW! I don't know how perfectly you want it to be, but judging from the image you've posted, you've got a nearly perfect result IMO!

Quote
Now I think about this one: I want avoid double image interpolation (double alignment).
How: I can align all images to one big StarGen image. After, I can integrate 4 parts of mosaic ( I hope "Scale + zero offset" will care big black border properly. Maybe checker "Ignore zero" can help.). But I can't integrate 4 parts to one mosaic without mask... Must I write script? Or there are any way to create mask for "Region of Interest"? Like DynamicCrop, but producing a masks?

I am not sure if I understand you. Do you mean zero rejection in ImageIntegration? In such case, I already implemented it as you know. What do you mean by "I can't integrate 4 parts to one mosaic without mask" ??

Quote
Juan, do you have place for checker "Ignore zero" in future "frame adaptation tool"?

In fact, it has already been implemented. The frame adaptation routine automatically rejects all pixels <= 0 and >= 0.92. Zero pixels are not being taken into account. However, in the case of StarGenerator synthetic images the problem is that the frame adaptation algorithm doesn't have enough data to compute a good linear fit between the images.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #18 on: 2010 May 18 21:46:09 »
WOW! I don't know how perfectly you want it to be, but judging from the image you've posted, you've got a nearly perfect result IMO!
Yes, it's looking good, but actually simple way is better (method A. I got better result of frame adaptation, but I got bad geometry. )

Quote
Do you mean zero rejection in ImageIntegration? In such case, I already implemented it as you know.
Yes, but actually ClipLowRange doesn't work properly. Look again to the bug report about ImageIntegration problem. ;)

Quote
What do you mean by "I can't integrate 4 parts to one mosaic without mask" ??
OK. I align all images to StarGen and integrate 4 pieces of mosaic (see pic1). So, I got a geometrically perfect and aligned 4 pieces puzzle!  8)
If you look closely to interception area (see pic2), you can see the problem.  :footinmouth:
I think fill the problem area with zeros. It's will allow to use PixelMach or new "frame adaptation tool" to integrate perfect mosaic.

Quote
In fact, it has already been implemented. The frame adaptation routine automatically rejects all pixels <= 0 and >= 0.92. Zero pixels are not being taken into account.
Sounds good! How soon we will celebrate Independence Day of "frame adaptation tool" ? I want to avoid double alignment.

Add:
But really, the frame adaptation routine automatically rejects all pixels <= 0 and >= 0.92 or Compute Intersection doesn't work (with images shown in pic1)... I got pure black image:
See console report:
StarAlignment: Processing view: _0001
_0000:
Structure map: 100%
Detecting stars: 100%
4789 stars found.
_0001:
Structure map: 100%
Detecting stars: 100%
2345 stars found.
Computing intersection ...
Intersection:
R1  : {  107, 1971, 2081, 2143}   190 stars
R2  : {  107, 1971, 2081, 2144}   201 stars

?21 : 0°
Matching stars ...
149 putative star pair matches.
Performing RANSAC ...
132 star pair matches in 414 RANSAC iterations.
Summary of model properties:
Inliers     : 0.886
Overlapping : 1.000
Regularity  : 0.914
Quality     : 0.867
Root mean square error:
?RMS  :  0.661 px
Average RMS error deviation:
?RMS  :  0.317 px
Peak errors:
?xmax :  0.383 px
?ymax :  1.714 px
Transformation matrix:
     +1.0117     +0.0061    -12.2719
     +0.0004     +1.0240    -25.7375
     -0.0000     +0.0000     +1.0000
Generating mosaic image: _0001_mosaic
Building 2D surface interpolation grid ...
2-D Surface Spline / Bicubic Spline Interpolation, c=0.30: 100%
Linear frame adaptation functions:
y0 = 0.000022 + -0.000001·x0
« Last Edit: 2010 May 18 22:51:19 by NKV »

Offline h0ughy

  • PixInsight Addict
  • ***
  • Posts: 226
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #19 on: 2010 May 30 19:33:37 »
Juan,

has the third sequel come off the production line yet?
Doghouse Observatory

Offline h0ughy

  • PixInsight Addict
  • ***
  • Posts: 226
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #20 on: 2010 June 01 03:14:54 »
hey guys where do i find the file "frame adaptation" used in the tutorial to drag and drop in the pixel math operation?
Doghouse Observatory

Offline h0ughy

  • PixInsight Addict
  • ***
  • Posts: 226
Re: New Video Tutorials: Mosaic Construction with StarAlignment
« Reply #21 on: 2010 June 01 19:46:18 »
ok i just worked it out DOH! the BL becomes the image reference.  for the dummies - including me is there a video tutorial on Pixel math and creating and using functions - like this one?  took me a while
Doghouse Observatory