From 3a57fbd5e966a216165e1a1708e11871de3eca62 Mon Sep 17 00:00:00 2001 From: JRauer Date: Fri, 26 Jan 2018 20:30:17 +0100 Subject: [PATCH] Implemented Evaluate Quality should work now... trying to test and debug --- .../AbstractionLayer_SURFFeatures.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Source/functions/AbstractionLayers/Layer_SURFFeatures/AbstractionLayer_SURFFeatures.cpp b/Source/functions/AbstractionLayers/Layer_SURFFeatures/AbstractionLayer_SURFFeatures.cpp index 6c9df44..ecac2eb 100644 --- a/Source/functions/AbstractionLayers/Layer_SURFFeatures/AbstractionLayer_SURFFeatures.cpp +++ b/Source/functions/AbstractionLayers/Layer_SURFFeatures/AbstractionLayer_SURFFeatures.cpp @@ -27,10 +27,18 @@ bool AbstractionLayer_SURFFeatures::PreProcessing(coor mySize, const vectorm_a4.m_numberOfFeaturesDetected); + qVector[i].first = 1 - diff; + //cout << fixed << qVector[i].first << " "; + } + + return true; } -bool AbstractionLayer_SURFFeatures::SetConstraintOnPosition(const coor constraintCoordinate,const AbstractionLayer_SURFFeatures_Properties constraint) +bool AbstractionLayer_SURFFeatures::SetConstraintOnPosition(const coor constraintCoordinate, const AbstractionLayer_SURFFeatures_Properties constraint) { //TODO: Benötigen wir nicht unbedint. //TODO: Hier erhalten wir vom Dispatcher welches Teil an welche Position gesetzt wird und wir könnten hier die Features des Bilds in die m_constraintMatrix speichern