Page 1 of 1

Sampling points / overlay point matrix

Posted: Wed Mar 12, 2014 1:26 pm
by cloudmaster
Hello, I want to know if it is somehow possible to put a point matrix on the top of a point cloud. If we for instance have a half ball as a point cloud then I would like to make a matrix of points with a specific distance between the points in both x and y. (the matrix can be 50 x 50 points with 1 cm distance) that cover the whole ball.
I have tried to use the function "Subsample a Point Cloud" > Spaces....but in here I can not specify it accurate enough. After I have got the correct point matrix I need the xyz information to reproduce the ball in another software.

Is there any solution to this, how this can be solved?

Thank!

Re: Sampling points / overlay point matrix

Posted: Wed Mar 12, 2014 1:40 pm
by daniel
I think the "Tools > Projection > Rasterize (...)" tool is what you're looking for.

Or did I missed something?

Re: Sampling points / overlay point matrix

Posted: Wed Mar 12, 2014 3:19 pm
by cloudmaster
Thanks a lot, that is the right function I was searching for!

Is it possible to specify the area this matrix should cover of the point cloud? and also the position of the matrix, so I for instance get a line of points in the center of the ball (center goes from the highest point on the ball)?

Re: Sampling points / overlay point matrix

Posted: Wed Mar 12, 2014 3:55 pm
by daniel
You can edit the grid extents in 2D (with the 'Edit grid' button) but I guess you already found that out?

Re: Sampling points / overlay point matrix

Posted: Thu Mar 13, 2014 1:12 pm
by cloudmaster
Hello,

I see that option to edit, but cant get it to work as I want.

I would like to specify exactly where the center line in my point cloud object is, so a line of point in the grid matching the center line of the object.
How is that possible to do?

Another question I have if I use the segment tool on the new grid I make, is it then possible just to save / export the points again, without do a new "Grid generation"?

Re: Sampling points / overlay point matrix

Posted: Thu Mar 13, 2014 1:37 pm
by daniel
To make what you want you'll have to do some maths I guess.

And otherwise, you can of course export any cloud anytime by selecting it and using "File > Save". Or have I once again misunderstood you? ;)

Re: Sampling points / overlay point matrix

Posted: Thu Mar 13, 2014 2:13 pm
by cloudmaster
OK, I was just hoping that there was an easy way to tell the software where I would like the grid to start. Maybe I just have to work a little more with it.

About the saving, I don't get the same CSV/txt file when I do save it in File > Save, here I only get the CSV file as a point cloud. What I was asking about was how I could save the "grid points" depth with my specified distance in txt file after I have done a "segment" on the grid.

Now another tricky question came up: is it possible to specify how the points in the "grid generation" coming into excel. At the moment I have to turn the grid in Excel 180° degrees to get it in the right way for further processing. Can CC help with that?

Re: Sampling points / overlay point matrix

Posted: Thu Mar 13, 2014 2:41 pm
by daniel
Ah ok, this way to export the grid as a matrix is indeed only available in the "Rasterize" tool. It has been coded long ago so it's fairly simple. There's no option to transpose the matrix.