//Declaration static UINT Thread(LPVOID pParam); //Definition UINT Thread(LPVOID pParam) { //Thread Part while( ((GUIView*)pParam)->Thread_B ) { //Time delay Sleep(100); //Processing ((GUIView*)pParam)->DoProcessing(); } return 0; } //Thread Begin void GUIView::BegainThread() { Thread_B = true; ::AfxBeginThread(Thread, this); }
9/08/2012
Making thread on MFC (example source code)
Simple source code
Subscribe to:
Posts (Atom)
-
* Introduction - The solution shows panorama image from multi images. The panorama images is processing by real-time stitching algorithm...
-
This is data acquisition source code of LMS511(SICK co.) Source code is made by MFC(vs 2008). The sensor is communicated by TCP/IP. ...
-
As you can see in the following video, I created a class that stitching n cameras in real time. https://www.youtube.com/user/feelmare/sear...
-
Calculate overlap percent between two rectangle It is not difficult, we just use bit operator : &, | for more detail informati...
-
fig 1. Left: set 4 points (Left Top, Right Top, Right Bottom, Left Bottom), right:warped image to (0,0) (300,0), (300,300), (0,300) Fi...
-
Image size of origin is 320*240. Processing time is 30.96 second took. The result of stitching The resul...
-
yolo v5 data coordinate format ex) str_v = "32 0.262 0.7878 0.314 0.385" #read image cvmat = cv2.imread(img_path) #get height, w...
-
Complete Tutorial: LabelMe with Login System and Dataset Management This guide provides step-by-step instructions for setting up LabelMe wit...
-
Dear Jihad anwar Here is source code you asking. I don't remember equation about particle filter well now. But source code is ...
-
Background subtractor example souce code. OpenCV support about 3 types subtraction algorithm. Those are MOG, MOG2, GMG algorithms. Det...