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);        
  128        void processNewImage(const QSharedPointer<SequenceJob> &job, const QSharedPointer<FITSData> &data);
  148        ////////////////////////////////////////////////////////////////////////////////////////////////
  150        ////////////////////////////////////////////////////////////////////////////////////////////////
  158         * @brief generateDarkJobs Check the user frame parameters in the Darks tab and generate the corresponding
  169         * @brief generateMasterFrameHelper Calls templated generateMasterFrame with the correct data type.
  176         * @brief generateMasterFrame After data aggregation is done, the selected stacking algorithm is applied and the master dark
  178         * @param data last used data. This is not used for reading, but to simply apply the algorithm to the FITSData buffer
  182        template <typename T>  void generateMasterFrameInternal(const QSharedPointer<FITSData> &data, const QJsonObject &metadata);
  191         * @brief aggregate Aggregate the data as per the selected algorithm. Each time a new dark frame is received, this function
  198         * @brief cacheDarkFrameFromFile Load dark frame from disk and saves it in the local dark frames cache
  205        ////////////////////////////////////////////////////////////////////////////////////////////////
  207        ////////////////////////////////////////////////////////////////////////////////////////////////
  214        ////////////////////////////////////////////////////////////////////////////////////////////////
  216        ////////////////////////////////////////////////////////////////////////////////////////////////
  219        ////////////////////////////////////////////////////////////////////////////////////////////////
  221        ////////////////////////////////////////////////////////////////////////////////////////////////
  225        ////////////////////////////////////////////////////////////////////////////////////////////////
  227        ////////////////////////////////////////////////////////////////////////////////////////////////
  232         * @brief cacheDefectMapFromFile Load defect map from disk and saves it in the local defect maps cache
  257         * @brief syncSettings When checkboxes, comboboxes, or spin boxes are updated, save their values in the
  277        ////////////////////////////////////////////////////////////////////////////////////////////////
QJsonObject getDefectSettings()
getDefectSettings Return Defect Map settings
Definition darklibrary.cpp:2013
bool findDefectMap(ISD::CameraChip *targetChip, double duration, QSharedPointer< DefectMap > &defectMap)
findDefectMap Search for a defect map that matches the passed paramters.
Definition darklibrary.cpp:353
bool findDarkFrame(ISD::CameraChip *targetChip, double duration, QSharedPointer< FITSData > &darkData)
findDarkFrame Search for a dark frame that matches the passed paramters.
Definition darklibrary.cpp:214
QDialog(QWidget *parent, Qt::WindowFlags f)
Q_OBJECTQ_OBJECT
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
enabled
  This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 12:02:37 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
          Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 12:02:37 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.