From 0616c0c691e9ebd33c89bf86481f4e81e516fc43 Mon Sep 17 00:00:00 2001 From: Andrews Sobral Date: Sat, 4 Mar 2023 20:01:05 +0100 Subject: [PATCH] Enabled 10 new algorithms on the QT user interface for OpenCV 4.x --- gui/qt/mainwindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gui/qt/mainwindow.cpp b/gui/qt/mainwindow.cpp index 65a7083705..d451505090 100644 --- a/gui/qt/mainwindow.cpp +++ b/gui/qt/mainwindow.cpp @@ -37,6 +37,8 @@ namespace bgslibrary map["T2FGMM_UV"] = &createInstance; map["T2FMRF_UM"] = &createInstance; map["T2FMRF_UV"] = &createInstance; + map["MultiCue"] = &createInstance; +#endif map["FuzzySugenoIntegral"] = &createInstance; map["FuzzyChoquetIntegral"] = &createInstance; map["LBSimpleGaussian"] = &createInstance; @@ -47,8 +49,6 @@ namespace bgslibrary map["VuMeter"] = &createInstance; map["KDE"] = &createInstance; map["IndependentMultimodal"] = &createInstance; - map["MultiCue"] = &createInstance; -#endif #if (CV_MAJOR_VERSION == 2) || (CV_MAJOR_VERSION == 3 && CV_MINOR_VERSION <= 4 && CV_VERSION_REVISION <= 7) map["LBP_MRF"] = &createInstance; map["MultiLayer"] = &createInstance; @@ -97,6 +97,8 @@ namespace bgslibrary stringList.append("T2FGMM_UV"); stringList.append("T2FMRF_UM"); stringList.append("T2FMRF_UV"); + stringList.append("MultiCue"); +#endif stringList.append("FuzzySugenoIntegral"); stringList.append("FuzzyChoquetIntegral"); stringList.append("LBSimpleGaussian"); @@ -107,8 +109,6 @@ namespace bgslibrary stringList.append("VuMeter"); stringList.append("KDE"); stringList.append("IndependentMultimodal"); - stringList.append("MultiCue"); -#endif #if (CV_MAJOR_VERSION == 2) || (CV_MAJOR_VERSION == 3 && CV_MINOR_VERSION <= 4 && CV_VERSION_REVISION <= 7) stringList.append("LBP_MRF"); stringList.append("MultiLayer");