OSVR-Core
Public Types | Public Member Functions | List of all members
osvr::vbtracker::SBDBlobExtractor Class Reference

A class performing blob-extraction duties on incoming frames. More...

#include <SBDBlobExtractor.h>

Public Types

enum  Algo { SimpleBlobDetector, EdgeHoleExtractor }
 

Public Member Functions

 SBDBlobExtractor (BlobParams const &blobParams)
 Construct with just BlobParams: uses simple blob detector. More...
 
 SBDBlobExtractor (BlobParams const &blobParams, EdgeHoleParams const &extParams)
 Construct with BlobParams and EdgeHoleBasedLedExtractor::Params: uses EdgeHoleBasedLedExtractor. More...
 
 ~SBDBlobExtractor ()
 
LedMeasurementVec const & extractBlobs (cv::Mat const &grayImage)
 
Algo getAlgo () const
 
cv::Mat const & getDebugThresholdImage ()
 In the case of the EdgeHoleExtractor, this is actually the edge detection image. More...
 
cv::Mat const & getDebugBlobImage ()
 

Detailed Description

A class performing blob-extraction duties on incoming frames.

Constructor & Destructor Documentation

§ SBDBlobExtractor() [1/2]

osvr::vbtracker::SBDBlobExtractor::SBDBlobExtractor ( BlobParams const &  blobParams)
explicit

Construct with just BlobParams: uses simple blob detector.

Set up blob params

§ SBDBlobExtractor() [2/2]

osvr::vbtracker::SBDBlobExtractor::SBDBlobExtractor ( BlobParams const &  blobParams,
EdgeHoleParams const &  extParams 
)

Construct with BlobParams and EdgeHoleBasedLedExtractor::Params: uses EdgeHoleBasedLedExtractor.

§ ~SBDBlobExtractor()

osvr::vbtracker::SBDBlobExtractor::~SBDBlobExtractor ( )

Needed here where KeypointDetailer is defined.

Member Function Documentation

§ extractBlobs()

LedMeasurementVec const & osvr::vbtracker::SBDBlobExtractor::extractBlobs ( cv::Mat const &  grayImage)

Use the LedMeasurement constructor to do the conversion from keypoint to measurement right now.

§ getDebugThresholdImage()

cv::Mat const & osvr::vbtracker::SBDBlobExtractor::getDebugThresholdImage ( )

In the case of the EdgeHoleExtractor, this is actually the edge detection image.


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