mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Added parameters to constructor of blackborder processor
Added blur line removal Moved blackborder classes to hyperion namespace
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
// Hyperion includes
|
||||
#include "hyperion/BlackBorderDetector.h"
|
||||
|
||||
using namespace hyperion;
|
||||
|
||||
RgbColor randomColor()
|
||||
{
|
||||
const uint8_t randomRedValue = uint8_t(rand() % (std::numeric_limits<uint8_t>::max() + 1));
|
||||
|
@@ -5,8 +5,11 @@
|
||||
// Utils includes
|
||||
#include <utils/RgbImage.h>
|
||||
|
||||
// Local-Hyperion includes
|
||||
#include "hyperion/BlackBorderProcessor.h"
|
||||
|
||||
using namespace hyperion;
|
||||
|
||||
RgbColor randomColor()
|
||||
{
|
||||
const uint8_t randomRedValue = uint8_t(rand() % (std::numeric_limits<uint8_t>::max() + 1));
|
||||
@@ -40,8 +43,9 @@ int main()
|
||||
{
|
||||
unsigned unknownCnt = 600;
|
||||
unsigned borderCnt = 50;
|
||||
unsigned blurCnt = 0;
|
||||
|
||||
BlackBorderProcessor processor;
|
||||
BlackBorderProcessor processor(unknownCnt, borderCnt, blurCnt);
|
||||
|
||||
// Start with 'no border' detection
|
||||
RgbImage noBorderImage = createImage(64, 64, 0, 0);
|
||||
|
Reference in New Issue
Block a user