Reference:
-----------
Gary K.L. Tam, Ralph Martin, P.L. Rosin and Yu-Kun Lai, "Diffusion Pruning for Rapidly and Robustly Selecting Global Correspondences using Local Isometry",  ACM Transactions on Graphics, 33(1):4, 2014.


Installation:
-----------
Please install MatlabRuntimeInstaller.exe
The executable will load the MatlabRuntime first, and then carry out its task.
The runtime ensures it runs on most Windows platform.
This program serves for demonstration purpose only.


Usage:
-----------
1) Double click "DiffusPruneDemo.exe"
It will use the packaged cat8.mat, cat9.mat and corr.mat. Results will be produced in visualization.

2) Commandline (use absolute path):
DiffusPruneDemo.exe C:\cat8.mat C:\cat9.mat C:\corr.mat C:\outCorr.mat
-----------


Input:
-----------
Mesh format (.mat struct)
See TOSCA high-resolution MATLAB format:
http://tosca.cs.technion.ac.il/book/resources_data.html

Correspondences format
.mat file containing a matrix C of size N x 2, where:
N - number of correspondences
C(i,:) - the i-th correspondence
C(i,1) - vertex index of first mesh (1-based)
C(i,2) - vertex index of second mesh (1-based)


Use the whole line below as the password:
-----------
I agree to use the data and codes solely for research purpose and I will not redistribute them.
-----------


Disclaimer
-----------
All the dataset, computer programs and software are supplied with the explicit
understanding that they are to be used for research purposes only. It is expressly
prohibited to use the dataset or software for any commercial purposes. Redistribution
requires authors' consent, together with this Readme.txt. By downloading or using the
data / programs / codes, you acknowledge acceptance of the following:

DISCLAIMER OF WARRANTY
ALL THE DATASET, COMPUTER PROGRAMS AND SOFTWARE ARE PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND. WE MAKE NO WARRANTIES, EXPRESS OR IMPLIED, THAT THEY ARE FREE OF ERROR, OR ARE
CONSISTENT WITH ANY PARTICULAR STANDARD OF MERCHANTABILITY, OR THAT THEY WILL MEET YOUR
REQUIREMENTS FOR ANY PARTICULAR APPLICATION. THEY SHOULD NOT BE RELIED ON FOR SOLVING A
PROBLEM WHOSE INCORRECT SOLUTION COULD RESULT IN INJURY TO A PERSON OR LOSS OF PROPERTY.
IF YOU DO USE THEM IN SUCH A MANNER, IT IS AT YOUR OWN RISK. THE AUTHORS DISCLAIM ALL
LIABILITY FOR DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES RESULTING FROM YOUR USE OF THE
PROGRAMS.