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)
-
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 past, I wrote an articel about YUV 444, 422, 411 introduction and yuv rgb converting example code. refer to this page -> http://feel...
-
To install the language pack for vs 2013, it made things worse. The error message "window program compatibility mode is on. turn i...
-
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...
-
I can know all coordinate from A point to B point using "LineIterator" function in OpenCV. So this source code is applied by this...
-
# Step 1: Define and train a simple PyTorch CNN model import torch import torch.nn as nn import torch.optim as optim import torchvisi...
-
This post is about how to copy Mat data to vector and copy vector data to Mat. Reference this example source code. printf ( "/////...
-
Very Nice Convoluiton Convolution (korean) https://gaussian37.github.io/dl-concept-covolution_operation/ ✌️
-
Image size of origin is 320*240. Processing time is 30.96 second took. The result of stitching The resul...