Kstars
darklibrary.h
31 * @short Handles acquisition & loading of dark frames and defect map for cameras. If a suitable dark frame exists,
36 * The user can generate dark frames from an average combination of the camera dark frames. By default, 5 dark frames
37 * are captured to merged into a single master frame. Frame duration, binning, and temperature are all configurable.
38 * If the user select "Dark" in any of the Ekos module, Dark Library can be queried if a suitable dark frame exists given
39 * the current camera settings (binning, temperature..etc). If a suitable frame exists, it is loaded up and send to /class DarkProcessor
44 * Some CMOS cameras exhibit hot pixels that are better treated with a defect map. A defect map is a collection of "bad" pixels that
45 * are above or below certain threshold controlled by the user. This should isolate the cold and hotpixels in frames so that they are
46 * removed from the light frames once the defect map is applied against it. This is done using 3x3 median filter over the bad pixels.
63 * @param darkData If a frame is found, load it from disk and store it in a shared FITSData pointer.
66 bool findDarkFrame(ISD::CameraChip *targetChip, double duration, QSharedPointer<FITSData> &darkData);
72 * @param defectMap If a frame is found, load it from disk and store it in a shared DefectMap pointer.
75 bool findDefectMap(ISD::CameraChip *targetChip, double duration, QSharedPointer<DefectMap> &defectMap);
139 ////////////////////////////////////////////////////////////////////////////////////////////////
141 ////////////////////////////////////////////////////////////////////////////////////////////////
149 * @brief generateDarkJobs Check the user frame parameters in the Darks tab and generate the corresponding
160 * @brief generateMasterFrameHelper Calls templated generateMasterFrame with the correct data type.
167 * @brief generateMasterFrame After data aggregation is done, the selected stacking algorithm is applied and the master dark
169 * @param data last used data. This is not used for reading, but to simply apply the algorithm to the FITSData buffer
173 template <typename T> void generateMasterFrameInternal(const QSharedPointer<FITSData> &data, const QJsonObject &metadata);
182 * @brief aggregate Aggregate the data as per the selected algorithm. Each time a new dark frame is received, this function
189 * @brief cacheDarkFrameFromFile Load dark frame from disk and saves it in the local dark frames cache
196 ////////////////////////////////////////////////////////////////////////////////////////////////
198 ////////////////////////////////////////////////////////////////////////////////////////////////
205 ////////////////////////////////////////////////////////////////////////////////////////////////
207 ////////////////////////////////////////////////////////////////////////////////////////////////
210 ////////////////////////////////////////////////////////////////////////////////////////////////
212 ////////////////////////////////////////////////////////////////////////////////////////////////
217 * @brief cacheDefectMapFromFile Load defect map from disk and saves it in the local defect maps cache
224 ////////////////////////////////////////////////////////////////////////////////////////////////
Q_OBJECTQ_OBJECT
Ekos is an advanced Astrophotography tool for Linux. It is based on a modular extensible framework to...
Definition: align.cpp:70
bool contains(const QString &str, Qt::CaseSensitivity cs) const const
bool cameraHasDefectMaps(const QString &name) const
cameraHasDefectMaps Check if camera has any defect maps available.
Definition: darklibrary.h:82
Definition: indicamerachip.h:22
Sequence Job is a container for the details required to capture a series of images.
Definition: sequencejob.h:18
Definition: indicamera.h:47
enabled
Captures single or sequence of images from a CCD. The capture class support capturing single or multi...
Definition: capture.h:83
bool findDarkFrame(ISD::CameraChip *targetChip, double duration, QSharedPointer< FITSData > &darkData)
findDarkFrame Search for a dark frame that matches the passed paramters.
Definition: darklibrary.cpp:246
Definition: indistd.h:115
Handles acquisition & loading of dark frames and defect map for cameras. If a suitable dark frame exi...
Definition: darklibrary.h:51
QObject * parent() const const
QString message
bool findDefectMap(ISD::CameraChip *targetChip, double duration, QSharedPointer< DefectMap > &defectMap)
findDefectMap Search for a defect map that matches the passed paramters.
Definition: darklibrary.cpp:385
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Aug 14 2022 04:13:55 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Aug 14 2022 04:13:55 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.