classifykmeans.py

This program will classify pre-aligned 2D or 3D images

classifykmeans.py [stack=<input images>] [list=<input images>] [classes=<#>] [average=<prefix>] [clsfiles] [listout=<file>] [nosingle]

Parameters:


Description

Simple k-means classifier for 2D or 3D images. Images must be prealigned. This doesn't use MSA or any other data reduction technique. It's just a simple classifier.

WARNING: The entire set to be classified must fit into memory


EMAN Manual page, generated Wed Feb 18 10:51:32 2009
[stack=<input images>]An image file containing all images to be classified
[list=<input images>]A text file with a list of single image filenames
[classes=<#>]Number of classes to generate. Default is 4.
[average=<prefix>]Make averages of each class and save them to prefix.#.mrc
[clsfiles]Generate cls* files
[listout=<file>]Outputs a text file containing a list: <class> <ptcl #> <compare to mean>
[nosingle]This will try to reject classes with only one member at each step