mirror of
https://github.com/dgirardeau/q3DMASC.git
synced 2026-08-29 16:40:49 +08:00
Do not show confusion matrix when in command line mode
This commit is contained in:
@@ -110,7 +110,8 @@ static IScalarFieldWrapper::Shared GetSource(const Feature::Source& fs, const cc
|
||||
bool Classifier::classify( const Feature::Source::Set& featureSources,
|
||||
ccPointCloud* cloud,
|
||||
QString& errorMessage,
|
||||
QWidget* parentWidget/*=nullptr*/
|
||||
QWidget* parentWidget/*=nullptr*/,
|
||||
ccMainAppInterface* app/*nullptr*/
|
||||
)
|
||||
{
|
||||
if (!cloud)
|
||||
@@ -278,7 +279,12 @@ bool Classifier::classify( const Feature::Source::Set& featureSources,
|
||||
}
|
||||
|
||||
if (classifSFBackup != nullptr)
|
||||
ConfusionMatrix *confusionMatrix = new ConfusionMatrix(*classifSFBackup, *classificationSF);
|
||||
{
|
||||
if (app)
|
||||
{
|
||||
ConfusionMatrix *confusionMatrix = new ConfusionMatrix(*classifSFBackup, *classificationSF);
|
||||
}
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user