OSVR-Core
|
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... | |
Implementation.
BlobData osvr::vbtracker::getBlobDataFromContour | ( | ContourType const & | contour | ) |
because argument evaluation order is not defined.
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.