Error using pcread and pcshow
Ältere Kommentare anzeigen
Hello! I have a problem using pcread and pcshow. I used a lidar to acquire the point clouds and now I have to read them in matlab. Using the pc read and pc show commands I get the following errors:
I've used readmatrix to read the point clouds as an alternative, but for all the following step (segmentation and visualization of the point clouds) I don't think it works. Can someone help me?
I've used readmatrix to read the point clouds as an alternative, but for all the following step (segmentation and visualization of the point clouds) I don't think it works. Can someone help me?8 Kommentare
Govind KM
am 6 Jun. 2023
Hi Samira,
Could you share your code as well?
Sam
am 6 Jun. 2023
Bearbeitet: Walter Roberson
am 6 Jun. 2023
Sam
am 6 Jun. 2023
Matt J
am 6 Jun. 2023
Can the Lidar be told to write the data to the file in uint16 instead of uint32?
Sam
am 6 Jun. 2023
Matt J
am 6 Jun. 2023
Can you actually read in the raw xyz points with readmatrix()? It doesn't seem like it should work to me. Have you plotted the points to see if the numbers you get make sense?
Sam
am 6 Jun. 2023
Antworten (1)
I wouldn't know how to do all the image processing and segmentation work that I could do in a simpler and more direct way with the ptcloud command.
Matlab has no command called "ptcloud", and without detail on what kind of commands you were planning to use in the follow-up processing, it's hard to see what you need. If you just want to convert your array of xyz points to a pointCloud object, just do,
Kategorien
Mehr zu Point Cloud Processing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!