|You can choose to use OpenNI or Kinect SDK. Selecting the one you don't have installed will result in an exception.|
Warning 1! It seems like the SDK returns depth data only between 850mm - 4000mm distance. The default range for the clustering is set to 500mm - 800mm. The algorithm works best at this range. You can try to use it at 850mm - 1000mm, but it's not very reliable.
I don't know yet whether there is an option to get the SDK to return values closer than 85cm (the device clearly can do it with OpenNI).
Warning 2! This was a fast checkin, I will have to refactor quite a lot (did some copy - paste to get it up faster, shame on me).