OSVR-Core
Classes | Namespaces | Functions
BlobExtractor.cpp File Reference

Implementation. More...

#include "BlobExtractor.h"
#include "cvUtils.h"
#include <opencv2/imgproc/imgproc.hpp>
#include <cmath>
#include <utility>

Classes

class  osvr::vbtracker::ContourInterrogation
 

Namespaces

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

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

Implementation.

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.