I want to preprocess some lidar data in .pcd format. I tried "segmentGroundFromLidarData" algorithm to segment the groud but this code is written for .pcap format. In pcd fromat it has (m by n matrics size) on the other hand, pcap file has (m by n by 3 matrics) size.
Any thought of how to format pcd file into pcap file? or any other matlab libraries to deal with pcd file?