esa / tetra3

A fast lost-in-space plate solver for star trackers.
https://tetra3.readthedocs.io/en/latest/
Apache License 2.0
102 stars 24 forks source link

"Roll relative to north celestial pole" clarification #4

Closed bribrah closed 1 year ago

bribrah commented 1 year ago

I am a bit confused about what the roll results signify on the solve image results, it does not seem to be a standard astronomical measurement.

Thanks,

gustavmpettersson commented 1 year ago

Hi Brian,

This is the rotation of the image around the camera's optical axis (i.e. the centre of the image), so it does not signify anything regarding the pointing direction.

I haven't looked at this in a long time, but believe 0 rotation is when the "upwards" direction of the image points to the (celestial) North, with rotation measured clockwise from there.

Gustav

bribrah commented 1 year ago

When u say upwards direction of the image do you mean like upwards in the y direction of the 2d xy image? Or do you mean like up in 3d space, ie, if I have an image pointed where the middle was directly at the north celestial pole, the roll would be 0.

gustavmpettersson commented 1 year ago

Yes, upwards as in the -Y direction of the image. (Negative since the Y=0 is the first row of a 2D image). If you point perfectly at the North celestial pole the roll would be undefined.

Another way to explain it, when roll is zero, the X direction of the image points along the line of constant declination.