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/modules/surface_matching/doc/surface_matching.html ?