[Insight-users] Insigh-journal: KNN classifier

Mark Bouts mark at invivonmr.uu.nl
Mon Jul 2 11:20:31 EDT 2007


Hi,

in the insight-journal an article and its implementation on the 
KNN-classifier can be found.The article: Computational Geometry 
Computation and KNN Segmentation in ITK 
(http://insight-journal.org/InsightJournalManager/view_reviews.php?back=publications.php%3Fjournalid%3D5%26order%3Drating%26revision_display%3Dcombined&pubid=94) 
describes a means for segmenting images based on 2D feature data. 
Currently, I'm working on an implementation which exceeds the 2D feature 
set. However I seem to get stuck at the memory allocation for the 
voronoifilter. I can't seem to figure out why this allocation should be 
such an issue. (Right now a map of elements should be created of 
256x256x256 = 16777216 elements) Has anyone tried to extend this code to 
larger nD (for instance n=3)? Or has anyone suggestions of finding a 
good and simple solution to this problem. Even pointing me to another 
implementation of the Knn-classifier would be of great help!

Cheers!
Mark


More information about the Insight-users mailing list