public class ClusterQuantiser extends Object
| Constructor and Description |
|---|
ClusterQuantiser() |
| Modifier and Type | Method and Description |
|---|---|
static SpatialClusters<?> |
do_create(ClusterQuantiserOptions options)
create new clusters
|
static List<SampleBatch> |
do_getSampleBatches(ClusterQuantiserOptions options)
Get sample batches
|
static byte[][] |
do_getSamples(ClusterQuantiserOptions options)
Get samples
|
static void |
do_info(AbstractClusterQuantiserOptions options)
Print info about clusters
|
static void |
do_quant(ClusterQuantiserOptions cqo)
Quantise features
|
static void |
main(String[] args)
The main method
|
static ClusterQuantiserOptions |
mainOptions(String[] args)
Prepare options
|
public ClusterQuantiser()
public static SpatialClusters<?> do_create(ClusterQuantiserOptions options) throws Exception
options - Exceptionpublic static List<SampleBatch> do_getSampleBatches(ClusterQuantiserOptions options) throws IOException
options - IOExceptionpublic static byte[][] do_getSamples(ClusterQuantiserOptions options) throws IOException
options - IOExceptionpublic static void do_info(AbstractClusterQuantiserOptions options) throws IOException
options - IOExceptionpublic static void do_quant(ClusterQuantiserOptions cqo) throws IOException, InterruptedException
cqo - IOExceptionInterruptedExceptionpublic static ClusterQuantiserOptions mainOptions(String[] args) throws InterruptedException, org.kohsuke.args4j.CmdLineException
args - InterruptedExceptionorg.kohsuke.args4j.CmdLineException