Author Topic: Annotation script  (Read 151984 times)

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Annotation script
« Reply #135 on: 2012 April 08 04:21:59 »
After running the image solver, I can no longer use the StarGenerator, because when selecting the PPMX file, the system always tells me that the file already is in use. This is on Windows 7. I think the cause probably is that the file is not properly closed after use in image solver, and that it has been opened for read/write instead of read only. This is just a guess: I did not have a look at the sources.
Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Annotation script
« Reply #136 on: 2012 April 08 05:38:43 »
I have difficulties with the solver running on a wide field (12mm, screenshot 1). I know that the underlying StarAlignment process cannot handle distortions well, so I thought it might be able to solve a small snippet of the full image (screenshot 2), because the remaining distortions should be much smaller. No luck though-at least with the parameters shown in the screenshot

The 3rd attachment contains the snippet I am trying to solve. Maybe someone else can give a hint on how to achieve the goal.

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Annotation script
« Reply #137 on: 2012 April 08 09:00:32 »
I fitted the snippet to the star map using dynamic alignment. The attached screenshot shows the fitted image, with the star map as a mask (red dots), and with an approximate rectangle drawn using dynamic crop. It is clear from this that a fit does not only need translation, rotation and rescale (identical in x and y), but also a certain sheer and different scales in x and y. And this apparently is something that StarAlignment currently cannot do.

I wonder if StarAlignment could be extended to handle this kind of distortions. If that is possible, we could map wide fields to star maps doing it in small pieces. Currently that does not work.

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Enzo De Bernardini

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 274
  • Resistance is futile.
    • Astronomí­a Sur
Re: Annotation script
« Reply #138 on: 2012 April 08 09:33:21 »
Message:  Cannot find file!

Hum...for some reason the link generated from the system does what he thought he would ??? As Antoine said, the file is located in /Annotation_Script_Catalogs/, a public directory, with a generic name to centralize other catalogs there.

Greetings,

Enzo.

Offline oldwexi

  • PixInsight Guru
  • ****
  • Posts: 627
    • Astronomy Pages G.W.
Re: Annotation script
« Reply #139 on: 2012 April 08 09:49:04 »
Hi Enzo!
Found the the LONEOS_photometry.txt file in the Pixinsight Files System and downloaded the file.
When i try to use it in ImageSolver as local catalogue the script asks for
a *.bin file. The *.txt file is not accepted.
Für sure i missed a step...
Do you have any hints?

Gerald
« Last Edit: 2012 April 08 09:58:11 by oldwexi »

Offline Enzo De Bernardini

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 274
  • Resistance is futile.
    • Astronomí­a Sur
Re: Annotation script
« Reply #140 on: 2012 April 08 10:17:11 »
Hi Enzo!
Found the the LONEOS_photometry.txt file in the Pixinsight Files System and downloaded the file.
When i try to use it in ImageSolver as local catalogue the script asks for
a *.bin file. The *.txt file is not accepted.
Für sure i missed a step...
Do you have any hints?

Gerald

Hi Gerald,

I use .txt, like original NGC/IC catalog provided with the script, and I have had no troubles (Win XP 32b), the 'catalog path' dialog accepts .txt. Your NGC/IC catalog is 'ngc2000.txt'?. You can try renaming the LONEOS file extension from .txt to .bin and test again, but I think in .txt should work... Andres?

A detail: I have noticed an extra space in the filename: 'LONEOS_photometry .txt'. I corrected to 'LONEOS_photometry.txt', to avoid problems.

Let me know if it worked.

Greetings,

Enzo.

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Annotation script
« Reply #141 on: 2012 April 08 11:54:22 »
Hi Enzo!
Found the the LONEOS_photometry.txt file in the Pixinsight Files System and downloaded the file.
When i try to use it in ImageSolver as local catalogue the script asks for
a *.bin file. The *.txt file is not accepted.
Für sure i missed a step...
Do you have any hints?

Gerald
ImageSolver uses the catalog provided by Pixinsight for the StarGenerator module. It is a .bin file that can be downloaded from http://pixinsight.com/download/index.html. This is documented in the tooltip of the text field in the configuration dialog.

AnnotateImage uses the supplied file ngc2000.txt for the NGC/IC catalog. The last version should be able to select automatically this file.

The custom catalog layer in AnnotateImage uses an TAB-separated file documented in this message: http://pixinsight.com/forum/index.php?topic=3966.msg28257#msg28257

Offline oldwexi

  • PixInsight Guru
  • ****
  • Posts: 627
    • Astronomy Pages G.W.
Re: Annotation script
« Reply #142 on: 2012 April 08 12:24:18 »
Thanks Enzo, thanks Andres for the explanations!
Now i understand better.

