Initial stellarsolver implementation

This commit is contained in:
2024-09-17 23:05:27 +02:00
parent 30960033c5
commit da79197376
11 changed files with 182 additions and 35 deletions
+22
View File
@@ -0,0 +1,22 @@
#ifndef SOLVER_H
#define SOLVER_H
#include <stellarsolver.h>
class Solver : public QObject
{
Q_OBJECT
std::unique_ptr<StellarSolver> _solver;
FITSImage::Statistic _stats;
QString _path;
QString _error;
public:
explicit Solver(QObject *parent = nullptr);
~Solver();
bool solveImage(const QString &path);
FITSImage::Solution getSolution() const;
QString errorMessage() const;
void updateHeader();
};
#endif // SOLVER_H