Solar
Public Member Functions | List of all members
SolAR::MODULES::OPENCV::SolARContoursFilterBinaryMarkerOpencv Class Reference

Filters contours to select only the contours of squared binary markers. UUID: 4309dcc6-cc73-11e7-abc4-cec278b6b50a More...

#include <SolARContoursFilterBinaryMarkerOpencv.h>

Inheritance diagram for SolAR::MODULES::OPENCV::SolARContoursFilterBinaryMarkerOpencv:
Inheritance graph
[legend]
Collaboration diagram for SolAR::MODULES::OPENCV::SolARContoursFilterBinaryMarkerOpencv:
Collaboration graph
[legend]

Public Member Functions

FrameworkReturnCode filter (const std::vector< datastructure::Contour2Df > &input_contours, std::vector< datastructure::Contour2Df > &output_contours) override
 Filters an ensemble of contours according to a given parameters (minimum of contour length, minimum contours corners..). [in] input_contours: original extracted contours. [out] output_contours: final filtred contours.
 
void unloadComponent () override final
 

Detailed Description

Filters contours to select only the contours of squared binary markers. UUID: 4309dcc6-cc73-11e7-abc4-cec278b6b50a

Properties
minContourLength the minimum length of an edge of a contour in pixels after simplification.
Any simplified contour which will have at least one edge that will have a length in pixel less than this value will be removed from the input filters
type: float; range : [0..MAX FLOAT]; default: 20.f
epsilon the maximum distance between the original curve and its approximation.
This filter first simplifies the contour if its curve is low. The simplified contour will not be more than epsilon pixels away from the original contour
type: float; range : [0..MAX FLOAT]; default: 0.05f
minDistanceBetweenContourCorners the minimum number of edges of a contour to extract. If negative value, extract all contours
type: float; range : [-1..MAX FLOAT]; default: 0.05f

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