Monado OpenXR Runtime
hg_image_math.inl File Reference

Helper header for drawing and image transforms. More...

#include "hg_sync.hpp"
Include dependency graph for hg_image_math.inl:

Functions

template<typename T >
xrt::tracking::hand::mercury::transformVecBy2x3 (T in, cv::Matx23f warp_back)
 This is a template so that we can use xrt_vec3 or xrt_vec2. More...
 
static cv::Scalar xrt::tracking::hand::mercury::hsv2rgb (float fH, float fS, float fV)
 
void xrt::tracking::hand::mercury::handDot (cv::Mat &mat, xrt_vec2 place, float radius, float hue, float intensity, int type)
 
void xrt::tracking::hand::mercury::handSquare (cv::Mat &debug_frame, xrt_vec2 center, float radius, cv::Scalar color)
 

Detailed Description

Helper header for drawing and image transforms.

Author
Moses Turner moses.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Function Documentation

◆ transformVecBy2x3()

template<typename T >
T xrt::tracking::hand::mercury::transformVecBy2x3 ( in,
cv::Matx23f  warp_back 
)

This is a template so that we can use xrt_vec3 or xrt_vec2.

Please don't use this for anything other than xrt_vec3 or xrt_vec2!

References xrt::tracking::hand::mercury::transformVecBy2x3().

Referenced by xrt::tracking::hand::mercury::transformVecBy2x3().