switch on consistent detection only and also check right side and bottom pixel

Former-commit-id: 4da53a39918a3676c707215daa66d8ae263ed92a
This commit is contained in:
wisc 2016-01-21 20:25:08 +01:00
parent 391e2e552c
commit 8f0e1f1199
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#include <iostream>
//#include <iostream>
// Blackborder includes
#include <blackborder/BlackBorderProcessor.h>
@ -39,7 +39,7 @@ bool BlackBorderProcessor::updateBorder(const BlackBorder & newDetectedBorder)
// makes it look like the border detectionn is not working - since the new 3 line detection algorithm is more precise this became a problem specialy in dark scenes
// wisc
std::cout << "cur: " << _currentBorder.verticalSize << " " << _currentBorder.horizontalSize << " new: " << newDetectedBorder.verticalSize << " " << newDetectedBorder.horizontalSize << " c:i " << _consistentCnt << ":" << _inconsistentCnt << std::endl;
// std::cout << "cur: " << _currentBorder.verticalSize << " " << _currentBorder.horizontalSize << " new: " << newDetectedBorder.verticalSize << " " << newDetectedBorder.horizontalSize << " c:i " << _consistentCnt << ":" << _inconsistentCnt << std::endl;
// set the consistency counter
if (newDetectedBorder == _previousDetectedBorder)