I used Label Connected Components to segment my data. When I tried to export the data I saw that every segment is exported separately as *.txt file. Is it possible to export all segments in one file and save the information about the number of segment e.g. as an additional attribute?
And additionally is it possible to use some other segmentation method in cloud compare?
Thanks in advance!
Label Connected Components - data export
Re: Label Connected Components - data export
Hi,
ASCII files can only contain one cloud per file. So if you want to export multiple clouds in a single file, you'll need to use more advanced formats (e.G. E57).
To do what you want (i.e. keep one cloud with a value associated to each point giving the index of the component) it would be easy to 'hack' CloudCompare (i.e. change a few lines of code) but you would need to compile it on your side.
And about other segmentation process, you can mainly try to generate a scalar field (one value per point - e.g. curvature, distance, visibility, etc.) and segment the cloud based on this value.
ASCII files can only contain one cloud per file. So if you want to export multiple clouds in a single file, you'll need to use more advanced formats (e.G. E57).
To do what you want (i.e. keep one cloud with a value associated to each point giving the index of the component) it would be easy to 'hack' CloudCompare (i.e. change a few lines of code) but you would need to compile it on your side.
And about other segmentation process, you can mainly try to generate a scalar field (one value per point - e.g. curvature, distance, visibility, etc.) and segment the cloud based on this value.
Daniel, CloudCompare admin