36 lines
591 B
C++
36 lines
591 B
C++
#ifndef MYLIB_H
|
|
#define MYLIB_H
|
|
|
|
#define SIZE_I 960
|
|
#define SIZE_J 1280
|
|
#define BLOCK_SIZE 16
|
|
|
|
#include "opencv2/opencv.hpp"
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <math.h>
|
|
#include <iostream>
|
|
|
|
using namespace std;
|
|
|
|
using namespace cv;
|
|
|
|
//---------------------get_frame---------------------
|
|
|
|
Mat get_frame(Mat frame);
|
|
|
|
//---------------------noirBlanc------------------
|
|
|
|
Mat noirBlanc(Mat frame);
|
|
|
|
//---------------------seuillage------------------
|
|
|
|
Mat seuillage(Mat frame);
|
|
|
|
//---------------------contour--------------------
|
|
|
|
Mat contour(Mat frame);
|
|
|
|
|
|
#endif
|