Function to find points in pointcloud

5 views (last 30 days)
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 Comment
John D'Errico
John D'Errico on 20 Dec 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?

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 20 Dec 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 Comments
Malte
Malte on 22 Dec 2014
Thank you very much. i will try it out then i get to the university and reply to you.
Malte
Malte on 22 Dec 2014
I discoverd a error in my cloud, but it looks like your function works. Thanks...

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!