annotate include/cvutils.hpp @ 70:a52653dca25d

got track features to compile, updated paths to headers and libraries for OpenCV 2
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Sat, 13 Nov 2010 11:20:10 -0500
parents ff5403319cec
children 336926453b28
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
eb38637f338d created cvutils
Nicolas Saunier <nico@confins.net>
parents:
diff changeset
1 #ifndef CVUTILS_HPP
eb38637f338d created cvutils
Nicolas Saunier <nico@confins.net>
parents:
diff changeset
2 #define CVUTILS_HPP
eb38637f338d created cvutils
Nicolas Saunier <nico@confins.net>
parents:
diff changeset
3
70
a52653dca25d got track features to compile, updated paths to headers and libraries for OpenCV 2
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents: 12
diff changeset
4 #include "opencv2/highgui/highgui.hpp" // types are in opencv2/core/types_c.h
9
eb38637f338d created cvutils
Nicolas Saunier <nico@confins.net>
parents:
diff changeset
5
12
ff5403319cec optical flow demo working
Nicolas Saunier <nico@confins.net>
parents: 11
diff changeset
6 class CvCapture;
ff5403319cec optical flow demo working
Nicolas Saunier <nico@confins.net>
parents: 11
diff changeset
7
ff5403319cec optical flow demo working
Nicolas Saunier <nico@confins.net>
parents: 11
diff changeset
8 /// constant that indicates if the image should be flipped
ff5403319cec optical flow demo working
Nicolas Saunier <nico@confins.net>
parents: 11
diff changeset
9
ff5403319cec optical flow demo working
Nicolas Saunier <nico@confins.net>
parents: 11
diff changeset
10 //static const int flipImage = CV_CVTIMG_FLIP;
ff5403319cec optical flow demo working
Nicolas Saunier <nico@confins.net>
parents: 11
diff changeset
11
ff5403319cec optical flow demo working
Nicolas Saunier <nico@confins.net>
parents: 11
diff changeset
12 /** Allocates a new IplImage. */
9
eb38637f338d created cvutils
Nicolas Saunier <nico@confins.net>
parents:
diff changeset
13 IplImage* allocateImage(const int& width, const int& height, const int& depth, const int& channels);
eb38637f338d created cvutils
Nicolas Saunier <nico@confins.net>
parents:
diff changeset
14
eb38637f338d created cvutils
Nicolas Saunier <nico@confins.net>
parents:
diff changeset
15 IplImage* allocateImage(const CvSize& size, const int& depth, const int& channels);
eb38637f338d created cvutils
Nicolas Saunier <nico@confins.net>
parents:
diff changeset
16
12
ff5403319cec optical flow demo working
Nicolas Saunier <nico@confins.net>
parents: 11
diff changeset
17 /** Goes to the target frame number, by querying frame,
ff5403319cec optical flow demo working
Nicolas Saunier <nico@confins.net>
parents: 11
diff changeset
18 supposing the video input is currently at current frame number.
ff5403319cec optical flow demo working
Nicolas Saunier <nico@confins.net>
parents: 11
diff changeset
19 Returns the frame number that was reached.*/
ff5403319cec optical flow demo working
Nicolas Saunier <nico@confins.net>
parents: 11
diff changeset
20 int goToFrameNum(CvCapture* inputVideo, const int& currentFrameNum, const int& targetFrameNum);
11
e77e2fd69b02 modularized code (not compiling)
Nicolas Saunier <nico@confins.net>
parents: 9
diff changeset
21
9
eb38637f338d created cvutils
Nicolas Saunier <nico@confins.net>
parents:
diff changeset
22 #endif