Vision and Mobile Robotics Laboratory | Software
|
|
Home | Members | Projects | Publications | Software | Videos | Internal |
CreateEigenStack determines the eigenvectors (using principle component analysis) of a stack of spin-images. It then stores them in a stack of spin-images (in decreasing eigenvalue order) where the normalized images are the eigenvectors and the magnitudes of the images are the eigenvalues. The eigenvector computation uses the jacobi function from Numerical Recipes in C, so it is very slow at computing the eigenvectors for large spin-images. Generally, it is a good idea to keep the size of the images less than 300.
CreateEigenStack.c contains all of the functionality for computing the eigen-spin-images for a stack of spin-images using principle component analysis.
By typing 'CreateEigenStack -' the following options (format description default) are printed:
Usage: CreateEigenStack (See CreateEigenStack.html for complete usage)
%S input stack filename [required]
%S output eigen-stack filename [required]
-spinMethod %d method of spin image generation
%S input stack filename [required]
Name of the stack for which the eigen-spin-images will be calculated.
%S output eigen-stack filename [required]
Name of the output stack of eigen-spin-images.
-analyze output analysis data
This flag will force two forms of analysis output. FIrst the eigenvalues of the eigen-spin-images will be output to a file eigVals.txt in decreasing order. The second output is a ingle tiff image spin_image.tiff containing all of the eigen-spin-images.
-spinMethod %d method of spin image generation
Spin image generation method: 0=vertices only, 1=interpolate in spin-image space. Using method 1 allows matching and recognition between meshes of differing resolution, since they create spin-images based on the entier surface of the mesh rather than just the vertices . Method 1 projects each mesh face into spin-image space (the alpha-beta coordinate system) and then raster scans the projected shape to find the contribution of the face to the spin-image. This idea is described in Toward a General 3-D Matching Engine: Multiple Models, Complex Scenes, and Efficient Data Filtering.
To create an eigen-stack for duckie.stack use
CreateEigenStack duckie.stack duckie.estack