-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtraitement.h
More file actions
38 lines (32 loc) · 1 KB
/
Copy pathtraitement.h
File metadata and controls
38 lines (32 loc) · 1 KB
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
38
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include "lib_gtk.h"
#include "struct.h"
#ifndef _TRAITEMENT_H
#define _TRAITEMENT_H
int get_xr();
int get_yr();
int get_xb();
int get_yb();
int get_xv();
int get_yv();
void setRecoRed(char* str);
char* getRecoRed();
void setRecoGreen(char* str);
char* getRecoGreen();
void setRecoBlue(char* str);
char* getRecoBlue();
char * get_pattern_reco();
IplImage* RGBtoHSV(const IplImage *imageRGB);
void setHSV(int h, int s, int v, int c);
void set_color(IplImage *image, unsigned char* data);
void filtre_carre(IplImage *img);
void filtre_forme(IplImage *image);
IplImage * traitement(CvCapture* capture, GdkEventKey* key);
void for_gtk(IplImage *image);
CvPoint binarisation(IplImage* image, IplImage* hsv, int *nbPixels);
void addObjectToVideo(IplImage* image, CvPoint objectNextPos, int nbPixels, int fd, int a, int cint);
void getObjectColor(int event, int x, int y, int flags, void *param);
#endif