Shape Alignment with Wigner-D Functions
links
description
executable
notes
LINKS
SIGGRAPH 2004 Paper (Rotation) SIGGRAPH 2004 Paper (Scale)
Windows (x64) Executable
Source Code GitHub Repository
License
CODE DESCRIPTION
This distribution (part of the larger ShapeSPH package) provides the code for solving for the translation, (anisotropic) scale, and rotation aligning two models.
EXECUTABLE ARGUMENTS (ShapeAlign.exe)
- --in1 <source triangle mesh>
- This string is the the name of the mesh that is to be transformed. The file is assumed to be in PLY format.
- --in2 <target triangle mesh>
- This string is the the name of the mesh to which the source is aligned. The file is assumed to be in PLY format.
- [--out <output triangle mesh>]
- This optional string is the the name of the file to which the transformed source is written. The file is assumed to be in PLY format.
- [--res <voxel resolution>]
-
This optional integer specifies the resolution of the voxel grid into which the meshes are rasterized. The default value for this parameter is 64.
- [--aScale <anisotropic scaling iterations>]
-
This optional integer specifies the number of scaling iterations that should be performed in order find the canonical anisotropic scale of each model. The default value for this parameter is 0, indicating that only isotropic scale is used for alignment.
- [--threads <number of threads>]
-
This optional integer specifies the number of threads across which the solver should be parallelized. The default value for this parameter is the number of threads on the machine.
- [--radius <moment radius>]
-
This optional floating point value specifies the multiple of the second-order moment radius that should be used for defining the canonical isotropic scale of a shape. The default value for this parameter is 2.0.
- [--fallOff <Gaussian fall off>]
-
This optional floating point value specifies the radius of the Gaussian used to define Gaussian-EDT. The default value for this parameter is 2.828427.
- [--gedt]
- If this optional argument is specified, the rotational alignment is performed by finding the transformation the squared-distance between the Gaussian-EDTs of the two shapes. Otherwise, the minimizer of the symmetric sum-of-squared-distances is used.
- [--double]
- If this optional argument is specified, the computation is performed using double-precision arithmetic. Otherwise, single-precision arithmetic is used.
- [--verbose]
- If this optional argument is specified, the computation is run in "verbose" mode, outputting more information about the state of the alignment.
NOTES
- The executable provided up was compiled for a 64-bit OS and requires the FFTW .dlls to run.
- Compilation requires the FFTW libraries.
- The SpharmonicKit and SOFT source code is slightly modified from the original to support faster computation on purely real input.
HOME