Clear Filters
Clear Filters

Lidar point cloud segmentation using pointnet

2 views (last 30 days)
Hi
I was working on Lidar point cloud segmentation using this Example .
downloadDirectory = tempdir;
datapath = downloadSydneyUrbanObjects(downloadDirectory);
foldsTrain = 1:3;
foldsVal = 4;
dsTrain = loadSydneyUrbanObjectsData(datapath,foldsTrain);
dsVal = loadSydneyUrbanObjectsData(datapath,foldsVal);
data = read(dsTrain);
ptCloud = data{1,1};
label = data{1,2};
figure
pcshow(ptCloud.Location,[0 1 0],"MarkerSize",40,"VerticalAxisDir","down")
xlabel("X")
ylabel("Y")
zlabel("Z")
title(label)
THEY GOT LIKE THIS.
IF I WANT TO GET THIS SAME IMAGE(for inital testing) using this data .
What are the lines of code ?
(once I got way to use personal data then I can upload my data for segmentation )

Accepted Answer

Ranjeet
Ranjeet on 11 Apr 2023
Hi Dayananda,
The dataset used in the example script mentioned by you and the dataset link provided are the same (Sydney-urban-object-dataset). So, the point-cloud image shown in the example script represents the dataset you provided.
Please have a look at the folder structure and elements in dataset of the example script - Point Cloud Classification Using PointNet Deep Learning - MATLAB & Simulink and compare with the dataset you provided.
You can also refer the following useful document - Getting Started with Point Clouds Using Deep Learning.

More Answers (0)

Categories

Find more on Labeling, Segmentation, and Detection in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!