Kstars

guidealgorithms.h
1/* Ekos guide algorithms
2 Copyright (C) 2012 Andrew Stepanenko
3
4 Modified by Jasem Mutlaq for KStars.
5 SPDX-FileCopyrightText: Jasem Mutlaq <mutlaqja@ikarustech.com>
6
7 SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10#pragma once
11
12#include "vect.h"
13#include <QPointer>
14#include <cstdint>
15
16class FITSData;
17class Edge;
18
19// Traditional guiding functions for star detection.
20class GuideAlgorithms : public QObject
21{
22 public:
23 static QList<Edge*> detectStars(const QSharedPointer<FITSData> &imageData,
24 const QRect &trackingBox);
25
26 static GuiderUtils::Vector findLocalStarPosition(QSharedPointer<FITSData> &imageData,
27 const int algorithmIndex,
28 const int videoWidth,
29 const int videoHeight,
30 const QRect &trackingBox);
31 private:
32 template <typename T>
33 static GuiderUtils::Vector findLocalStarPosition(QSharedPointer<FITSData> &imageData,
34 const int algorithmIndex,
35 const int videoWidth,
36 const int videoHeight,
37 const QRect &trackingBox);
38};
39
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:48:26 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.