diff --git a/openbr/plugins/validate.cpp b/openbr/plugins/validate.cpp index 9fb199f..51a924c 100644 --- a/openbr/plugins/validate.cpp +++ b/openbr/plugins/validate.cpp @@ -19,9 +19,9 @@ class CrossValidateTransform : public MetaTransform { Q_OBJECT Q_PROPERTY(QString description READ get_description WRITE set_description RESET reset_description STORED false) - Q_PROPERTY(bool leaveOneOut READ get_leaveOneOut WRITE set_leaveOneOut RESET reset_leaveOneOut STORED false) + Q_PROPERTY(bool leaveOneImageOut READ get_leaveOneImageOut WRITE set_leaveOneImageOut RESET reset_leaveOneImageOut STORED false) BR_PROPERTY(QString, description, "Identity") - BR_PROPERTY(bool, leaveOneOut, false) + BR_PROPERTY(bool, leaveOneImageOut, false) QList transforms; @@ -49,10 +49,10 @@ class CrossValidateTransform : public MetaTransform int j = partitionedData.size()-1; while (j>=0) { // Remove all templates belonging to partition i - // if leaveOneOut is true, + // if leaveOneImageOut is true, // and i is greater than the number of images for a particular subject // even if the partitions are different - if (leaveOneOut) { + if (leaveOneImageOut) { const QString label = partitionedData.at(j).file.get("Label"); QList subjectIndices = partitionedData.find("Label",label); QList removed;