Vision and Mobile Robotics Laboratory | Software
Home | Members | Projects | Publications | Software | Videos Internal

StackMaker

Description

StackMaker is an interactive display program that creates spin-image stacks for surfaces to be registered with SpinRecognize. StackMaker serves two purposes. Its first purpose is to create spin-image stacks for surfaces aligned with SpinRecognize. Its second purpose is to provide a display tool for analyzing and understanding the spin-image generation process.

After StackMaker has generated or read in a stack of spin-images for a model, a display tool pops up. The display tool has two viewers. On the right is the Mesh Viewer which shows the model surface mesh; the model mesh can be moved around and viewed from different positions. The current oriented point is shown in red. On the left is the Image Viewer which displays the spin-image corresponding to the current oriented point; the image can be translated and zoomed. Clicking with the left mouse button on the model in the mesh viewer changes the current oriented oriented points and its spin-image.

Files

Usage

By typing 'StackMaker -' the following options (format description default) are printed:

Usage: StackMaker (See StackMaker.html for complete usage)

Detailed Usage

%S set model faceset filename [required]

-genStack %F %d %d %F set spin-image generation parameters

-readStack %S name of file for writing model stack [off]

-writeStack %S name of file for reading model stack [off]

-texScale %d set texture map scale [10]

-orig %F %F %F sensor origin [off]

-ptSize %F set projection point size

-noDisplay do not display spin image viewer [off]

-spinMethod %d method of spin image generation

-abBounds %F %F %F %F bounds on alpha,beta

-gridSize %F grid size

-hashed hashed

Examples

To create a stack for a model using the default settings

To create and save a stack for a model using user defined settings with a smaller texture scale (for faster rendering during animation) and a larger projection point size

To create and write a stack without the display

Interface

StackMaker accepts commands from the mouse and keyboard.

Clicking with the left mouse button on the model in the Mesh Viewer changes the current oriented point. When the current oriented point changes, the spin-image shown in the Image Viewer automatically is updated.

Typing a in the Mesh Viewer will turn on the spin-image animation which is used to visualize spin-image generation. Typing 'a' again will turn the animation off.

Typing o in the MeshViewer will highlight the oriented points that contribute to the current spin-image by showing them as blue line segments oriented along the surface normal. Typin an 'o' again will turn off the oriented points.

Typing p in the Mesh Viewer will display the spin-map projection of the oriented points contributing to the current spin-image as red points. The points will show up superimposed on the image viewer and on the animation plane is animation is activated.

Typing w in the Mesh Viewer will write out the current spin-image to a tiff-image stored in the current directory in the form "spinimage.{vertex-number}.tiff" Output spin-images can be displayed with xv and read by other programs.

up


The VMR Lab is part of the Vision and Autonomous Systems Center within the Robotics Institute in the School of Computer Science, Carnegie Mellon University.