Added reading the enable flag for the border detector

Former-commit-id: d2cf4df9a7684107b30f9bc01d5aa90b321ce1b5
This commit is contained in:
johan
2013-10-20 22:27:05 +02:00
parent 0e8997f554
commit 293a2e7c19
8 changed files with 31 additions and 8 deletions

View File

@@ -10,9 +10,9 @@
using namespace hyperion;
ImageProcessor::ImageProcessor(const LedString& ledString) :
ImageProcessor::ImageProcessor(const LedString& ledString, bool enableBlackBorderDetector) :
mLedString(ledString),
_enableBlackBorderRemoval(true),
_enableBlackBorderRemoval(enableBlackBorderDetector),
_borderProcessor(new BlackBorderProcessor(600, 50, 1)),
mImageToLeds(nullptr)
{