I'm struggling with something that seems trivial for everyone.
I've read pretty much everything i could find on the forum/wiki about unrolling cylinder/conical meshes.
However i'm getting weird results when i'm applying the transformation.
Input : a subsample of a smokestack, textured mesh
Processing :
1 - RANSAC Shape Detection to determine the cone parameters (results very coherent with other methods)
2 - Unroll using the cone parameters previously determined (see weird results below)
3 - Try not to cry for more than a minute, and start again using a cylinder instead (see weird results below)
Weird results :
Suprisingly, each side complements what is lacking in the other.
As you can see, it's almost good. But still far from being good.
Any hint about what i'm missing ?
[SOLVED] Cone/cylinder unrolling 4 n00bs
-
- Posts: 18
- Joined: Wed Sep 25, 2013 1:33 pm
[SOLVED] Cone/cylinder unrolling 4 n00bs
Last edited by OMG20Centz on Fri Sep 09, 2016 8:43 am, edited 1 time in total.
Re: Cone/cylinder unrolling 4 n00bs
It's simply because you do this on a mesh (vertices) and CC doesn't handle the mesh part (the tool only considers point clouds). Therefore the triangles at the separation line are all distorted...
You should clone the (vertices) cloud, unroll it, and eventually remesh it if necessary (with Delaunay 2.5D). Another option is too sample a lot of points on the mesh (with 'Edit > Mesh > Sample points') and then unroll this sampled cloud (you may not need to mesh it then to get nice visuals).
You should clone the (vertices) cloud, unroll it, and eventually remesh it if necessary (with Delaunay 2.5D). Another option is too sample a lot of points on the mesh (with 'Edit > Mesh > Sample points') and then unroll this sampled cloud (you may not need to mesh it then to get nice visuals).
Daniel, CloudCompare admin
-
- Posts: 18
- Joined: Wed Sep 25, 2013 1:33 pm
Re: [SOLVED] Cone/cylinder unrolling 4 n00bs
You can rasterize the cloud (with the Rasterize tool). Then export it as a georeference raster (geotiff). But you'll only be able to load it in a GIS software.
Daniel, CloudCompare admin
-
- Posts: 18
- Joined: Wed Sep 25, 2013 1:33 pm
Re: [SOLVED] Cone/cylinder unrolling 4 n00bs
Seems you are using an old version. Use the latest 2.8 beta version and you'll have the choice to use the 'RGB' layer.
Daniel, CloudCompare admin
-
- Posts: 18
- Joined: Wed Sep 25, 2013 1:33 pm
Re: [SOLVED] Cone/cylinder unrolling 4 n00bs
Such a n00bie move :=(
Works perfectly with low resolution (10 cm, 1 cm,...), but can't compute the required 8523x45114 image (1MM GSD), despite my 32 Gb of RAM ([ccPointCloud::reserve] Not enough memory).
Lacking a computer with 360 GB RAM, I shrinked my pointcloud into 20 pieces and tried again with these smaller ones, and that runs smoothly.
However, it looks like the "interpolate" function for empty cells is not yet working when the active layer is RGB. Am I right ?
Anyway, i found a workaround by initially subsampling the mesh to a higher amount of points, and that works fine.
Thanks for your guidance in the process
Works perfectly with low resolution (10 cm, 1 cm,...), but can't compute the required 8523x45114 image (1MM GSD), despite my 32 Gb of RAM ([ccPointCloud::reserve] Not enough memory).
Lacking a computer with 360 GB RAM, I shrinked my pointcloud into 20 pieces and tried again with these smaller ones, and that runs smoothly.
However, it looks like the "interpolate" function for empty cells is not yet working when the active layer is RGB. Am I right ?
Anyway, i found a workaround by initially subsampling the mesh to a higher amount of points, and that works fine.
Thanks for your guidance in the process
Re: [SOLVED] Cone/cylinder unrolling 4 n00bs
For the records, the "interpolate" function for empty cells now works when the active layer is RGB (or a scalar field). This will be available in the official 2.8 release.
Daniel, CloudCompare admin