Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is kd-Tree an alternative to K-means clustering?

I'm working with BOW object detection and I'm working on the encoding stage. I have seen some implementations that use kd-Tree in the encoding stage, but most writings suggest that K-means clustering is the way to go.

What is the difference between the two?

like image 866
mugetsu Avatar asked Jun 18 '12 21:06

mugetsu


1 Answers

In object detection, k-means is used to quantize descriptors. A kd-tree can be used to search for descriptors with or without quantization. Each approach has its pros and cons. Specifically, kd-trees are not much better than brute-force search when the number of descriptor dimensions exceeds 20.

like image 63
Don Reba Avatar answered Sep 28 '22 03:09

Don Reba