Author Topic: Annotation script  (Read 151963 times)

Offline zvrastil

  • PixInsight Addict
  • ***
  • Posts: 179
    • Astrophotography
Re: Annotation script
« Reply #210 on: 2012 May 29 11:27:45 »
What is the resolution of the image?
Andrés.

2823x1905 pixels

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Annotation script
« Reply #211 on: 2012 May 29 11:43:30 »
What is the resolution of the image?
Andrés.

2823x1905 pixels
I need the resolution in seconds/pixel, not the image size.

Offline zvrastil

  • PixInsight Addict
  • ***
  • Posts: 179
    • Astrophotography
Re: Annotation script
« Reply #212 on: 2012 May 29 13:47:39 »
I need the resolution in seconds/pixel, not the image size.

Ah, sorry. It's 1.507 arcsec/pix according to your ImageSolver script.

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Annotation script
« Reply #213 on: 2012 May 30 01:18:51 »
Ah, sorry. It's 1.507 arcsec/pix according to your ImageSolver script.
I can't reproduce your problem, however in the screen capture of your first post I can see that you are using a quite old version of the script. Could you try again with the last version? It is the 1.11 version and it was distributed with the update system. It should be in the menu "Script\Render".

When you can confirm that this problem is not present in the 1.11 version, I will publish a new version with new catalogs and a few changes.

Offline zvrastil

  • PixInsight Addict
  • ***
  • Posts: 179
    • Astrophotography
Re: Annotation script
« Reply #214 on: 2012 May 30 12:02:09 »
Hi Andres,

thanks for your help. Somehow I mixed up the old version of the script I downloaded long time ago with the new version distributed through update system. Latest version works without problem, no duplicates. My mistake, sorry.

regards, Zbynek

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Annotation script
« Reply #215 on: 2012 May 30 12:19:30 »
New version (1.2) of AnnotateImage:
  • The user can choose the filter used in the magnitude filter.
  • Catalog SDSS Release 8 with object class filter (star/galaxy)
  • Catalog GSC 2.3 with object class filter (star/non-star)
  • Fixed the magnitude filter in some catalogs
  • Fixed problem in the combo OutputMode
  • After downloading a catalog it logs the number of objects inside the image

Offline Geoff

  • PixInsight Padawan
  • ****
  • Posts: 908
Re: Annotation script
« Reply #216 on: 2012 May 30 21:41:07 »
Hi Andres
I downloaded the script in your latest post.  However, I get a different display window: No magnitude filter or Class and no Label Text pull downs.
Geoff
Don't panic! (Douglas Adams)
Astrobin page at http://www.astrobin.com/users/Geoff/
Webpage (under construction) http://geoffsastro.smugmug.com/

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Annotation script
« Reply #217 on: 2012 May 31 01:48:42 »
Hi Andres
I downloaded the script in your latest post.  However, I get a different display window: No magnitude filter or Class and no Label Text pull downs.
Geoff
The magnitude filter selector is only available for the catalogs that have more that one magnitude filter.
The class of object can be selected only for the catalogs that have a field with this information: SDSS and GSC.

Offline Geoff

  • PixInsight Padawan
  • ****
  • Posts: 908
Re: Annotation script
« Reply #218 on: 2012 May 31 02:32:17 »
OK
That works.  Thanks Andres.
Don't panic! (Douglas Adams)
Astrobin page at http://www.astrobin.com/users/Geoff/
Webpage (under construction) http://geoffsastro.smugmug.com/

Offline oldwexi

  • PixInsight Guru
  • ****
  • Posts: 627
    • Astronomy Pages G.W.
Re: Annotation script
« Reply #219 on: 2012 May 31 05:45:13 »
Andres!
Thank you very much for the update.
Its a fantastic tool. You are doing magic.
The including of the new catalogues is major step forward in my
opinion and makes me happy.

Aloha
Gerald

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: Annotation script
« Reply #220 on: 2012 June 01 14:06:29 »
Andres,

A small issue: I notice star markers decentered from star barycenters in some subs. Maybe a pixel or so offset. Is this expected? Maybe there is an off by one or roundoff error somewhere. Script version v1.11.

Files in forum shared files/mschuster/Annotation. Both imager and guider subs. Plate solved by PinPoint. I think PinPoint reported plate solved RMS error roughly 0.25 pixel for both subs (0.5" RMS for 2.1"/px imager, 1.5" RMS for 5.8"/px guider).

Thanks,
Mike

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Annotation script
« Reply #221 on: 2012 June 01 15:46:49 »
A small issue: I notice star markers decentered from star barycenters in some subs. Maybe a pixel or so offset. Is this expected? Maybe there is an off by one or roundoff error somewhere. Script version v1.11.
The drawing functions of PixInsight use internally integer values for the pixel coordinates. This produces a roundoff error of half a pixel.

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: Annotation script
« Reply #222 on: 2012 June 01 16:27:57 »
Quote
This produces a roundoff error of half a pixel.

How about for stars scanning the image in a small window centered on the barycenter for the brightest pixel and center it at that integer pixel?

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Annotation script
« Reply #223 on: 2012 June 14 09:16:59 »
Andres,

A small issue: I notice star markers decentered from star barycenters in some subs. Maybe a pixel or so offset. Is this expected? Maybe there is an off by one or roundoff error somewhere. Script version v1.11.

Files in forum shared files/mschuster/Annotation. Both imager and guider subs. Plate solved by PinPoint. I think PinPoint reported plate solved RMS error roughly 0.25 pixel for both subs (0.5" RMS for 2.1"/px imager, 1.5" RMS for 5.8"/px guider).

Thanks,
Mike

Mike, please read this thread: http://pixinsight.com/forum/index.php?topic=4371.0. There is a small bug in StarAlignment that produces an error of 0.5 pixels in ImageSolver. This bug plus the unavoidable roundoff of the drawing primitives can account for errors up to one pixel.

It should be fixed when Juan release the next version of StarAligment.

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: Annotation script
« Reply #224 on: 2012 June 14 10:14:11 »
Thanks Andres. I am using StarAlignment coords as input to DynamicPSF. I may have to tweak my script.

Also another question: Would it be possible to add LBN and LDN catalogs to Annotation? If you think so I may try doing this myself to learn how your script does this querying.

Mike