25 #ifndef DIGIKAM_BLUR_DETECTOR_H
26 #define DIGIKAM_BLUR_DETECTOR_H
31 #include "digikam_opencv.h"
46 float detect(
const cv::Mat& image)
const override;
50 cv::Mat edgeDetection(
const cv::Mat& image)
const;
51 cv::Mat detectDefocusMap(
const cv::Mat& edgesMap)
const;
52 cv::Mat detectMotionBlurMap(
const cv::Mat& edgesMap)
const;
53 bool isMotionBlur(
const cv::Mat& frag)
const;
55 bool haveFocusRegion(
const DImg& image)
const;
56 cv::Mat detectBackgroundRegion(
const cv::Mat& image)
const;
57 cv::Mat getWeightMap(
const cv::Mat& image)
const;
Definition: blur_detector.h:38
~BlurDetector()
Definition: blur_detector.cpp:94
float detect(const cv::Mat &image) const override
Definition: blur_detector.cpp:99
BlurDetector(const DImg &image)
Definition: blur_detector.cpp:84
Definition: detector.h:41
Definition: datefolderview.cpp:43