VisionServer  v2.1.1-1-g21dc5465
FRC vision library
extensions.h File Reference
#include <array>
#include <type_traits>
#include "opencv2/opencv.hpp"
+ Include dependency graph for extensions.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  vs2
 

Enumerations

enum class  vs2::BGR { vs2::BLUE = 0 , vs2::GREEN = 1 , vs2::RED = 2 }
 

Functions

template<typename t = uint16_t>
vs2::operator~ (BGR v)
 

Variables

static std::array< std::array< uint16_t, 2 >, 3 > vs2::weights_map
 
static const std::array< std::array< cv::Scalar, 3 >, 3 > markup_map
 

Variable Documentation

◆ markup_map

const std::array<std::array<cv::Scalar, 3>, 3> markup_map
inlinestatic
Initial value:
{
std::array<cv::Scalar, 3>{cv::Scalar(255, 0, 0), cv::Scalar(255, 127, 0), cv::Scalar(255, 255, 0)},
std::array<cv::Scalar, 3>{cv::Scalar(0, 255, 0), cv::Scalar(0, 255, 127), cv::Scalar(0, 255, 255)},
std::array<cv::Scalar, 3>{cv::Scalar(0, 0, 255), cv::Scalar(127, 0, 255), cv::Scalar(255, 0, 255)},
}

Definition at line 34 of file extensions.h.