-
Notifications
You must be signed in to change notification settings - Fork 0
/
Effects.h
34 lines (19 loc) · 954 Bytes
/
Effects.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef EFFECTS_H
#define EFFECTS_H
#include "ConvertImage.h"
class Effects
{
public:
Effects() = default;
static cv::Mat MakeNoiseMap(cv::Mat img);
static void MakeBrightnessEffect(cv::Mat &imgAfter, cv::Mat imgBefore, int value);
static void MakeContrastEffect(cv::Mat &imgAfter, cv::Mat imgBefore, int value);
static void MakeExposureEffect(cv::Mat &imgAfter, cv::Mat imgBefore, int value);
static void MakeHueEffect(cv::Mat &imgAfter, cv::Mat imgBefore, int value);
static void MakeSaturationEffect(cv::Mat &imgAfter, cv::Mat imgBefore, int value);
static void MakeLightnessEffect(cv::Mat &imgAfter, cv::Mat imgBefore, int value);
static void MakeGrayscaleEffect(cv::Mat &imgAfter, cv::Mat imgBefore, int value);
static void MakeBlurEffect(cv::Mat &imgAfter, cv::Mat imgBefore, int value);
static void MakeNoiseEffect(cv::Mat &imgAfter, cv::Mat imgBefore, int value);
};
#endif // EFFECTS_H