c++ Programming Glossary: gray_frame
Is “argv[0] = name-of-executable” an accepted standard or just a common convention? http://stackoverflow.com/questions/2050961/is-argv0-name-of-executable-an-accepted-standard-or-just-a-common-conventi
OpenCV: process every frame http://stackoverflow.com/questions/3907028/opencv-process-every-frame IplImage frame Allocate space for a new image IplImage gray_frame 0 gray_frame cvCreateImage cvSize frame width frame height frame.. frame Allocate space for a new image IplImage gray_frame 0 gray_frame cvCreateImage cvSize frame width frame height frame depth 1.. cvSize frame width frame height frame depth 1 if gray_frame fprintf stderr cvCreateImage failed n return NULL cvCvtColor..
Masking a blob from a binary image http://stackoverflow.com/questions/9372687/masking-a-blob-from-a-binary-image if capture return 1 IplImage color_frame NULL IplImage gray_frame NULL int thresh_frame 28 CvMoments moments int frameCount 0.. capture Grabs the frame from a file if color_frame break gray_frame cvCreateImage cvSize color_frame width color_frame height color_frame.. loop frameCount if frameCount 5 cvCvtColor color_frame gray_frame CV_BGR2GRAY cvThreshold gray_frame gray_frame thresh_frame 255..
|