hyperion.ng
Public Member Functions | List of all members
hyperion::BlackBorderDetector Class Reference

The BlackBorderDetector performs detection of black-borders on a single image. More...

#include <BlackBorderDetector.h>

Public Member Functions

 BlackBorderDetector (double threshold)
 Constructs a black-border detector. More...
 
uint8_t calculateThreshold (double blackborderThreshold)
 Performs the actual black-border detection on the given image. More...
 
template<typename Pixel_T >
BlackBorder process (const Image< Pixel_T > &image)
 default detection mode (3lines 4side detection)
 
template<typename Pixel_T >
BlackBorder process_classic (const Image< Pixel_T > &image)
 classic detection mode (topleft single line mode)
 
template<typename Pixel_T >
BlackBorder process_osd (const Image< Pixel_T > &image)
 osd detection mode (find x then y at detected x to avoid changes by osd overlays)
 

Detailed Description

The BlackBorderDetector performs detection of black-borders on a single image.

The detector will search for the upper left corner of the picture in the frame. Based on detected black pixels it will give an estimate of the black-border.

Constructor & Destructor Documentation

§ BlackBorderDetector()

BlackBorderDetector::BlackBorderDetector ( double  threshold)

Constructs a black-border detector.

Parameters
[in]blackborderThresholdThe threshold which the blackborder detector should use

Member Function Documentation

§ calculateThreshold()

uint8_t BlackBorderDetector::calculateThreshold ( double  blackborderThreshold)

Performs the actual black-border detection on the given image.

Parameters
[in]imageThe image on which detection is performed
Returns
The detected (or not detected) black border info

The documentation for this class was generated from the following files: