[Insight-users] Insigh-journal: KNN classifier

Mark Bouts mark at invivonmr.uu.nl
Tue Jul 3 10:42:59 EDT 2007


ruben wrote:
Hi Ruben,

I thought it was that simple as well, however I've extended the code to 
3 channels, but this seems not to be enough...

Mark
> Hi Mark,
>
> To my knowledge the voronoifilter class you are using is able to 
> compute 3D K-voronoi maps, which is what you need to segment with knn 
> with 3 channels.
> What you need to do is to extend the classifyKNNCore class from 2 
> channels to 3 channels.
> I haven't done it yet, but I think it should be quite simple.
> If that doesn't work for you, let me know.
>
> Best regards,
>
> Ruben Cardenes



More information about the Insight-users mailing list