som_kmeanscolor2

som_kmeanscolor2 - SOM Toolbox Online documentation

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
SOM Toolbox Online documentation http://www.cis.hut.fi/projects/somtoolbox/ som_kmeanscolor2 [color,centroids]=som_kmeanscolor2(mode,sM,C,initRGB,contrast,R) SOM_KMEANSCOLOR2 Color codes a SOM according to averaged or best K-means clustering color = som_kmeanscolor2('average',sM, C, [initRGB], [contrast],[R]) color=som_kmeanscolor2('average',sM,[2 4 8 16],som_colorcode(sM,'rgb1'),'enhanced'); [color,centroid]=som_kmeanscolor2('best',sM,15,[],'flat',R); Input and output arguments ([]'s are optional): mode (string) 'average' or 'best', defalut: 'average' sM (struct) a map struct C (vector) number of clusters [initRGB] (string, matrix) a color code string accepted by SOM_COLORCODE or an Mx3 matrix of RGB triples, where M is the number of map units. Default: SOM_COLORCODEs default [contrast] (string) 'flat', 'enhanced' color contrast mode, default: 'enhanced'. [R] (scalar) number of K-means trials, default: 30. color
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/23/2010 for the course CS 245 taught by Professor Dunno during the Spring '10 term at Aarhus Universitet.

Page1 / 2

som_kmeanscolor2 - SOM Toolbox Online documentation

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online