-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathHeaders.h
37 lines (25 loc) · 848 Bytes
/
Headers.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
35
36
37
#include <opencv2/core.hpp>
#include <opencv2/videoio.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/imgcodecs.hpp>
#include <iostream>
#include <cstdlib>
#include <bitset>
using namespace std;
using namespace cv;
Mat EmbedWatermark(Mat& original_img, Mat& barcode); // embed
void ExtractWatermark(Mat& marked_img); // extract
Mat Embed(Mat& original_img, Mat& barcode);
float Embed_CRT(int dc, int value);
void Extract(Mat& Marked_Image);
float Extract_CRT(Mat blocks);
void WT(Mat& img, Mat& dst, int NIter);
void IWT(Mat& dst, Mat& idst, int NIter);
void getPSNR(Mat& Marked_Img);
void getNCC();
float geStdDevValues(Mat& src);
// SVD
void calculate_SVD(Mat& src, Mat& U, Mat& S, Mat& V);
//Salt&Pepper
void SaltandPepper(Mat& img, double noise_ratio);