3D Point Cloud to 2D depth image

Hi
I have a 3D point cloud.
Now I want to convert it to 2D depth image of say 240*320. Does anyone has anything to share?
It will be a good addition to Matlab.
Best Regards Wajahat

3 Kommentare

yifang huang
yifang huang am 23 Okt. 2018
is this question solved?
Walter Roberson
Walter Roberson am 12 Sep. 2020
That contribution is what VahidB suggested 4 years ago.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

VahidB
VahidB am 22 Jan. 2016

1 Stimme

7 Kommentare

henry henry
henry henry am 13 Nov. 2016
how to get x , y and z from pointcloud?
XYZ = YourPointCloud.Location; %Location property
X = XYZ(:,1); Y = XYZ(:,2); Z = XYZ(:,3);
rajyalakshmi k
rajyalakshmi k am 20 Dez. 2016
hi sir i am not able to store my point cloud image in .xyz or .ply format.so i need small attention on my question "how to give point cloud location (XYZ = YourPointCloud.Location)";"
Walter Roberson
Walter Roberson am 20 Dez. 2016
rajyalakshmi k, What format is your point cloud in?
rajyalakshmi k
rajyalakshmi k am 21 Dez. 2016
Bearbeitet: Walter Roberson am 21 Dez. 2016
Thank u sir for your fast response,
after executing this the final output is point cloud only but while saving that image i am not able to save in .xyz or .ply format (bcoz point cloud should be in .xyz or .ply only) anyway it is saving in .fig format only. but i need to extract x,y,z coornidates for any pointcloud image for further processing like getting surface model for that point cloud data. so please give any solution for my question.
Walter Roberson
Walter Roberson am 21 Dez. 2016
Bearbeitet: Walter Roberson am 21 Dez. 2016
When you get down to the part of the example that has
% Create the point cloud
ptCloud = pointCloud(points3D, 'Color', color);
then ptCloud.Location will exist.
rajyalakshmi k
rajyalakshmi k am 21 Dez. 2016
Thank you sir

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 7 Jul. 2015

Kommentiert:

am 12 Sep. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by