public class HistogramDirectory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MODEL_INFO
Use model_info files for normalizing the models against rotations.
|
static int |
NORMALIZE
Normalize the models from scratch against rotations and scale.
|
static int |
VANILLA
Perform no normalizations on the models.
|
Constructor and Description |
---|
HistogramDirectory(java.lang.String modelPath,
java.lang.String storagePath,
int shells,
SphereApproximator sphere)
Constructs object with the information necessary to create a directory of global histograms
from a model database.
|
Modifier and Type | Method and Description |
---|---|
void |
generate(int mode)
Generates a global histogram file ".ghist" for each model found.
|
public static final int NORMALIZE
public static final int MODEL_INFO
public static final int VANILLA
public HistogramDirectory(java.lang.String modelPath, java.lang.String storagePath, int shells, SphereApproximator sphere)
modelPath
- path to a directory containing models. Could be a directory of directories.storagePath
- path to the storage directory.shells
- number of shells to use in global histogram.sphere
- used to determine the number sectors to use in global histogram.SphereApproximator