OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cvUtils.h File Reference

Header. More...

#include <BlobExtractor.h>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <cstdint>
#include <random>
#include <utility>
#include <vector>

Go to the source code of this file.

Namespaces

 osvr
 <
 

Enumerations

enum  { HIERARCHY_NEXT_SIBLING_CONTOUR = 0, HIERARCHY_PREV_SIBLING_CONTOUR = 1, HIERARCHY_FIRST_CHILD_CONTOUR = 2, HIERARCHY_PARENT_CONTOUR = 3 }
 

Functions

cv::Point2f osvr::vbtracker::castPointToFloat (cv::Point2d const &p)
 
void osvr::vbtracker::drawSubpixelPoint (cv::Mat image, cv::Point2d point, cv::Scalar color=cv::Scalar(0, 0, 0), double radius=1., std::uint8_t fractionalBits=3)
 
template<typename F >
cv::Mat osvr::vbtracker::drawFunctorColoredContours (cv::Mat const &baseImage, std::vector< ContourType > const &contours, F &&colorFunc, bool fillContours=false, double centerDotRadius=1.2, bool colorCenterDot=true)
 
cv::Mat osvr::vbtracker::drawColoredContours (cv::Mat const &baseImage, std::vector< ContourType > const &contours, bool deterministic=true, bool fillContours=false, double centerDotRadius=1.2, bool colorCenterDot=true)
 
cv::Mat osvr::vbtracker::drawSingleColoredContours (cv::Mat const &baseImage, std::vector< ContourType > const &contours, cv::Scalar color, bool fillContours=false, double centerDotRadius=1.2, bool colorCenterDot=true)
 
template<typename F >
std::vector< ContourType > osvr::vbtracker::getOutsidesOfConnectedComponents (cv::Mat input, F &&additionalPredicate)
 
template<typename F >
void osvr::vbtracker::consumeHolesOfConnectedComponents (cv::InputOutputArray input, std::vector< ContourType > &contoursTempStorage, std::vector< cv::Vec4i > &hierarchyTempStorage, F &&continuation)
 
template<typename F >
void osvr::vbtracker::consumeHolesOfConnectedComponents (cv::InputOutputArray input, F &&continuation)
 Calls a continuation on every hole of a connected component.
 

Detailed Description

Header.

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

Definition in file cvUtils.h.