Resurgence (PY2022)
Codebase for the Husky Robotics 2021-2022 rover Resurgence
Loading...
Searching...
No Matches
src
ar
MarkerPattern.h
1
#pragma once
2
3
#include <
cstdint
>
4
#include <
memory
>
5
6
#include <
opencv2/core.hpp
>
7
8
namespace
AR {
9
14
28
class
MarkerPattern
{
29
private
:
33
uint8_t
data_region_size;
39
uint8_t
border_size;
44
int
id;
48
cv::Ptr<cv::Mat>
data_bits;
49
50
public
:
57
MarkerPattern
();
61
MarkerPattern
(
uint8_t
data_region_size,
uint8_t
border_size,
cv::Mat
bits,
int
id
);
62
bool
empty()
const
;
63
uint8_t
getDataRegionSize()
const
;
64
uint8_t
getBorderSize()
const
;
65
const
cv::Ptr<cv::Mat>
getDataBits()
const
;
66
int
getId()
const
;
67
bool
operator==(
const
MarkerPattern
& other)
const
;
68
};
69
71
72
}
// namespace AR
memory
cstdint
AR::MarkerPattern::MarkerPattern
MarkerPattern()
Creates an empty marker, with a data region size, border size, and ID of 0, and an empty matrix for t...
Definition
MarkerPattern.cpp:25
cv::Mat
core.hpp
cv::Ptr
std::shared_ptr< _Tp > Ptr
uint8_t
::uint8_t uint8_t
Generated by
1.13.2