Again, this tool is excellent!

Aloha
Gerald

Offline Herbert_W

  • PixInsight Addict
  • ***
  • Posts: 204
    • Skypixels - Astrophotography by Herbert Walter
Re: Annotation script
« Reply #143 on: 2012 April 09 04:17:15 »
Hi Andres!

Its a Reply to #126
Quote
If you find in Vizier a better catalog for deep sky objects, please send me its name so I can analyze it.

I had a look in Vizier and here are examples for my wish list:

VDB      VizieR   VII/21
Sharpless   VizieR   VII/20
Barnard    VizieR      VII/220A/barnard
.
.
I'm not sure about your intention, to include several deepsky catalogs.

But my first wish is labeled stars with the B-V index (optionally).

Again, thanks for this great tool.
Best regards.

Herbert, Austria




Offline Enzo De Bernardini

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 274
  • Resistance is futile.
    • Astronomí­a Sur
Re: Annotation script
« Reply #144 on: 2012 April 09 20:12:21 »
(this about an article published in spanish, so I'm write in spanish this message, sorry ;) )

Hola,

He publicado en Sur Astronómico un pequeño artículo sobre el plate solving, me ha parecido interesante dar a conocer estas nuevas posibilidades que los scripts de Andrés permiten llevar a adelante sobre la plataforma de PixInsight. Los interesados podrán encontrarlo en la siguiente dirección:

http://surastronomico.com/not-746-plate-solving-con-pixinsight.html

Si es de su agrado, los invito a compartirlo en sus redes.

Saludos,

Enzo.

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Annotation script
« Reply #145 on: 2012 April 10 01:28:33 »
(this about an article published in spanish, so I'm write in spanish this message, sorry ;) )

Hola,

He publicado en Sur Astronómico un pequeño artículo sobre el plate solving, me ha parecido interesante dar a conocer estas nuevas posibilidades que los scripts de Andrés permiten llevar a adelante sobre la plataforma de PixInsight. Los interesados podrán encontrarlo en la siguiente dirección:

http://surastronomico.com/not-746-plate-solving-con-pixinsight.html

Si es de su agrado, los invito a compartirlo en sus redes.

Saludos,

Enzo.
Te ha quedado muy bien el artículo. Me parece especialmente interesante utilizar el ángulo de rotación calculado para "desrotar" la imagen. Una mejor solución sería utilizar la matriz de referenciación, pero eso requeriría otro script  ;)

Offline Enzo De Bernardini

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 274
  • Resistance is futile.
    • Astronomí­a Sur
Re: Annotation script
« Reply #146 on: 2012 April 10 09:00:55 »
Te ha quedado muy bien el artículo. Me parece especialmente interesante utilizar el ángulo de rotación calculado para "desrotar" la imagen. Una mejor solución sería utilizar la matriz de referenciación, pero eso requeriría otro script  ;)

Gracias Andrés!. Es un trabajo tan bien realizado, y una posibilidad tan interesante, que tuve muchas ganas de darlo a conocer. Y ojalá esto también motive a otros para incursionar en PixInsight.

Saludos,

Enzo.

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Annotation script
« Reply #147 on: 2012 April 11 13:24:13 »
i'm going to upload another image. this time it's not a widefield image, but approx 60 by 40 arcminutes at 1100mm. it won't solve on my mac. if i ask the solver to output the stars it is using, it seems to have found valid stars.

for fun i downloaded an image of M51 from DSS and it does solve on the mac. that leads me to believe there's something wrong with my input images, but we'll see.

edit: okay, well after playing with stargenerator and staralignment, i found that i had to increase my star magnitude to 22. that might have been overkill but it's the first thing i tried and it worked.
« Last Edit: 2012 April 11 17:13:02 by pfile »

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Annotation script
« Reply #148 on: 2012 April 13 12:06:09 »
The version 1.0 on AnnotateImage is ready.

This version has these improvements:
  • Label alignment: The user can chose to draw the labels in different positions for each catalog.
  • Fixed grid around the poles
  • New field "NGC/IC code" in NGC/IC catalog. Cleaned name column in the catalog.
  • Hipparcos Main Catalog (VizieR I/239) with B-V and Spectral Type fields.
  • Catalog of Reflection Nebulae - Van den Bergh (VizieR VII/21)
  • Catalog of HII Regions - Sharpless (VizieR VII/20)
  • Barnard's Catalog of Dark Objects in the Sky (VizieR VII/220A)

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: Annotation script
« Reply #149 on: 2012 April 13 12:27:25 »
Hi

Really really excellent stuff , thank you so much  :-*

Harry
Harry Page