To get rid of noise and outliers I imported my scan data to a cloud of points in matlab, after denoise I want to convert my cloud of points to a matrix consisting of point coordinates. In other words, I only need the Location data in the array of point cloud.
[points]=import_data(text);
pc_w_noise= pointCloud(points);
pc_denoised= pcdenoise(pc_w_noise);
Is there any function capable of doing it directly?
I'm not interested in creating a PLY or PCD file. I also tried readXYZ, it is not working!
Thank you