sprintf(str, "str_%d", 100);
CString A = CA2W(str);
STL Vector test for pop_back, pop_back_n and pop front.
I wanted to erase first element.
but there is no inner function.
pop_back, pop_back_n is that erase last element in vectors.
The last sample is the method to pop front.
refer to this sample code.
< gist >
< /gist >
Image size of origin is 320*240. Processing time is 30.96 second took. The result of stitching The resul...
This is example for background subtraction on opencv 3.2 version previously, I post 2.7 version example on here. http://study.marearts.co...
OpenCV Drawing Example, (line, circle, rectangle, ellipse, polyline, fillConvexPoly, putText, drawContours)line, circle, rectangle, ellipse, polyline, fillConvexPoly, putText, drawContours example source code!!. ...
(OpenCV Study) Background subtractor MOG, MOG2, GMG example source code (BackgroundSubtractorMOG, BackgroundSubtractorMOG2, BackgroundSubtractorGMG)Background subtractor example souce code. OpenCV support about 3 types subtraction algorithm. Those are MOG, MOG2, GMG algorithms. Det...
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) Firstl...
Example source code of extract HOG feature from images, save descriptor values to xml file, using opencv (using HOGDescriptor )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...
This post is about how to copy Mat data to vector and copy vector data to Mat. Reference this example source code. printf("///////...
In past, I wrote an articel about YUV 444, 422, 411 introduction and yuv <-> rgb converting example code. refer to this page -> ht...
I use MOG2 algorithm to background subtraction. The process is resize to small for more fast processing to blur for avoid noise affectio...
Optical Flow sample source code using OpenCV. It programed based on http://feelmare.blogspot.kr/2012/10/make-2-frame-having-time-interv...