digiKam
imagequalityparser.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 25/08/2013
7  * Description : Image Quality Parser
8  *
9  * Copyright (C) 2013-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2013-2014 by Gowtham Ashok <gwty93 at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option)
16  * any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_IMAGE_QUALITY_PARSER_H
26 #define DIGIKAM_IMAGE_QUALITY_PARSER_H
27 
28 // Local includes
29 
30 #include "dimg.h"
31 #include "digikam_export.h"
32 #include "digikam_globals.h"
33 #include "imagequalitycontainer.h"
34 #include "digikam_opencv.h"
35 
36 namespace Digikam
37 {
38 
39 class DIGIKAM_EXPORT ImageQualityParser : public QObject
40 {
41  Q_OBJECT
42 
43 public:
44 
48  explicit ImageQualityParser(const DImg& image,
49  const ImageQualityContainer& settings,
50  PickLabel* const label);
52 
56  void startAnalyse();
57  void cancelAnalyse();
58 
59 private:
60 
61  // Disable
62  ImageQualityParser(const ImageQualityParser&) = delete;
63  ImageQualityParser& operator=(const ImageQualityParser&) = delete;
64 
65 private:
66 
67  class Private;
68  Private* const d;
69 };
70 
71 } // namespace Digikam
72 
73 #endif // DIGIKAM_IMAGE_QUALITY_PARSER_H
Definition: dimg.h:62
Definition: imagequalitycontainer.h:39
Definition: imagequalityparser_p.h:61
Definition: imagequalityparser.h:40
Definition: datefolderview.cpp:43
PickLabel
Definition: digikam_globals.h:122