//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:
Post Comments (Atom)
-
RTSP(Real Time Streaming Protocol) is video streaming, it usually sent from network camera. VideoCapture function in opencv also can get r...
-
Logistic Classifier The logistic classifier is similar to equation of the plane. W is weight vector, X is input vector and y is output...
-
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. ...
-
In the YUV color format, Y is bright information, U is blue color area, V is red color area. Show the below picture. The picture is u-v col...
-
This example source code is to extract HOG feature from images. And save descriptors to XML file. The source code explain how to use HOGD...
-
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...
-
This is example for background subtraction on opencv 3.2 version previously, I post 2.7 version example on here. http://study.marearts.co...
-
Image size of origin is 320*240. Processing time is 30.96 second took. The result of stitching The resul...
-
* Introduction - The solution shows panorama image from multi images. The panorama images is processing by real-time stitching algorithm...
-
This post is about how to copy Mat data to vector and copy vector data to Mat. Reference this example source code. printf ( "/////...
No comments:
Post a Comment