Package image.processing.algorithms.clustering.kmeans

Examples of image.processing.algorithms.clustering.kmeans.AlgoHierarchicalClustering


    String input = fileToPath("current_colour_data.txt");
    String output = ".//output_colour.txt";
    int maxdistance = _k;
   
    // Apply the algorithm
    AlgoHierarchicalClustering algo = new AlgoHierarchicalClustering()// we request 3 clusters
    algo.runAlgorithm(input, maxdistance);
    algo.printStatistics();
    algo.saveToColFile(output);

  }
View Full Code Here


    String input = fileToPath("current_feature_data.txt");
    String output = ".//output_feature.txt";
    int maxdistance = _k;
   
    // Apply the algorithm
    AlgoHierarchicalClustering algo = new AlgoHierarchicalClustering()// we request 3 clusters
    algo.runAlgorithm(input, maxdistance);
    algo.printStatistics();
    algo.saveToFeatFile(output);

  }
View Full Code Here

    String input = fileToPath("current_combined_data.txt");
    String output = ".//output_combined.txt";
    double maxdistance = _k;
   
    // Apply the algorithm
    AlgoHierarchicalClustering algo = new AlgoHierarchicalClustering()// we request 3 clusters
    algo.runAlgorithm(input, maxdistance);
    algo.printStatistics();
    algo.saveToCombFile(output);

  }
View Full Code Here

TOP

Related Classes of image.processing.algorithms.clustering.kmeans.AlgoHierarchicalClustering

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.