Bug correction: scalar fields were not properly built

Classification_prediction, Classification_confidence, Classification_backup
This commit is contained in:
Paul Leroy
2023-06-01 09:28:44 +02:00
parent 9bbf288b8f
commit 99be926f3f
4 changed files with 37 additions and 35 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ bool ContextBasedFeature::prepare( const CorePoints& corePoints,
if (!scaled() && !sfWasAlreadyExisting) //with 'kNN' neighbors, we can compute the values right away
{
unsigned pointCount = corePoints.size();
QString logMessage = QString("Computing %1 on cloud %2 with context cloud %3\n(core points: %4)").arg(typeStr).arg(corePoints.cloud->getName()).arg(cloud2Label).arg(pointCount);
QString logMessage = QString("Computing %1 on cloud %2 with context cloud %3\n(core points: %4)").arg(typeStr).arg(corePoints.cloud->getName()).arg(cloud1Label).arg(pointCount);
//first: look for the number of points in the relevent class
const ScalarType fClass = static_cast<ScalarType>(ctxClassLabel);