From 3b11b8a9085f9fcf1beb320cede33e07d1e978c3 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Tue, 9 Dec 2014 11:40:07 -0500 Subject: [PATCH] Downsample should also consider PossibleFTE for use with FTETransform --- openbr/plugins/independent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/plugins/independent.cpp b/openbr/plugins/independent.cpp index 6f0b539..488d655 100644 --- a/openbr/plugins/independent.cpp +++ b/openbr/plugins/independent.cpp @@ -49,7 +49,7 @@ static TemplateList Downsample(const TemplateList &templates, int classes, int i const QString selectedLabel = selectedLabels[i]; QList indices; for (int j=0; j("FTE", false))) + if ((allLabels[j] == selectedLabel) && (!templates.value(j).file.get("FTE", false)) && (!templates.value(j).file.get("PossibleFTE", false))) indices.append(j); std::random_shuffle(indices.begin(), indices.end()); -- libgit2 0.21.4