Defines | Functions | Variables
snake.cpp File Reference
#include <cstdio>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <map>
#include <iostream>
#include <sstream>
#include <fstream>
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <opencv/cvaux.h>
Include dependency graph for snake.cpp:

Go to the source code of this file.

Defines

#define KEY_ESC   1048603

Functions

CvScalar hsv2rgb (float hue)
int main (int argc, char **argv)
void on_mouse (int event, int x, int y, int flags, void *param)
void sum_rgb (IplImage *src, IplImage *dst)

Variables

std::vector< CvPoint > contourPoints
int currPos = 0
IplImage * image = 0
int posFrame = 0

Define Documentation

#define KEY_ESC   1048603

Definition at line 14 of file snake.cpp.


Function Documentation

CvScalar hsv2rgb ( float  hue)

Definition at line 56 of file snake.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 96 of file snake.cpp.

void on_mouse ( int  event,
int  x,
int  y,
int  flags,
void *  param 
)

Definition at line 74 of file snake.cpp.

void sum_rgb ( IplImage *  src,
IplImage *  dst 
)

Definition at line 25 of file snake.cpp.


Variable Documentation

std::vector<CvPoint> contourPoints

Definition at line 20 of file snake.cpp.

int currPos = 0

Definition at line 17 of file snake.cpp.

IplImage* image = 0

Definition at line 19 of file snake.cpp.

int posFrame = 0

Definition at line 16 of file snake.cpp.



contracting_curve_density_algorithm
Author(s): Shulei Zhu, Dejan Pangercic
autogenerated on Mon Oct 6 2014 10:42:03