3D Data segmentation using a non-parametric density estimation approach