<HTML >
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=FR link=blue vlink=purple>
<DIV><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Paulo,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You should rather use ITK (</span><a href="http://www.itk.org/"><span lang=EN-US>http://www.itk.org/</span></a><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>) than VTK for this purpose.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You’ll find all the classes needed to perform a KMeans clustering <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Bouba<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> vtkusers-bounces@vtk.org [mailto:vtkusers-bounces@vtk.org] <b>On Behalf Of </b>Paulo Neves<br><b>Sent:</b> lundi 21 mai 2012 17:09<br><b>To:</b> vtkusers@vtk.org<br><b>Subject:</b> [vtkusers] K-means clustering<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hello to all.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I am trying to study k-means clustering as a means to segment an image.<o:p></o:p></p></div><div><p class=MsoNormal>From the study so far I realize that vtk implementation uses point spacial data (position) to work with. Am I correct?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Second, I would like to know if it is possible to apply the algorithm to point intensity instead of point spacial parameters.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Kind regards,<o:p></o:p></p></div><div><div><div><div><div><div><div><div><div><div><div><p class=MsoNormal><span class=apple-style-span><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black'>___________________________________________________________________</span></span><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span class=apple-style-span><b><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black'>Paulo Alexandre Neves</span></b></span><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span class=apple-style-span><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:#626262'>Escola Superior de Tecnologia de Castelo Branco</span></span><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span class=apple-style-span><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black'>Unidade Técnico-Cientifica de Informática</span></span><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span class=apple-style-span><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black'><a href="http://di.est.ipcb.pt">http://di.est.ipcb.pt</a></span></span><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span class=apple-style-span><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black'>E-mail:</span></span><span class=apple-converted-space><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black'> </span></span><span class=apple-style-span><u><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black'>pneves at ipcb dot pt</span></u></span><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:black'><br><img border=0 width=185 height=100 id="_x0031_74eca79-9191-4f86-8780-85c6b984bbd5" src="cid:image001.png@01CD377A.D03B08C0"></span><span class=apple-style-span><o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:#626262'><br><br><span class=apple-style-span>Instituto de Telecomunicações (IT)</span></span><o:p></o:p></p></div><div><p class=MsoNormal><span class=apple-style-span><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black'>E-mail: pneves at co dot it dot pt</span></span><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p></div></div></div></div></div></div></div></div></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></DIV>
<DIV> </DIV>
<DIV STYLE="FONT-SIZE: 9pt; FONT-FAMILY: Courier New">
<FONT FACE="MS Sans Serif">--</FONT>
<FONT FACE="MS Sans Serif"><BR>Confidentiality Notice: This e-mail transmission may contain confidential or legally privileged information that is intended only for the individual or entity named in the e-mail address. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or reliance upon the contents of this e-mail is strictly prohibited. If you have received this e-mail transmission in error, please reply to the sender and then delete the message from your computer. Thank you.<BR>--</FONT><BR></DIV></BODY></HTML>