Layer Poempl and SURF working together

This commit is contained in:
c-weidinger 2018-01-27 10:22:24 +01:00
parent b0cb1aa417
commit 9e2abfd64d
2 changed files with 5 additions and 5 deletions

View File

@ -78,12 +78,12 @@ void solve(vector<LogEntry>& log,Puzzle& puzzleMat)
switch(log.back().abstractionLevel)
{
case 0://pömpel
puzzleMat.a4.EvaluateQuality(log.back().myCoor,log.back().PieceCollector);
puzzleMat.a1.EvaluateQuality(log.back().myCoor,log.back().PieceCollector);
//puzzleMat.a1.EvaluateQuality(log.back().myCoor, log.back().PieceCollector);
break;
case 1://poempelposition
return;
puzzleMat.a3.EvaluateQuality(log.back().myCoor,log.back().PieceCollector);
// return;
puzzleMat.a4.EvaluateQuality(log.back().myCoor,log.back().PieceCollector);
break;
case 4://SURFFeature
break;

View File

@ -44,8 +44,8 @@ public:
bool PreProcessing()
{
createBox(); createp_box();
// if(!dp.PreProcessing({cols,rows}, nullptr)) return false;
// if(!a1.PreProcessing({cols,rows}, &p_myBox)) return false;
if(!dp.PreProcessing({cols,rows}, nullptr)) return false;
if(!a1.PreProcessing({cols,rows}, &p_myBox)) return false;
// if(!a3.PreProcessing({cols,rows}, &p_myBox)) return false;
if(!a4.PreProcessing({cols,rows}, &p_myBox)) return false;