M2_SETI/A4/TP_GPU-master/TP5_computer-vision/mylib.h

37 lines
591 B
C
Raw Permalink Normal View History

2022-12-09 09:03:22 +01:00
#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