mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Added reading the enable flag for the border detector
Former-commit-id: d2cf4df9a7684107b30f9bc01d5aa90b321ce1b5
This commit is contained in:
@@ -62,7 +62,7 @@ private:
|
||||
///
|
||||
/// @param[in] ledString The led-string specification
|
||||
///
|
||||
ImageProcessor(const LedString &ledString);
|
||||
ImageProcessor(const LedString &ledString, bool enableBlackBorderDetector);
|
||||
|
||||
///
|
||||
/// Performs black-border detection (if enabled) on the given image
|
||||
|
@@ -31,7 +31,7 @@ public:
|
||||
///
|
||||
/// @param[in] ledString The led configuration
|
||||
///
|
||||
void init(const LedString& ledString);
|
||||
void init(const LedString& ledString, bool enableBlackBorderDetector);
|
||||
|
||||
///
|
||||
/// Creates a new ImageProcessor. The onwership of the processor is transferred to the caller.
|
||||
@@ -43,4 +43,7 @@ public:
|
||||
private:
|
||||
/// The Led-string specification
|
||||
LedString _ledString;
|
||||
|
||||
/// Flag indicating if the black border detector should be used
|
||||
bool _enableBlackBorderDetector;
|
||||
};
|
||||
|
Reference in New Issue
Block a user