New Feature : Deep Sky Image Annotation

All the latest news about new features and improvements to SharpCap
Post Reply
User avatar
admin
Site Admin
Posts: 13173
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: New Feature : Deep Sky Image Annotation

#41

Post by admin »

Hi,

just to check - do you have the very latest SharpCap 4.0? The result list was only added in v 4.0.8601, not in the earlier 4.0.8564 (which did have the ability to draw the annotations on the image). I now do almost all my development and testing work in the new user interface, and haven't seen this as a problem in the latest versions.

cheers,

Robin
User avatar
admin
Site Admin
Posts: 13173
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: New Feature : Deep Sky Image Annotation

#42

Post by admin »

procyon12 wrote: Wed Jan 19, 2022 6:23 pm Hello Stefan,

In the latest OW (5.0.0.5) go to Add-ins > Configure Add-ins > OW Little Helpers (if you are missing the add-in, download it from http://www.hristopavlov.net/OccultWatc ... ddins.html, there are also hints how to install):
Clipboard06.png

and you should find:
Clipboard07.png

Make a backup copy of the current tags.
Add the tags: %StarRA% and %StarDE%
Keep %StarName%; delete all others, then you now have:
Clipboard08.png

In OW go to the event and using the right mouse button choose Copy info to Clipboard.

Cheers, Christian
Christian,

could you set the tags like this?

Code: Select all

%StarName%|Occulted by %AsteroidName% at %EventTime%|Occultation|%StarRA%|%StarDE%|%CombinedMagnitude%|||
That basically matches the SharpCap CSV format (except for the format of the RA and Dec co-ordinates). I can make the parsing of the co-ordinates capable of dealing with that, and add an 'add objects from clipboard' button, and we should be good :)

cheers,

Robin
procyon12
Posts: 253
Joined: Tue Jan 14, 2020 11:32 am

Re: New Feature : Deep Sky Image Annotation

#43

Post by procyon12 »

Very nice, Robin ;)

All the tags should work.

Christian
roelb
Posts: 214
Joined: Wed Mar 08, 2017 11:36 pm

Re: New Feature : Deep Sky Image Annotation

#44

Post by roelb »

re. When using the new interface, the Deep Sky Annotation Results List is not displayed.

I have the version 4.0.8604 installed, both 32 bit and 64 bit versions under Windows 11 have this behavior.
My laptop screen is a 16" with 2560 x 1600 pix.
This is not a very common dimension.
So that can be the cause of this issue.

Did the test on my desktop with Windows 10 installed and bigger screen.
And that worked fine.

I've found the following solution:
At the Program Shortcut properties
< Compatibility
< Change high DPI settings
< High DPI settings for SharpCap.exe
< Ignore high DPI scalability behavior
< Scaling performed by:
System

Hope this helps.
Roel
Celestron Nexstar Evolution 8 - Celestron Nexstar 6 SE - StarSense
ZWO ASI533MC-Pro -- ZWO ASI533MM-Pro
roelb
Posts: 214
Joined: Wed Mar 08, 2017 11:36 pm

Re: New Feature : Deep Sky Image Annotation

#45

Post by roelb »

OK another issue.
On some computers the program crashes when trying to save the image with annotations.
On my laptop (Windows 11 Pro): OK
On my two mini PC's (Windows 10 Pro) : crash
I have included the log file and the crash report
Attachments
ArgumentException at System.Drawing.Bitmap(string filename)_#61037.error.zip
(21.11 KiB) Downloaded 80 times
Log_2022-01-22T23_35_31-6484.log
(56.51 KiB) Downloaded 88 times
Roel
Celestron Nexstar Evolution 8 - Celestron Nexstar 6 SE - StarSense
ZWO ASI533MC-Pro -- ZWO ASI533MM-Pro
procyon12
Posts: 253
Joined: Tue Jan 14, 2020 11:32 am

Re: New Feature : Deep Sky Image Annotation

#46

Post by procyon12 »

I think it will be fixed soon, see posts #24, #31, #32.

