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
- Exception
public static List<SampleBatch> do_getSampleBatches(ClusterQuantiserOptions options) throws IOException
options
- IOException
public static byte[][] do_getSamples(ClusterQuantiserOptions options) throws IOException
options
- IOException
public static void do_info(AbstractClusterQuantiserOptions options) throws IOException
options
- IOException
public static void do_quant(ClusterQuantiserOptions cqo) throws IOException, InterruptedException
cqo
- IOException
InterruptedException
public static ClusterQuantiserOptions mainOptions(String[] args) throws InterruptedException, org.kohsuke.args4j.CmdLineException
args
- InterruptedException
org.kohsuke.args4j.CmdLineException