vidutils.hpp

Go to the documentation of this file.
00001 /**************************************************
00002 
00003   Video Utilities
00004 
00005   Antoni Chan,
00006   City University of Hong Kong, Copyright 2011
00007   ASTRI
00008 
00009 ***************************************************/
00010 
00015 #ifndef VIDUTILS_HPP
00016 #define VIDUTILS_HPP
00017 
00018 using namespace cv;
00019 using namespace std;
00020 
00033 void colorMask(const Mat & img, const Mat &mask, Mat &oimg, int border=1);
00034 
00041 // mask_flag = unsigned char[256] w/ non-zero for present mask values
00042 Mat mask2Border(const Mat &mask, int border, unsigned char *mask_flag);
00043 
00044 
00055 Mat imgmontage(const vector<Mat> &imgs, int sizex=5, int spacing=2, const Scalar &fill=0, int border=0);
00056 
00057 #endif

Generated on 18 Dec 2014 for libdt-OpenCV by  doxygen 1.6.1