--
You received this message because you are subscribed to the Google Groups "astrometry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astrometry+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/astrometry/9e422448-7d26-4f0f-b771-4c19f50f1c58n%40googlegroups.com.
Hi Dustin,
I’m using the API to calculate the RA/DEC for about 3,000 images, but the process is very slow. How can I use your solution to speed up the calculations? Do you have any recommendations?
To view this discussion visit https://groups.google.com/d/msgid/astrometry/998bd9cf-6858-44c2-b663-b7da38fd2659n%40googlegroups.com.
I have a project where I estimate an Earth location (latitude and longitude) from star images. I started with a simulation and built a Unity environment that generates a realistic sky with correct star motion over time. The simulator also provides ground-truth latitude and longitude.
In this setup, I use a moving camera with a 50° vertical FOV and 73.74° horizontal FOV. I developed an astronomy-based pipeline that uses the astrometry.net 4100 index series to solve each image and extract the RA/DEC. Then, using RA/DEC together with the UTC timestamp, I estimate the camera’s latitude and longitude.
Main solve-field settings:
--downsample 2
--scale-units degwidth with --scale-low 75 and --scale-high 110
--objs 200
--cpulimit 180
After processing around 640 sky images and comparing the estimates with the ground truth, I obtained an error of about RMSE = 72,999.03 m (as shown in the plot). I also attached some sample simulation images.
I’d appreciate advice on improving accuracy. Should I reduce the FOV, or would you recommend using a different index/catalog? Which parameters or steps in my pipeline are most likely causing the large error, and what changes would you suggest to reduce it?
Finally, I can share the CSV output from my algorithm, which includes the extracted RA/DEC, the estimated latitude/longitude, and the corresponding ground-truth values.
--
You received this message because you are subscribed to the Google Groups "astrometry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astrometry+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/astrometry/59e467a0-c2bd-470e-bb2c-8fa5d491e7ebn%40googlegroups.com.
Hi Dustin,
Thanks for your response and sorry in advance, I’m still new to Astrometry.net and I’m not fully confident I’m using it correctly, so I’d really appreciate your guidance.
As I mentioned, I installed Astrometry.net locally and I have about 637 images that I need to solve offline. I’m using the 4100-series index files (the ones you recommended): https://data.astrometry.net/4100/.
I have a script to run solve-field. My camera FOV is about 50° vertical and 95° horizontal, and I’m currently using these arguments:
My issue is that the local solutions sometimes differ from the Astrometry.net website output for the same image, the websit more accurate. Since I use the solved RA/Dec to compute longitude/latitude, even a small RA/Dec difference can lead to a very bad location result.
Could you please advise on:
How can I make the local solve output match the website output as closely as possible?
Are there any specific flags, index files, or solver settings that the website uses that I should replicate locally?
I’m extracting RA/Dec from the local astrometry output using my own code.
Could you please check my approach and tell me if I’m doing it correctly?
I attached the code I’m using to compute RA/Dec — if you already have a reference script that does the same thing reliably, I’d really appreciate it if you could share it.
My camera is always aligned toward the zenith, but I’m capturing images on a boat so the camera orientation changes due to ocean waves.
Does the camera orientation (roll/pitch) affect the RA/Dec output, or should RA/Dec remain correct as long as the field is solved?
Thanks again for your help, I really appreciate it.
Best regards,
To view this discussion visit https://groups.google.com/d/msgid/astrometry/b05e5f97-ef4e-4a7f-980e-4a00dfffeadcn%40googlegroups.com.
Hi Dustin,
Thanks for your help.
Website settings
I used the default Astrometry.net website settings to solve for RA/Dec and didn’t change any parameters.
I’ve attached a screenshot of the settings page just for clarity.
Why I think the local result than differant
I reached this conclusion by directly comparing the RA/Dec centre values from the website with those from my local Astrometry.net pipeline for the same images. As you can see in the attached table, there are noticeable differences between the two results for several images.
For example:
skybox_62.png shows a large difference in both RA and Dec between the website and local solutions.
skybox_72.png fails on the website, but it is solved successfully when I run it locally.
skybox_248.png and skybox_605.png also show clear differences in Dec between the two approaches.
I’ve attached the comparison images for your consideration.
Best regards,
To view this discussion visit https://groups.google.com/d/msgid/astrometry/ecb6a69b-a5f9-4771-872e-675cf635ce67n%40googlegroups.com.
I ran the solver locally using the 4100-series index files and obtained a valid solution with the following command:
I then extracted the RA and Dec from the resulting .new file using this Python code:
"python3 << EOF
This gives:
RA: 357.538207°
Dec: 0.500619°
However, when solving the same image using the Astrometry.net website, I obtain:
Center (RA, Dec): (357.481°, 0.561°)
https://nova.astrometry.net/user_images/14567294#annotated
I get exactly the same result as the web site
maybe I am doing something wrong please I need your help
My camera is always aligned toward the zenith, but I’m capturing images on a boat so the camera orientation changes due to ocean waves.
Does the camera orientation (roll/pitch) affect the RA/Dec output, or should RA/Dec remain correct as long as the field is solved?
Hi Dustin,
Thank you very much for your explanation and continued support, it was very helpful.
I would really appreciate your advice on how best to improve the accuracy of my algorithm and simulation. Based on your comment, my understanding is that the current limitation is mainly due to the angular resolution (arcseconds per pixel).what you recommend me to do? Would you recommend narrowing the camera field of view in the simulation to improve accuracy? This is something I can easily change in simulation( Unity).
You previously mentioned:
“How strong is the distortion in this lens? It might help to build a really good model of it and use the --predistort option.”
After investigating my Unity setup, I found that lens distortion is disabled in the simulation. I have attached an example image from the simulation for clarification.
Following your earlier guidance, I added the --crpix-center option and removed the --objs 200 constraint from my pipeline. This significantly improved the results: the main geolocation error distribution is now around 1–1.5 km, compared to about 30 km previously. I have attached a figure showing the 2D horizontal position error.
As you can see, there is still a consistent bias in the estimated position. I believe this may be correctable, and I would greatly value your opinion on the likely source of this bias.
Thank you again for your time and guidance.
Best regards,
Sharaf
To view this discussion visit https://groups.google.com/d/msgid/astrometry/046b5233-bcc3-428f-af9c-da18181dd7bdn%40googlegroups.com.