The Clusters button opens the cluster menu shown in Fig. 19; this button becomes sensitive only after the number of significant components was chosen in the Components widget. Before running cluster analysis it is required to choose the number of clusters to be sought with the Seek slide-bar in the upper left corner. Generally speaking it's suggested that you search for several more clusters than the number of components you have identified as significant (in addition, you can alter your choice of the number of significant components with the Significant components button here).
When searching for clusters, you are looking for pixels with
similar weightings of PCA components. As described in
our first paper [2, Eq. 19], it is
often useful to scale the
components according to
In some cases, it is also useful to exclude the first component from the cluster search as discussed in [2], so as to reduce sensitivity to thickness variations. However, in our second paper [3], we describe what we feel is a much better strategy: the use of an angle distance measure for clustering. In this case, you will generally want to select No to the option Cluster without using first principal component. When you use the angle distance measure, you must select Cutoff for angle distance measure to specify a radius below which pixels will not be included in the determination of cluster centers (Fig. 20). You want to pick a radius which will exclude only a relatively small number of pixels, but get above the radius where different compositions will begin to blur into each other due to noise at low absorptivity (Fig. 21).
![]() |
![]() |
The Calculate button starts the clustering calculation. When the calculation is finished, results are displayed on five graphical areas:
The Show outliers and spectra button opens a widget which displays a pseudo-colored image of the stack. The pixels that are farthest from the cluster center are colored white, and the rest are red. Moving the mouse above the image shows the spectrum at the pixel below the cursor.
The Scatterplots of pixel weightings button opens the scatterplot widget shown on Fig. 22. (Encapsulated PostScript .eps files of these plots can be saved within this widget). If the angular distance measure is used, the scatterplot gives an option for a spherical projection view of the pixel weightings (Fig. 23). The Histogram of aggregate cluster distances button displays histogram of distances of all pixels from their belonging cluster center. The Histogram of distances by cluster button displays gray-scale image histograms of distances of pixels from the cluster center for each cluster separately.
The Dendrogram button (Fig. 24) will display the image and save a drawing of a dendrogram in current directory. This dendrogram indicates the degree of similarity between different clusters. If one has several very short branches at the end of one limb of the dendrogram, one might think of reducing the number of clusters to be sought and re-running the clustering algorithm, as discussed in our first paper [2].
|
|
|
Finally, one can save the results of cluster analysis in various formats. Save cluster ``.roi'' files saves region of interest files for all clusters; these .roi files can be read by stack_analyze. Save all cluster spectra as ``.eps'' saves all cluster spectra in Encapsulated PostScript .eps format. Save all cluster spectra, images as ``.png'' saves portable network graphics .png images of cluster indices and spectra. Save all cluster spectra, images as ``.csv'', ``.nc'' saves spectra in Excel-readable .csv text files, and images in NetCDF .nc format.
Holger Fleckenstein 2008-07-08