Bug fix + parallel computation of features

This commit is contained in:
Daniel Girardeau-Montaut
2018-12-01 14:39:11 +01:00
parent 80a6be6b2a
commit 1d02e4bde7
4 changed files with 57 additions and 14 deletions
+2
View File
@@ -274,6 +274,8 @@ void q3DMASCPlugin::doTrainAction()
QCoreApplication::processEvents();
pDlg.setAutoClose(true); //restore the default behavior of the progress dialog
m_app->redrawAll();
//randomly select the training points
QScopedPointer<CCLib::ReferenceCloud> trainSubset(new CCLib::ReferenceCloud(corePoints.cloud));
QScopedPointer<CCLib::ReferenceCloud> testSubset(new CCLib::ReferenceCloud(corePoints.cloud));