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)
-
Image size of origin is 320*240. Processing time is 30.96 second took. The result of stitching The resul...
-
When we study cuda firstly, thread indexing is very confusing. So I tried to clean up. First, Let's grab a sense of looking at ...
-
let's see the code. .. from scipy.sparse import csr_matrix import numpy as np #first matrix row = np.array([ 0 , 0 , 1 , 2 , 2 ,...
-
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...
-
To install the language pack for vs 2013, it made things worse. The error message "window program compatibility mode is on. turn i...
-
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...
-
refer to this web page -> http://docs.opencv.org/trunk/doc/py_tutorials/py_video/py_lucas_kanade/py_lucas_kanade.html dense optical f...
-
This is example source code of Matching using surf and bruteForceMathing of gpu version. I think this simple example source code is useful ...
-
refer to code: . # pip install pyheif pillow # brew install libheif import os import subprocess input_folder = "./input/path"...
-
LightGBM (Light Gradient Boosting Machine) is a gradient boosting framework developed by Microsoft that uses tree-based learning algorithms...