--
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.
To view this discussion visit https://groups.google.com/d/msgid/astrometry/37de2137-ed25-4dbc-8755-d2fd1cbdb7fdn%40googlegroups.com.
Hi dustin,
I am not including the cos(Dec) term in my RA computation to calculate the longitude.
I calculate the longitude by using this formula: lon_est = RA - GST
Do you think I have to use cos(Dec) like this: lon_est = (RA - GST) / cos(Dec)
because the longitude lines get closer together when I move toward the pole?
To view this discussion visit https://groups.google.com/d/msgid/astrometry/a6d65afa-d13c-4af3-b2c4-9dde70f5b54en%40googlegroups.com.
Thank you for your support. Our discussions have helped me a lot in developing my algorithm during the simulation stage.
I am now working on testing it in the real world. If I have any questions, I will be happy to ask you.
Astronomical navigation is a very useful tool.
Thanks again for your help.
Hi Dustin,
Could you please provide any documents that explain how astrometry works as an algorithm? I’m currently using astrometry in my project and need to present it, including how it detects stars and how it performs under cloudy conditions.
If you have any useful resources, I would really appreciate you sharing them with me.
thanks
To view this discussion visit https://groups.google.com/d/msgid/astrometry/193191b3-5c8e-484f-b0a1-1401b49cd88en%40googlegroups.com.
Hello Bubu,
I reviewed your comments, and I think you raised a very important point.
I have completed the simulation tests for my camera-based star navigation algorithm. In the current version of the algorithm, I assume that the camera is always perfectly aligned with the local zenith. Based on this assumption, after determining the right ascension (RA) and declination (DEC) from the captured star image and using the corresponding observation time, I estimate the position on Earth using:
However, I am now working on the hardware implementation, where the camera is mounted on a gimbal. I realised that, in practice, I cannot guarantee that the camera will always point exactly toward the zenith. Even a small tilt or misalignment could introduce a significant error in the estimated latitude and longitude.
For this reason, I think the attached paper, “Autonomous Positioning Utilizing Star Sensor and Inclinometer,” could be very relevant to this problem. The paper combines a star sensor with a dual-axis inclinometer to determine the local vertical direction and account for the sensor's tilt. It also considers the fixed misalignment between the star sensor and the inclinometer and introduces a calibration method to compensate for this systematic error.
My idea is to use the inclinometer measurements to determine the camera's deviation from the local zenith and then use this information to correct the star-based navigation solution. This would remove the need to assume that the camera is perfectly aligned with the zenith.
Do you have any experience with this type of approach, or would you recommend another method for compensating for the camera's deviation from the zenith?
If you're using a telescope, I think you need write the telescope pointing info (altaz) and time into the same fits header.If you're doing some integrated navigation with IMU-like modules, please refer to this paper:在2025年12月3日星期三 UTC+8 23:37:23<dstn...@gmail.com> 写道:Hi,You can try searching this group for previous posts on the topic. I think it has been covered before.To go from RA,Dec to lat/long, you need the time and probably the alt/az of the image. Nothing in the Astrometry.net package deals with time -- you would need to use something else, perhaps astropy or some other software, to do that.cheers,dustinOn Tue, Dec 2, 2025 at 8:04 PM Sharaf Z. Muhanna <muhann...@gmail.com> wrote:Hi Dustin,
I’m new to the astronomy field, and after obtaining the RA and DEC from an image, I’m unsure how to compute the latitude and longitude from them. Is it possible to use Astrometry.net for this, or would you recommend a different approach?
I would appreciate any guidance or recommendations you can share.
Thanks
--
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.
Hello Dustin
I’m currently working on the hardware setup and wanted to get your thoughts on lens calibration.
Do you think I need to build a distortion model for my lens? Would applying a lens distortion model improve the accuracy of the astrometry output when using the system in real-world conditions?
My current camera setup is:
Adding--crpix-centerwill probably help.How strong is the distortion in this lens? It might help to build a really good model of it and use the --predistort option.cheers,dustinOn Mon, Jan 26, 2026 at 11:41 AM Sharaf Mohanna <muhann...@gmail.com> wrote: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.
On Monday, December 8, 2025 at 3:47:47 PM UTC dstn...@gmail.com wrote:Hi,These are very wide-field, so if you set the "--scale-units degwidth --scale-lower 30" it should run a bit faster.Or, for these wide-field images, you will not need very many index files to work well -- the "4100-series" should work great -- https://data.astrometry.net/4100/ . There are some instructions on how to use Docker to run locally, at https://github.com/dstndstn/astrometry.netcheers,dustin
--
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.
To view this discussion visit https://groups.google.com/d/msgid/astrometry/ec6cefd8-3f2d-4895-9aa7-e08a9b133511n%40googlegroups.com.