DrawAnnotation: A new PixInsight script to add annotations Pleiades Astrophoto PixInsight · Mike Cranfield · ... · 24 · 1083 · 3

mike1485 24.46
...
· 
·  19 likes
·  Share link
Sometimes you want to produce a version of your image with an arrow pointing to something of interest, perhaps a supernova, an asteroid, or an artefact that you would like help removing. You may also wish to add some free form text alongside to describe the object. Until now that is awkward to do in PixInsight and I tend to resort to loading the image into a different program to do this. So, I have put together this new script called DrawAnnotation. It has a preview facility and allows you to define an arrow and text and place these with mouse clicks. An illustration of the interface is included below. To get the script just add the following to your repository list: https://www.cosmicphotons.com/pi-scripts/drawannotation/. The script will install into the Script>Render menu. Please let me know any feedback or if you find any bugs.

CS, Mike
DrawAnnotationSmall.jpg
Like
si-cho
...
· 
·  1 like
·  Share link
Thanks a lot, I use to do this using GIMP, but it requires to go there, an doing it now from PxI will certainly be nice.
Cheers and CS!
Like
Elmiko 10.75
...
· 
·  Share link
Access denied when I click on your link?
Like
umasscrew39 13.55
...
· 
·  2 likes
·  Share link
Mike- I just tried it and it works.  Copied and pasted the link into repository and then click on updates.  Then, reboot PI.  

Mike C- very nice! Thx
Like
mike1485 24.46
Topic starter
...
· 
·  1 like
·  Share link
Elmiko:
Access denied when I click on your link?

You need to copy the link into your repositories list in PixInsight (Resources>Manage Repositories). Then click on check for updates in the resources menu and it should find the script. You then need to restart PixInsight to install.
Like
Elmiko 10.75
...
· 
·  Share link
Thanks Bruce and Mike. I will give it another try.
Like
Elmiko 10.75
...
· 
·  Share link
for some reason I get a pop up that says repository error.. I wonder if I need the latest version of PixInsight?
Like
Elmiko 10.75
...
· 
·  Share link
Draw Annotations.jpg
Like
Elmiko 10.75
...
· 
·  Share link
Draw Annotations Shows in repository.jpg.png
Like
Elmiko 10.75
...
· 
·  Share link
It shows up, then when I followed your directions and I get the error in the first link I showed.
Like
mike1485 24.46
Topic starter
...
· 
·  1 like
·  Share link
As set up the repository requires PI versions 1.8.9-1.  Are you on an earlier version? It will run OK on previous versions but I will need to tweak the repository to allow download.
Like
Elmiko 10.75
...
· 
·  Share link
I've got 1.8.8.8
Like
mike1485 24.46
Topic starter
...
· 
·  1 like
·  Share link
Ok - bear with me and I will adjust.
Like
Elmiko 10.75
...
· 
·  Share link
Thanks Mike. I couldn't download Starnet 2 either. Maybe it's time to update PixInsight. It's just a PIA redownloading certain Scripts.
Like
mike1485 24.46
Topic starter
...
· 
·  Share link
Elmiko:
Thanks Mike. I couldn't download Starnet 2 either. Maybe it's time to update PixInsight. It's just a PIA redownloading certain Scripts.

Hi - I have adjusted the repository.  I am not running any pre-V1.8.9-1 Pi installations now so I have not actually tested it is working.  Would you be kind enough to let me know if it works ok for you?  Thanks.
Like
Elmiko 10.75
...
· 
·  Share link
Hey mike, It works! Thanks so much for your help with this! It's a cool script! Great work my friend. Now I have to figure out how to change the dirrectio of the arrow…
Like
mike1485 24.46
Topic starter
...
· 
·  Share link
Elmiko:
Hey mike, It works! Thanks so much for your help with this! It's a cool script! Great work my friend. Now I have to figure out how to change the dirrectio of the arrow...

Excellent, thanks for letting me know.  The direction parameter rotates the arrow through the specified number of degrees!
Like
SeanBoon 0.00
...
· 
·  Share link
It worked for me.  Thanks! I had just downloaded a Paint.NET to do this for the M101 supernova, so this will come in super handy.
Like
mike1485 24.46
Topic starter
...
· 
·  2 likes
·  Share link
I have today released a new version of the DrawAnnotation script adding the ability to add a circle around your point of interest.  This will be downloaded the next time you start up PixInsight provided you have the repository url: https://www.cosmicphotons.com/pi-scripts/drawannotation/ added to your repository list.  Enjoy!

CS, Mike
Like
BenKolt 1.20
...
· 
·  2 likes
·  Share link
Mike Cranfield:
I have today released a new version of the DrawAnnotation script adding the ability to add a circle around your point of interest.  This will be downloaded the next time you start up PixInsight provided you have the repository url: https://www.cosmicphotons.com/pi-scripts/drawannotation/ added to your repository list.  Enjoy!

CS, Mike

Mike:

Thanks so much for building this script and updating it.  I just downloaded it this morning and tested it out.  Very nice!  I've been hoping somebody would put something like this together from within PI.

As a test, here's an unprocessed image I'm presently working on, luminance only.  I understand that I would need to first convert a mono image to RGB, then I could annotate with colors.  This sufficed for my first test of your script:

NGC5982_L_177-01-04_1x1_0300s_20230603_-15C.v002E_ANNOTATE_TEMP.jpg
Like
Bluestar 0.00
...
· 
·  Share link
Hi,

I can not see the image in the the preview window when using the DrawAnnotation script. It is always is black. Help please!

Stig
Like
mike1485 24.46
Topic starter
...
· 
·  Share link
Hi,

I can not see the image in the the preview window when using the DrawAnnotation script. It is always is black. Help please!

Stig

Is your image still in its linear, unstretched, state? I have made the assumption that annotation would be a final stage in image processing and hence images will be stretched - hence there is no STF facility within the script.
Like
amv8vantage 0.00
...
· 
·  Share link
Hi,

I have it installed via the repository, but I am stuck at version 1.12 . I believe current version is 1.8?

Any idea what I can do to get it updated?

Have build 1612 of PI (June 2024).


/Sven
Like
mike1485 24.46
Topic starter
...
· 
·  1 like
·  Share link
Sven Eklund:
Hi,

I have it installed via the repository, but I am stuck at version 1.12 . I believe current version is 1.8?

Any idea what I can do to get it updated?

Have build 1612 of PI (June 2024).


/Sven

Hi Sven

I can confirm that the version you have, ie 1.12, is the latest version. My numbering goes - ... 1.8, 1.9, 1.10, 1.11, 1.12 etc

CS, Mike
Like
amv8vantage 0.00
...
· 
·  Share link
Ah, ok! Thanks!!

/Sven
Like
 
Register or login to create to post a reply.