Author Topic: StarAlignment insists on writing to disk  (Read 3333 times)

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
StarAlignment insists on writing to disk
« on: 2009 February 21 01:31:47 »
Hi,

I've done a StarAlignment on a coupled of images I took some days ago. I worked on disk files and everything went smoothly.

Then I combined them with my KSIntegration script and after that I found that stars near the edges of the image have some cromatism, probably due to the lens used. So I proceeded to separate the RGB channels to align them. I fired up StarAlignment again, selected the views (not files!) I wanted to work with now (reference: green, targets: red and blue), and launched the process in the global context. This is what I get in the console:

Code: [Select]
StarAlignment: Global context

Reference view: kappa_sigma_200_G
Structure map: 100%
Detecting stars: 100%
2977 stars found.

Registering target image 1 of 2
Target view: kappa_sigma_200_R
Structure map: 100%
Detecting stars: 100%
1437 stars found.
Matching stars...
* Reference image: Limiting to 2000 brightest stars.
879 putative star pair matches.
Performing RANSAC...
723 star pair matches in 321 RANSAC iterations.
Root mean square error:
drms  :  0.267 px
Peak errors:
dXmax :  0.706 px
dYmax :  0.654 px
Transformation matrix:
     +1.0004     +0.0000     -1.1628
     -0.0001     +1.0006     -0.8077
     -0.0000     +0.0000     +1.0000
Generating registered image
Homographic Projection / Bicubic Spline Interpolation: 100%
Registration successful.
*** Error: kappa_sigma_200_R: Unable to determine an output directory.

*** Applying error policy: Continue on error.

Registering target image 2 of 2
Target view: kappa_sigma_200_B
Structure map: 100%
Detecting stars: 100%
3797 stars found.
Matching stars...
* Reference image: Limiting to 2000 brightest stars.
* Target image: Limiting to 2000 brightest stars.
1493 putative star pair matches.
Performing RANSAC...
1439 star pair matches in 52 RANSAC iterations.
Root mean square error:
drms  :  0.274 px
Peak errors:
dXmax :  0.704 px
dYmax :  0.706 px
Transformation matrix:
     +0.9998     -0.0000     +0.5866
     +0.0000     +0.9997     +0.3863
     +0.0000     -0.0000     +1.0000
Generating registered image
Homographic Projection / Bicubic Spline Interpolation: 100%
Registration successful.
*** Error: kappa_sigma_200_B: Unable to determine an output directory.

*** Applying error policy: Continue on error.

===== StarAlignment: 0 succeeded, 2 failed, 0 aborted, 0 skipped =====
35.027 s


I suspect that some internal flag isn't being correctly (re)set, and the process thinks it's working still with disk files, but since this is the first time I use this tool, it's more than probable that I'm doing something wrong.
--
 David Serrano

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
StarAlignment insists on writing to disk
« Reply #1 on: 2009 February 23 05:59:21 »
This is a known issue. The current version of StarAlignment can only perform batch image registration tasks working with disk files. The next version will fix this problem, of course. In fact you can see it in action in the second video tutorial of the SA series:

http://pixinsight.com/videos/StarAlignment/Intro/en.html
Juan Conejero
PixInsight Development Team
http://pixinsight.com/