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)
-
* Introduction - The solution shows panorama image from multi images. The panorama images is processing by real-time stitching algorithm...
-
Image size of origin is 320*240. Processing time is 30.96 second took. The result of stitching The resul...
-
In past, I wrote an articel about YUV 444, 422, 411 introduction and yuv rgb converting example code. refer to this page -> http://feel...
-
Logistic Classifier The logistic classifier is similar to equation of the plane. W is weight vector, X is input vector and y is output...
-
Created Date : 2007.8 Language : Matlab / C++(MFC) Tool : Matlab / Visual C++ 6.0 Library & Utilized : - / OpenGL Reference : ...
-
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...
-
The MNIST dataset is a dataset of handwritten digits, comprising 60 000 training examples and 10 000 test examples. The dataset can be downl...
-
Created Date : 2009.10. Language : C++ Tool : Visual Studio C++ 2008 Library & Utilized : Point Grey-FlyCapture, Triclops, OpenCV...
-
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...
-
Created Date : 2011.8 Language : Matlab Tool : Matlab 2010 Library & Utilized : - Reference : Multiple View Geometry (Hartly and Z...