2/24/2017
vtkStructuredGrid example for drawing fan shape grid.
This is example code for drawing fan shape grid using vtkStructuredGrid in vtk.
I've looked at a lot of examples that draw like this, but I could not find it.
So this example help for vtk beginner and want to drawing grid.
< code start >
< code end >
#vtkStructuredGrid, #vtk
2/23/2017
class member thread using std
class member function threading
1. No argument
< code start >
< code end >
2. additional arguments
< code start >
< code end >
3. Lambda Express
std::thread t( [&] { x.greeting(); } ); //no argument
std::thread t( [&] { x.greeting( "goodbye" ); } ); //with argument
Static or global function threading
< code start >
< code end >
#thread, #std, #lambda
1. No argument
< code start >
< code end >
2. additional arguments
< code start >
< code end >
3. Lambda Express
std::thread t( [&] { x.greeting(); } ); //no argument
std::thread t( [&] { x.greeting( "goodbye" ); } ); //with argument
Static or global function threading
< code start >
< code end >
#thread, #std, #lambda
2/14/2017
OpenCV Lecture, and, or, xor, not example using bitwise_and, bitwise_or, bitwise_xor, bitwise_not (2)
Labels:
and,
bitwise_and,
bitwise_not,
bitwise_or,
bitwise_xor,
not,
OpenCV,
or,
Total,
xor
OpenCV Lecture, and, or, xor, not example using bitwise_and, bitwise_or, bitwise_xor, bitwise_not
Labels:
and,
bitwise_and,
bitwise_not,
bitwise_or,
bitwise_xor,
not,
OpenCV,
OpenCV Lecture,
or,
Total,
xor
2/08/2017
no override found for 'vtkPolyDataMapper'
When meet this error no override found for 'vtkPolyDataMapper' using VTK.
Add this code
#include "vtkAutoInit.h"
VTK_MODULE_INIT(vtkRenderingOpenGL2); // VTK was built with vtkRenderingOpenGL2
VTK_MODULE_INIT(vtkInteractionStyle);
Or#define vtkRenderingCore_AUTOINIT 2(vtkRenderingOpenGL2, vtkInteractionStyle)
More detail
refer to this url
http://stackoverflow.com/questions/18642155/no-override-found-for-vtkpolydatamapper
2/03/2017
cvlecture example code, video subtraction
< gist start >
< gist end >
Labels:
Background subtraction,
cvlecture,
OpenCV,
Total,
video
cvlecture example code, operation between images(add, subtract, multiply, divide)
Labels:
addWeighted,
cvlecture,
OpenCV,
Total
2/01/2017
When VTK build with the option that Module_vtkGUISupportMFC on visual studio 2013
You have to download and install
Multibyte MFC Library for Visual Studio 2013
https://www.microsoft.com/en-US/download/details.aspx?id=40770
good luck
Multibyte MFC Library for Visual Studio 2013
https://www.microsoft.com/en-US/download/details.aspx?id=40770
good luck
Subscribe to:
Posts (Atom)
-
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...
-
In past, I wrote an articel about YUV 444, 422, 411 introduction and yuv <-> rgb converting example code. refer to this page -> ht...
-
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...
-
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. ...
-
Logistic Classifier The logistic classifier is similar to equation of the plane. W is weight vector, X is input vector and y is output...
-
* Introduction - The solution shows panorama image from multi images. The panorama images is processing by real-time stitching algorithm...
-
My Environment : MS VS 2008 & MFC(Dialog Based) Joy Stick : Logitech Extreme 3D pro (XBox Type) Cteated Date : 2012. 03 [source code]...
-
This is dithering example, it make image like a stippling effect. I referenced to blew website. wiki page: https://en.wikipedia.org/wik...
-
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 ...
-
This article explain how to access the thread index when you make block and thread with two dimensions. please refer to this page about me...