This week began to implement the grid watermark code, although nothing, but also can only step by step to explore the move forward.
The title of my thesis is <<watermarking 3D polygonal Meshes in the Mesh spectral domain>> the previous blog has a theoretical analysis of this paper, it seems not difficult, But it's hard to get it done. The first problem to be solved is to configure the experimental environment.
At first I was going to use eigen to decompose the eigenvalues of the Laplace matrix, so it involved the eigen configuration. Eigen is an open-source matrix operations Library, which encapsulates a large number of matrix operations, the direct invocation is very simple, its configuration is very simple.
First, configure the Eigen
- Download Eigen
- Extract
- Include the Eigen directory in your project, as described in
Right click on the project, select Properties, in the VC + + directory, in the inclusion directory will be included in the Eigen directory.
?
Second, the configuration of MATLAB
1. Add included directories
Select General under C + +, add extern/include and extern/include/win32 under MATLAB installation locations in the attachment inclusion directory
?
2. Add Library
Under library Manager, select General, add Libeng.lib, Libmx.lib, and libmat.lib in additional dependencies
?
Then add the Extern/lib/win32/microsoft under the MATLAB installation location in the Attachment library directory
?
3. If you encounter the following problems during the call engine, include the path F:\Matlab_32\bin\win32 in the system variable
C + + invoke MATLAB engine and Eigen configuration