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

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


contracting_curve_density_algorithm
Author(s): Shulei Zhu, Dejan Pangercic
autogenerated on Thu May 23 2013 14:41:45