OSVR-Core
Classes | Namespaces | Typedefs | Functions
BlobExtractor.h File Reference

Header. More...

#include <BlobParams.h>
#include <LedMeasurement.h>
#include <opencv2/core/core.hpp>
#include <algorithm>
#include <vector>

Go to the source code of this file.

Classes

struct  osvr::vbtracker::BlobData
 Data structure with a lot of info about a contour. More...
 
struct  osvr::vbtracker::BlobBasics
 Data structure with just a few bare facts about a contour. More...
 
struct  osvr::vbtracker::ImageRangeInfo
 
struct  osvr::vbtracker::ImageThresholdInfo
 
class  osvr::vbtracker::BasicThresholdBlobDetector
 

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 

Typedefs

using osvr::vbtracker::ContourType = std::vector< cv::Point2i >
 
using osvr::vbtracker::ContourList = std::vector< ContourType >
 

Functions

BlobData osvr::vbtracker::getBlobDataFromContour (ContourType const &contour)
 
BlobBasics osvr::vbtracker::getContourBasicDetails (ContourType const &contour)
 
double osvr::vbtracker::getConvexity (ContourType const &contour, const double area)
 Returns a value in [0, 1] that is the ratio of the contour's area as provided to the area of the contour's convex hull. More...
 

Detailed Description

Header.

Date
2016
Author
Sensics, Inc. http://sensics.com/osvr

Function Documentation

§ getBlobDataFromContour()

BlobData osvr::vbtracker::getBlobDataFromContour ( ContourType const &  contour)

because argument evaluation order is not defined.

§ getConvexity()

double osvr::vbtracker::getConvexity ( ContourType const &  contour,
const double  area 
)

Returns a value in [0, 1] that is the ratio of the contour's area as provided to the area of the contour's convex hull.