i have found the answer for this and it can be done by this code to obtain all the x, y, and z coordinates: x=xyzPoints(:,:,1); y=xyzPoints(:,:,2); z=xyzPoints(:,:,3); points3D=[x(:)';y(:)';z(:)'];
how to extract xyz coordinates from 3d point cloud
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hassan El Chawich
il 9 Apr 2016
Commentato: liu yenfeng
il 3 Giu 2017
My aim is to have a 3D point cloud from kinect xbox360 and then to extract the 3D coordinates (x, y, z) from the cloud as a matrix or in other way in order to send these values(x, y, z) to an arduino kit where i have three servo motors connected one for x, one for y, and one for z. is their anyone can help me in programming or ideas how to make this done!!
0 Commenti
Risposta accettata
Hassan El Chawich
il 27 Apr 2016
1 Commento
liu yenfeng
il 3 Giu 2017
but i use this code, it has a error "Reference to a cleared variable xyzPoints." do you know why?
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Kinect For Windows Sensor in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!