j2d.color
Class Kmeans

java.lang.Object
  extended by j2d.color.Kmeans

public class Kmeans
extends java.lang.Object

The application on this class performs a simplified version of the K-Means algorithm on an image, classifying (clustering) its pixels. Its also shows how one can get pixel values from any position on an image.


Constructor Summary
Kmeans()
           
 
Method Summary
static void main(java.lang.String[] args)
          The application entry point.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Kmeans

public Kmeans()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
The application entry point.

Parameters:
args - the command line arguments.
Throws:
java.io.IOException