How could I get star positions out of a celestia image

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Machete
Posts: 9
Joined: 16.11.2007
With us: 17 years
Location: Turin, Italy

How could I get star positions out of a celestia image

Post #1by Machete » 03.12.2007, 20:06

I guess since you guys of this subforum know well the core of this fine application, you might be able to help me...

I'm trying to make a star tracker. I'm in an early stage, and I was trying to use celestia as a simulator for the software I was writing.

I'm trying to get the information for each star I get in an image, that is a "local" right ascension and declination respect to the center of the camera plane.

I'm using the Harvard Bright Star Catalog to check the accuracy of the data I get, calculating real angles between stars and comparing them to the results of the program.

So far every model I've used to get unitary vectors pointing to each star has failed. First I applied a pixel/degree ratio based on the FOV celestia gives, and then tried to calculate the focal length based on the FOV and the size of the image to get the angle of the star, but I get very different results when compared to the star catalogue.

Does anybody know a formula I can use to get these vectors? I'd be greatly thankful.

Return to “Development”