Option to evaluation a classifier with a point cloud

This commit is contained in:
Daniel Girardeau-Montaut
2019-03-24 23:16:55 +01:00
parent 35bfc92dbf
commit 4907e68ae2
4 changed files with 60 additions and 6 deletions
+13
View File
@@ -694,6 +694,19 @@ static bool LoadFileCommon( const QString& filename,
return false;
}
}
else if (upperLine.startsWith("TEST:")) //test cloud
{
if (cloudsAreProvided)
{
//no need to load the clouds in this case
continue;
}
QString command = line.mid(5);
if (!ReadCloud("TEST=" + command, clouds, fi.absoluteDir(), lineNumber)) //add the TEST keyword so that the cloud will be loaded as the TEST cloud
{
return false;
}
}
else if (upperLine.startsWith("CORE_POINTS:")) //core points
{
if (!corePoints)