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 "QtCore/qobject.h"
13#include "vect.h"
14#include <QPointer>
15#include <cstdint>
16
17class FITSData;
18class Edge;
19
20// Traditional guiding functions for star detection.
21class GuideAlgorithms : public QObject
22{
23 public:
24 static QList<Edge*> detectStars(const QSharedPointer<FITSData> &imageData,
25 const QRect &trackingBox);
26
27 static GuiderUtils::Vector findLocalStarPosition(QSharedPointer<FITSData> &imageData,
28 const int algorithmIndex,
29 const int videoWidth,
30 const int videoHeight,
31 const QRect &trackingBox);
32 private:
33 template <typename T>
34 static GuiderUtils::Vector findLocalStarPosition(QSharedPointer<FITSData> &imageData,
35 const int algorithmIndex,
36 const int videoWidth,
37 const int videoHeight,
38 const QRect &trackingBox);
39};
40
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.