First, we download VTK and build it.
http://www.vtk.org/download/
and
We set the path where VTK is built, when we build opencv.
Note that, we need to include the build path, not the installed path.
http://cvlecture.marearts.com/2016/12/opencv-build-shared-opencv.html
If you go to the above address, I have built VTK 7.1.
And new content will continue to be added.
Good luck!
1/31/2017
1/19/2017
OpenCV add, subtract, multiply, divide operation image and scalar, example code
opencv lecture 4-1
example code
< gist start >
< gist end >
example code
< gist start >
< gist end >
1/11/2017
MFC, CIPAddressCtrl ctrol, ip address set, get, using BYTE and CString
usage for CIPAddressCtrl in mfc
< gist code >
< end >
1/05/2017
OpenCV Trackbar Exmaple source code
< git hub - gits >
///
another examples..
simple trackbar ex) in image
http://study.marearts.com/2016/07/opencv-30-trackbar-usage-simple-example.html
simple trackbar ex) in video
http://study.marearts.com/2016/07/opencv-30-trackbar-simple-example-in.html
///
another examples..
simple trackbar ex) in image
http://study.marearts.com/2016/07/opencv-30-trackbar-usage-simple-example.html
simple trackbar ex) in video
http://study.marearts.com/2016/07/opencv-30-trackbar-simple-example-in.html
QString to string, string to QString
simple example code
< github >
///
< github >
///
1/03/2017
In MFC, File exist check and delete the file, example source code.
If file exist then delete the file, example source code in MFC
< github code >
___
Labels:
C/MFC,
File delete,
File exist,
MFC,
Total
MFC Encode / Decode example souce code
WtoC function code is here
http://study.marearts.com/2017/01/unicode-cstring-convert-to-char.html
And refer to GetMacAddress code
http://study.marearts.com/2017/01/get-mac-address-in-mfc.html
Encode code
//
..
Decode code
//
..
Unicode CString convert to char *
The returned char * will need to be freed after use.
< gist code start >
< gist code end >
#tags
wchar_t, WtoC, WideCharToMultiByte, WideCharToMultiByte
< gist code start >
< gist code end >
#tags
wchar_t, WtoC, WideCharToMultiByte, WideCharToMultiByte
Labels:
C/MFC,
CString to char*,
MFC,
Total,
wchar_t,
WideCharToMultiByte,
WtoC
Get Mac Address in MFC
GetMacAddress in MFC
Get by using GetAdaptersInfo function
//
..
Get by using ip address
//If localhost -> GetMacAddress(_T("*"));
//if have ip -> GetMacAddress(_T("192.168.1.1"));//
..
Labels:
C/MFC,
GetMacAddress,
MacAddress,
MFC,
Total
1/02/2017
CString to string
..
string CstringToString(CString str) { CT2CA pszConvertedAnsiString(str); std::string s(pszConvertedAnsiString); return s; }..
Subscribe to:
Posts (Atom)
-
The MNIST dataset is a dataset of handwritten digits, comprising 60 000 training examples and 10 000 test examples. The dataset can be downl...
-
Embeded camera R&D for Real-Time fire detection surveillance in tunnel environment - 2008.07.01~2009.06.30 - High Computing Power E...
-
This post is about how to copy Mat data to vector and copy vector data to Mat. Reference this example source code. printf ( "/////...
-
My Environment : MS VS 2008 & MFC(Dialog Based) Joy Stick : Logitech Extreme 3D pro (XBox Type) Cteated Date : 2012. 03 [source code]...
-
RTSP(Real Time Streaming Protocol) is video streaming, it usually sent from network camera. VideoCapture function in opencv also can get r...
-
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. ...
-
I use MOG2 algorithm to background subtraction. The process is resize to small for more fast processing to blur for avoid noise affectio...
-
The latent SVM tells the learning method used in this paper -> "Discriminatively trained deformable part models". The authors s...
-
simply check below code and example result. . def image_grid ( imgs , rows , cols ): assert len ( imgs ) == rows * cols w , h...
-
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...