¡@

Home 

c++ Programming Glossary: box.width

Setting ROI with mouse from a rectangle on a video

http://stackoverflow.com/questions/10881397/setting-roi-with-mouse-from-a-rectangle-on-a-video

rect cvRectangle img cvPoint box.x box.y cvPoint box.x box.width box.y box.height cvScalar 0 0 255 2 CvRect rect2 cvRect box.x.. cvScalar 0 0 255 2 CvRect rect2 cvRect box.x box.y box.width box.height cvSetImageROI image rect2 here I wanted to set the.. param switch event case CV_EVENT_MOUSEMOVE if drawing_box box.width x box.x box.height y box.y break case CV_EVENT_LBUTTONDOWN..