Package image.processing.algorithms.clustering.kmeans

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


    String input = fileToPath("current_feature_data.txt");
    String output = ".//output_feature.txt";
    int k = _k;
               
    // Apply the algorithm for colour
    AlgoKMeansFeat algoKMeans = new AlgoKMeansFeat();
    algoKMeans.runAlgorithm(input, 3);
    algoKMeans.printStatistics();
    algoKMeans.saveToFile(output);
               
                //Reenable button
                Interface.clusterButton.setEnabled(true);

  }
View Full Code Here

TOP

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

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.