Examples of AlgoKMeansCol


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

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

  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.