Downsample PointCloud

asked Oct 20 '18

Joy Mazumder gravatar image

Is there any option to downsample point cloud using OpenCV? PCL has a downsampling filter but it uses PointXYZ type while OpenCV uses Mat type. I have another issue do I need to calculate normal and save the file before using this code; https://docs.opencv.org/3.0-beta/modu... ?

Preview: (hide)

Comments

can you be a bit more concise, what "downsampling" means exactly here ?

would a plain kmeans clustering already do the trick ?

did you try to convert the Mat data to a PCL point cloud, and use their tooling ?

what is your data ? is it a "dense 2d" cloud (e.g. from stereo disparity) ?

berak gravatar imageberak (Oct 20 '18)edit