quick c2c to SF

To post any request/idea for new functionalities
Post Reply
PablerasBCN
Posts: 296
Joined: Sat Jan 20, 2018 1:57 pm

quick c2c to SF

Post by PablerasBCN »

Hi

I'm having an issue with C2C. I need to compare a road scan to an aerial scan.

The preliminary super quick distance computation is more than enough for what I need. Sadly there is no way to save it to SF.

Whatever other option for "real" computation, freezes computer, even if I manually choose lowest octree.

Image

If you could add something like "preliminary only" option in ui and command line please.
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: quick c2c to SF

Post by daniel »

So generally lowering the octree level is bad for the computation time (as it ends with the comparison of more points with more points). Also, you can try to remove duplicated points (if any - with the 'Tools > Other > Remove duplicate points' tool) as this can be very bad for the performances.

Also, setting a maximum distance can help a lot reduce the computation hit.

And no, it's not possible to export the approximate distances (as some people mistake them for real ones).
Daniel, CloudCompare admin
PablerasBCN
Posts: 296
Joined: Sat Jan 20, 2018 1:57 pm

Re: quick c2c to SF

Post by PablerasBCN »

But when I create an octree with Edit>Octree>Compute In the DBtree when I set to visualize the octree, the lowest values are the sparse ones and as octree goes up there are more points, should then octree 1 be the simplest way to compute distances?

It is wild that the preview can´t be baked as an SF as certainly looks good enough. If not real distances may be could be aproximated since at the end of the day any cloud is confined in a bounding box with known dimensions and the gradient is smooth enough for a rough stimation.

I tried with highest octree and again computer froze.

edit: I'm doing 1m dist compares for another task with theese clouds with no issues, in command line, so likely what causes the struggle is the distance, but I need several meters not just 1 like now, something like 70 or so. I guess too much for fine distance computation. I may give it a shot in command line, just in case...
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: quick c2c to SF

Post by daniel »

A level of 1 means basically that you only divide the cloud in 8 parts. Then CC will try to compare 1/8th of the cloud with the other 1/8th of the cloud (in the best case, can be more). So the square number of points divided by 64... Which is 10^12/64 = 15 billion comparisons for a 1 million point cloud! That's huge.

Clearly, the C2C tool is not meant to compute large distances, as the farther a point is, the more points in the other cloud you have to compare with.

And currently it is not possible to export the approximate distances because that's not what most users are looking for. I guess it's technically possible to get access to it by modifying the code...
Daniel, CloudCompare admin
PablerasBCN
Posts: 296
Joined: Sat Jan 20, 2018 1:57 pm

Re: quick c2c to SF

Post by PablerasBCN »

thanks for the explanation!.

Yeah sure, totally understand that not mainstream features not to be implemented.
PablerasBCN
Posts: 296
Joined: Sat Jan 20, 2018 1:57 pm

Re: quick c2c to SF

Post by PablerasBCN »

I found this workaround.

in a CAD soft, draw the spline that defines center of the road. do paralells, ontain trimming shape/s you can now trim in bands o n meters as needed,

Image

Requests I'll make.
-add support for polylines in dxf rather having to convert to shp
-save multiple files at once. Save all selected files to folder. Doing one by one on each change makes me feel misserable
Post Reply