constellation overlay adjustment using a good reference image #3462
Replies: 8 comments 15 replies
-
@morrowwm, not ignoring you, just have been busy. |
Beta Was this translation helpful? Give feedback.
-
@morrowwm, If you can think of better wording for the first part, please do so. here's a brain dump of what it's supposed to say is (I'm in a hurry so don't have time to think much):
Probably should have a picture of the three cases above. I'll have to think about your final question. My gut says the software doesn't care where the cameras is pointing, although not pointing straight up will probably introduce funky distortions which will make it harder to align things. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@morrowwm, I like what you are doing. In the prior Allsky version I was very hesitant to make any changes to virtualsky, but I noticed it didn't appear to be supported so in the current release I made more changes, although I added comments with |
Beta Was this translation helpful? Give feedback.
-
Any progress on this? I just spent 2 hours trying to align the overlay and it's still not great, a tool for alignment would be an absolute dream |
Beta Was this translation helpful? Give feedback.
-
@morrowwm,
I can't think of any for a typical allsky lens with a 120 degree or wider FOV. I'll look at you site in the next day or two. |
Beta Was this translation helpful? Give feedback.
-
LOL, should I use this? https://www.npmjs.com/package/nudged
I think I'll get the manual method more polished first. The way this is headed, we may want to modify the way allsky draws the overlay. I'll wait until I get there. |
Beta Was this translation helpful? Give feedback.
-
I would appreciate it if a couple of people could test out https://github.com/morrowwm/allsky-aligner with their setup. It picks up your latitude, longitude from allsky's configuration.json plus some other constellation overlay settings. So there is minimal configuration required. The README.md of the above repository intends to explain how to install it. Please save a copy of your baseline virtualsky.js! My explanation on how to get the test image loaded are not lucid. This only handles "projection": "fisheye" so far. If you want to test and use "projection": "polar", let me know and I will implement that. |
Beta Was this translation helpful? Give feedback.
-
I've been thinking of a new way to align the constellations. Could you give some advice on whether this will work or not?
The attached zip file contains a primitive html file which loads the included image and overlays it with a virtualsky starmap for the same time and my location. The two files should be written to your allsky/html/allsky directory, so they pickup the virtualsky.js library.
The image is from my camera, and shows a real nice view of the Big Dipper, Polaris and some other bright stars.
My thought is to add some GUI controls to adjust the overlay (rotation, panning, scaling) until is matches the underlying image. virtualsky supports rotation using the mouse or keyboard shortcuts, but not scaling without callback to the server.
The resulting adjustments after the overlay is aligned should be convertible to allsky's setting to align the constellation overlay, and should be faster than the current trial and error approach.
My javascript skills are pretty limited, so feel free to hijack this idea. :)
constellation_experiment.zip
Beta Was this translation helpful? Give feedback.
All reactions