-
Not necessarily an issue, but I'd like to know whether there are any guidelines about generating ground truth training data with the specified format for the CGAL Classification package. I've been looking around for a few point cloud labelers, but none of them seem to perform what is needed for this package. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
There are in fact 3 layers in your question:
StructureThe training set is a property map that associates, for each point, an index that corresponds to the index of the label in the StorageCGAL is generally agnostic in terms of files/IO. The easiest and most straightforward way to store this training file is to use an extensible format like PLY, and add a vertex property (for example For example, let's imagine that for some reason, you have a training set that consists in 3 separates files (ground.xyz, vegetation.xyz and buildings.xyz): in that case, you can simply load each file and fill up a training index map accordingly on the fly, without needing to merge your files and create an adapted PLY (which is also a possibility). GenerationAny software that lets you select and tag points can be used. The CGAL Polyhedron demo that is included with CGAL is of course the most adapted to our own packages. You can see a video demonstration. The demo is located in |
Beta Was this translation helpful? Give feedback.
-
Thank you for the explanation. My data does consist of a PLY file containing ground points, vegetation and power line structures, similar to the data used during the polyhedron demo. So in theory I should be able to solve my issue now, thank you once again. |
Beta Was this translation helpful? Give feedback.
There are in fact 3 layers in your question:
Structure
The training set is a property map that associates, for each point, an index that corresponds to the index of the label in the
Label_set
(with-1
meaning that the point is not labelled and thus ignored from training). This is explained here.Storage
CGAL is generally agnostic in terms of files/IO. The easiest and most straightforward way to store this training file is to use an extensible format like PLY, and add a vertex property (for example
property int label
). Most of the examples in the manual use PLY files as input. If you alre…