Function to find points in pointcloud

1 visualizzazione (ultimi 30 giorni)
Malte
Malte il 20 Dic 2014
Commentato: Malte il 22 Dic 2014
Hi all
My issue is that i have a big pointbloud in XYZ coord. Ive got 2 XYZ points, where i need to find all the points in the cloud, which is between this two given points. Does anyone know which kind of funktion i need to use for this? i have tried the find-function, but couldent get it to work.
thanks in advance.
  1 Commento
John D'Errico
John D'Errico il 20 Dic 2014
As Image points out, your question lacks definition. Find did not work, because it is not designed to do what you did not explain well.
In a 3-dimensional point cloud, what does it mean to be "between" two points? I can certainly think of several ways to define between in that context, and all of them are potentially wrong by your definition.
As well, I often find that when someone does not explain something like this clearly, it often means they have not really thought out what they wanted to do. And if you don't know what you want, how can we know?

Accedi per commentare.

Risposta accettata

Image Analyst
Image Analyst il 20 Dic 2014
So you have a scattering of points in 3D space, specified by an N by 3 array of [x,y,z] coordinates, right? Now, exactly what does it mean if a point is "between" two arbitrary points somewhere in 3D space? Do you want to connect those two points with a vector, then consider two planes (one at each point) that is normal to the vector, and then any points that are between the two planes are "in between" the points? Or do you have another definition?
  6 Commenti
Malte
Malte il 22 Dic 2014
Thank you very much. i will try it out then i get to the university and reply to you.
Malte
Malte il 22 Dic 2014
I discoverd a error in my cloud, but it looks like your function works. Thanks...

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by