Solar
Public Member Functions | List of all members
SolAR::api::features::IContoursExtractor Class Referenceabstract

Extracts contours from an image. UUID: 42d82ab6-cc62-11e7-abc4-cec278b6b50a More...

#include <IContoursExtractor.h>

Inheritance diagram for SolAR::api::features::IContoursExtractor:
Inheritance graph
[legend]
Collaboration diagram for SolAR::api::features::IContoursExtractor:
Collaboration graph
[legend]

Public Member Functions

 IContoursExtractor ()=default
 IContoursExtractor default constructor.
 
virtual ~IContoursExtractor ()=default
 IContoursExtractor default destructor.
 
virtual FrameworkReturnCode extract (const SRef< SolAR::datastructure::Image > inputImg, std::vector< SolAR::datastructure::Contour2Df > &contours)=0
 Extract the contours detected in a vector from a given input image. More...
 

Detailed Description

Extracts contours from an image. UUID: 42d82ab6-cc62-11e7-abc4-cec278b6b50a

This class provides a contours extraction method from an image.

Member Function Documentation

◆ extract()

virtual FrameworkReturnCode SolAR::api::features::IContoursExtractor::extract ( const SRef< SolAR::datastructure::Image inputImg,
std::vector< SolAR::datastructure::Contour2Df > &  contours 
)
pure virtual

Extract the contours detected in a vector from a given input image.

Parameters
[in]inputImgThe image on which contours are extracted
[out]contoursThe contours extracted from the image
Returns
FrameworkReturnCode::SUCCESS if contours ar well extracted, else FrameworkReturnCode::_ERROR

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