Monado OpenXR Runtime
t_debug_hsv_viewer.cpp File Reference

HSV debug viewer code. More...

#include "util/u_misc.h"
#include "util/u_debug.h"
#include "util/u_format.h"
#include "tracking/t_tracking.h"
#include <opencv2/opencv.hpp>
Include dependency graph for t_debug_hsv_viewer.cpp:

Data Structures

class  DebugHSVViewer
 An xrt_frame_sink related to debug viewing of HSV. More...
 

Macros

#define HSV_WIN   "HSV Filter Tester"
 
#define SIZE   256
 
#define NUM_CHAN   4
 

Functions

static void process_pixel (bool f1, bool f1_diff, uint8_t *hsv_cap, uint8_t *hsv_opt, uint8_t *hsv_diff, const uint8_t *rgb)
 
static void process_frame (DebugHSVViewer &d, struct xrt_frame *xf)
 
void t_debug_hsv_viewer_frame (struct xrt_frame_sink *xsink, struct xrt_frame *xf)
 
void t_debug_hsv_viewer_break_apart (struct xrt_frame_node *node)
 
void t_debug_hsv_viewer_destroy (struct xrt_frame_node *node)
 
int t_debug_hsv_viewer_create (struct xrt_frame_context *xfctx, struct xrt_frame_sink *passthrough, struct xrt_frame_sink **out_sink)
 

Detailed Description

HSV debug viewer code.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m