FeatureExtractor.Clustering
Class ClusteringOutput

java.lang.Object
  extended by FeatureExtractor.Clustering.ClusteringOutput

public class ClusteringOutput
extends java.lang.Object

Abstract class for the output of image clustering.


Field Summary
protected  java.util.Vector<Cluster> clusters
          The obtained clusters
 
Constructor Summary
ClusteringOutput(java.util.Vector<Cluster> clust)
          Basic constructor.
 
Method Summary
 java.util.Vector<Cluster> getClusters()
          Returns the clusters obtained from the clustering algorithm.
 int size()
          Returns the number of clusters obtained from the clustering algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clusters

protected java.util.Vector<Cluster> clusters
The obtained clusters

Constructor Detail

ClusteringOutput

public ClusteringOutput(java.util.Vector<Cluster> clust)
Basic constructor.

Parameters:
clust - Vector of obtained clusters.
Method Detail

getClusters

public java.util.Vector<Cluster> getClusters()
Returns the clusters obtained from the clustering algorithm.

Returns:
Vector containing the obtained clusters.

size

public int size()
Returns the number of clusters obtained from the clustering algorithm.

Returns:
Number of obtained clusters.