Christian
User avatar
admin
Site Admin
Posts: 13173
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: New Feature : Deep Sky Image Annotation

#47

Post by admin »

Hi Roel,

the list should display just over the bottom right corner of the main window (largely out of the way of the image). Maybe the calculations are going wrong for your monitor setup. I will re-check them.

The crash is because SharpCap is (wrongly) saving the first version of the annotated image in FITS format. It then tries to load it back (thinking it is a PNG) to draw on the annotations, but the FITS file is not a PNG... I have a fix, will release an update tomorrow.

cheers,

Robin
User avatar
admin
Site Admin
Posts: 13173
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: New Feature : Deep Sky Image Annotation

#48

Post by admin »

Hi folks,

todays update contains a number of fixes and improvements for this feature, including :

* You can turn on/off the display of various info on the image
* Fix of annotated image save (will no longer try to save in FITS, all annotated images will be PNG)
* Ability to paste new catalog entries from the clipboard (SharpCap Pro only).
* Co-ordinates can be in HH:MM:SS DD:MM:SS form in custom catalogs and when pasted from the clipboard -ie

Code: Select all

MY ID|My Target Name|Star cluster + Nebula|11h 18m 07s|+04° 16' 07.6"|4|90|60|
MY ID|My Target Name|Star cluster + Nebula|11 18 07 04 16 07.6||4|90|60|
MY ID|My Target Name|Star cluster + Nebula||11:18:07 04:16:07.6|4|90|60|
Note that the RA and Dec fields now can either
* Have the RA in the RA field and the Dec in the Dec field
or
* Have both the RA and the Dec in either of the fields - remember that the second '|' divider must still be present either before or after the co-ordinates.

The 'fluff' around the co-ordinates 'h', 'm', 's', ':', '°', etc are not important. They can either be there or not. The components *must* be separated by something though - either spaces or colons, etc. The RA must come first.

cheers,

Robin
procyon12
Posts: 253
Joined: Tue Jan 14, 2020 11:32 am

Re: New Feature : Deep Sky Image Annotation

#49

Post by procyon12 »

Hi,

Many thanks, Robin, for your amazing work 8-)

I could make some tests with the 4.0.8629 32bit PRO version under W7-64 simulating (no sky here, using CDC) a real upcoming occultation https://cloud.occultwatcher.net/event/4 ... 351-H51187

The code derived from OccultWatcher to copy into the clipboard (nice: no more RA/DEC decimal conversion required):

Code: Select all

HIP 51187|Occulted by (4490) Bambery|Occultation|10h 27m 22s +21° 36' 55.4"||||
Load the image from CDC into the deep sky cam, platesolve:
Clipboard05.png
Clipboard05.png (55.52 KiB) Viewed 4074 times
Copy the code above and push "Paste Custom Object Info" (working at runtime):
Clipboard19.png
Clipboard19.png (85.73 KiB) Viewed 4074 times

Saving the annotated image works without any problems,
the various settings also work:
Clipboard17_1.png
Clipboard17_1.png (28.61 KiB) Viewed 4074 times

If the target is not yet in the scope's FOV there will be a hint:
(@Robin: what is the criterion in deg?)
mvd_.png
mvd_.png (71.93 KiB) Viewed 4060 times

I'll make some further tests next day. (And sorry for the long post - I wanted to show the power of the new annotation feature.)

Cheers, Christian
User avatar
admin
Site Admin
Posts: 13173
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: New Feature : Deep Sky Image Annotation

#50

Post by admin »

Hi Christian,

thanks for the feedback - glad it is all working nicely. I still have a 'todo' on making the options of selected object types/catalogs/information get saved and restored when you next run SharpCap, but other than that I think the feature is now close to complete.

The criteria for 'nearby' is to be within one camera field of view in any direction (including diagonal). Imagine a 3x3 grid of boxes each being the size of the current FOV of the camera, with the current FOV being the middle one of 9. Any objects in the other 8 show up as 'nearby'.

cheers,

Robin
Post Reply