Subject: CGAL users discussion list
List archive
- From: Simon Giraudot <>
- To:
- Subject: Re: [cgal-discuss] CGAL 4.13 Classification
- Date: Mon, 15 Oct 2018 15:44:19 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:EoRLLRPisFqWSMeuxigl6mtUPXoX/o7sNwtQ0KIMzox0I/7yrarrMEGX3/hxlliBBdydt6obzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlKiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD+s7bpkSAXwhSkaKTA5/mHZhM9+gq1Vrx2upQBwzYHPbYGJN/dzZL/Rcc8USGdDWMtaSixPApm7b4sKF+cPIOdYr4z6p1sIsBCwBAisBPn1xT9Vm3D22rE62PkmHAHd3QwgGtUOsHLOoNX6NacSS/q6zLTVwjXEc/Nbwjj955bPchAkv/6MQahwcMrfyUY1CwzFklKQqZblPj+PyusNtG2b4vNmWOmyhWAnrARxrSKuxscqkoTGmo0VxUrA9Sljx4Y1P9K4RFZ0Yd6lDJtQtzyaOJBsTsw+RGFovT42y70BuZ6mYCgK1Y8oyADFZ/ObdIiI5wrvVOmPLjd/gXJqZq6/hwyy8Eiu0OLzStW00FFQritFiNXDqncN1xnV58OaSfV95l+s1DmO2gzJ9+1IPUA5mbDVJpMl2LI9l4cfvVzAEyLygkn6kq2bel859uWp6unreLfrq5yaOoRpkA/xKL4ulda6AekgMggBQWyb+eOk2bH950H5RbJKguA0n6TaqpzaIN4Upq+9AwNM1YYj9gq/Ay2h0NQGnXkLNlRFdwybj4TxOlHOJu73DeunjlmjkTpn3e3KMqHhD5nXIHXOlK3tcLdg50JEzQo819Ff55ZaCrEbJ/LzX1f8tMfZDh88NAy0xfzrCNp81oMEQ22PH7KWMKTOsVKT6eIgPe6MZIoLtzbhMfgk5/DugmUlll8Beqmpx5sWZGqkEfRhJkWVeWDsjcsZEWcWogo+S/Tnh0GNUTFJY3a+Rr8z5jAgCI26EIfDXZutjaea3Ca7G51WfnpJBkqNEXfubYWEWu0DZDicIs97wXQ4Uu2qRIYlkB2vrwTn0KFPL+zO+yReu4iw+sJy4rjolBQ183RbDt6Uzm2KUykghWINQDlw06FlqFFxzUur3qV/hvFED81d7vhVVR0rc5XbyropWJjJRgvdc4LRGx6dSdK8DGRpF4Nj85o1e094Xu6aoFXG1iuuDaUSkubSVpM59afRw2LgKc9213Hcxe8qiFx0GpITZ13jvbZ28k3oP6CMi1+Qzf/4eqkb2SPR7naNxGGSu1tJFgV3VPedBC1NVg7ttd38o3j6YfquBLAgaFUTk4iHLfIVOpvshFRCAfD+JJLZfWL3nWqsV06F
Hello,
Le 15/10/2018 à 10:13, williamlai3a a écrit :
Hi,Yes it is. You can use classification without training if you use the Sum_of_weighted_features classifier, but in that case the parameters are not easy at all to select (especially if use a large number of features). I would strongly advise using the ETHZ_random_forest_classifier with a training set.
I am excited to test out the new classification concept, especially the mesh
classifier.
However, I have some doubts on the entire classification process:
1. Is training dataset a MUST?
2. From my understanding, we only needa label one region per label in theIn general, the larger your training set is, the better the results will be. It's especially true if you have a wide variety of local geometric features among a label: the training set should be as representative as possible.
dataset (just like the example data given). What if my class has more
variation in terms of shapes? Shall I give more regions labelled in the
training dataset?
2.1 Would colored point cloud benefit for both training and classification?Yes, colors can be used and may help classifying better (for example with the color channel predefined feature: https://doc.cgal.org/latest/Classification/classCGAL_1_1Classification_1_1Feature_1_1Color__channel.html ).
Note that as the same features should be used for training and for classification, you can only use colors for classification if you trained your classifier with colors first (and vice versa, a classifier trained with colors won't be able to handle point sets without colors).
3. Are there any good recommendation software for preparing the .plyI don't really know one.
training data? So I can select and label, then export the property as label
included in the .ply? (I googled and cannot find any useful one).
If you just want to experiment, you can use the classification plugin of the Polyhedron_3 demo of CGAL: https://github.com/CGAL/cgal/tree/master/Polyhedron/demo/Polyhedron
You can't save labels for a mesh for now (although we should probably add such functionality - it only works for point sets so far), but you can easily select some facets for training and run classification.
You can see an example on how to use it here: https://www.youtube.com/watch?v=xLFm8Aw8vuY
(The video uses a point set, but you can achieve the same thing with surface meshes along with the selection plugin.)
4. From the given example data, it seems that the points / surfaces areYes, it should also work. In that case, when creating a training set, it will help to provide an accurate training set on the connected regions where labels change (otherwise the transitions might be messy).
spatially disconnected quite sharply. Would the classifier be still working
well if I have a possion reconstructed surface which is fully connected?
[Added]The figure was done with the demo similarly as what is shown on the video, using all existing features on 5 scales (default behavior/parameters).
5. I am working on similar point cloud like Figure 75.7, however, no example
codes and data which reproduce Figure 75.7 are given / found. It would be
great if it is also released:
- guides on how the training data can be prepared
- what are the parameters yielding results in Figure 75.7
Best regards,
--
Simon Giraudot, PhD
R&D Engineer
GeometryFactory - http://geometryfactory.com/
- [cgal-discuss] CGAL 4.13 Classification, williamlai3a, 10/15/2018
- Re: [cgal-discuss] CGAL 4.13 Classification, williamlai3a, 10/15/2018
- Re: [cgal-discuss] CGAL 4.13 Classification, Simon Giraudot, 10/15/2018
- Re: [cgal-discuss] CGAL 4.13 Classification, williamlai3a, 10/15/2018
Archive powered by MHonArc 2.6.18.