Skip to content

Generating Ground Truth Training Set CGAL Classification Package #5260

Answered by sgiraudot
pmff96 asked this question in Q&A
Discussion options

You must be logged in to vote

There are in fact 3 layers in your question:

  • what is the data structure used by the algorithms?
  • how can I store it in a file?
  • how can I generated

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…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sloriot
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #5260 on December 10, 2020 13:11.