am_make_image

A tool to generate an image of the appearance model for a given set of model parameters.

Usage

am_make_image -i raw_smd -d data_file

Loads model defined in the SMD file raw_smd.smd
Loads data from the text file data_file.
Expected format:

FILENAME
n c1 c2 c3 ... cn
FILENAME
n c1 c2 c3 ... cn
...
For instance:
mode1.jpg
3 99.0 0.0  0.0
mode2.jpg
3 0.0  99.0 0.0
mode3.jpg
3 0.0  0.0  99.0
Where n is the number of combined appearance model parameters in the subsequent list.
Note: The filename cannot contain spaces. I don't hold with such nonsense, and it is hard to parse.
The model is then used to generate an appearance model instance with the parameters (c1 c2 ...), which is saved to the given filename.