Author Topic: Annotation script  (Read 14158 times)

zvrastil

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

2823x1905 pixels

Andres.Pozo

  • PixInsight Old Hand
  • ****
  • Posts: 393
    • View Profile
Re: Annotation script
« Reply #211 on: 2012 May 29 18:43:30 »
What is the resolution of the image?
Andrés.

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

zvrastil

  • PixInsight Addict
  • ***
  • Posts: 185
    • View Profile
    • Astrophotography
Re: Annotation script
« Reply #212 on: 2012 May 29 20: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.

Andres.Pozo

  • PixInsight Old Hand
  • ****
  • Posts: 393
    • View Profile
Re: Annotation script
« Reply #213 on: 2012 May 30 08: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.

zvrastil

  • PixInsight Addict
  • ***
  • Posts: 185
    • View Profile
    • Astrophotography
Re: Annotation script
« Reply #214 on: 2012 May 30 19: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

Andres.Pozo

  • PixInsight Old Hand
  • ****
  • Posts: 393
    • View Profile
Re: Annotation script
« Reply #215 on: 2012 May 30 19: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

Geoff

  • PixInsight Addict
  • ***
  • Posts: 260
    • View Profile
Re: Annotation script
« Reply #216 on: 2012 May 31 04: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

Andres.Pozo

  • PixInsight Old Hand
  • ****
  • Posts: 393
    • View Profile
Re: Annotation script
« Reply #217 on: 2012 May 31 08: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.

Geoff

  • PixInsight Addict
  • ***
  • Posts: 260
    • View Profile
Re: Annotation script
« Reply #218 on: 2012 May 31 09:32:17 »
OK
That works.  Thanks Andres.

oldwexi

  • PixInsight Addict
  • ***
  • Posts: 165
    • View Profile
    • Astronomy Pages G.W.
Re: Annotation script
« Reply #219 on: 2012 May 31 12: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

mschuster

  • PixInsight Old Hand
  • ****
  • Posts: 325
    • View Profile
Re: Annotation script
« Reply #220 on: 2012 June 01 21: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

Andres.Pozo

  • PixInsight Old Hand
  • ****
  • Posts: 393
    • View Profile
Re: Annotation script
« Reply #221 on: 2012 June 01 22: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.

mschuster

  • PixInsight Old Hand
  • ****
  • Posts: 325
    • View Profile
Re: Annotation script
« Reply #222 on: 2012 June 01 23: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?

Andres.Pozo

  • PixInsight Old Hand
  • ****
  • Posts: 393
    • View Profile
Re: Annotation script
« Reply #223 on: 2012 June 14 16: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.

mschuster

  • PixInsight Old Hand
  • ****
  • Posts: 325
    • View Profile
Re: Annotation script
« Reply #224 on: 2012 June 14 17: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