UWCubeSat / lost

Lost: Open-source Star Tracker
42 stars 7 forks source link

1D and 2D Least-squares Gaussian fit #94

Open zeddie888 opened 1 year ago

zeddie888 commented 1 year ago

Test how good these are before trying Gaussian Grid

zeddie888 commented 1 year ago

According to the Delabie paper:

The hybrid Gaussian Grid (for determining better initial parameters) is probably the only thing worth implementing to speed up the least-squares fit methods

markasoftware commented 1 year ago

To test in ideal conditions:

Then the pixel brightnesses will actually be generated by a Gaussian function (https://github.com/UWCubeSat/lost/blob/ddccdfc7e925fdaadf8712bf9a3f13e92cc2aba4/src/io.cpp#L435), so there's no excuse for worse performance in that case. (It is possible that there's a bug in the generator meaning that the brightness distribution isn't actually Gaussian, but so far I've seen nothing to indicate that)