Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
b
c
d
e
h
i
l
m
n
p
r
s
u
x
Typedefs
b
c
d
e
f
g
i
m
p
r
u
v
Enumerations
Enumerator
a
b
f
g
i
m
n
r
s
u
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
m
n
p
q
r
s
t
u
v
x
Enumerations
a
c
d
e
f
k
l
m
p
r
s
t
v
w
Enumerator
a
b
d
f
g
h
i
l
m
n
o
p
r
s
u
v
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
b
c
d
e
f
g
m
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
w
Typedefs
Enumerations
Enumerator
Macros
_
d
f
i
m
n
p
s
t
u
shared
depthai-shared
include
depthai-shared
datatype
RawEdgeDetectorConfig.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <cstdint>
3
#include <vector>
4
5
#include "
RawImgFrame.hpp
"
6
#include "
depthai-shared/common/Rect.hpp
"
7
#include "
depthai-shared/datatype/DatatypeEnum.hpp
"
8
#include "
depthai-shared/datatype/RawBuffer.hpp
"
9
#include "
depthai-shared/utility/Serialization.hpp
"
10
11
namespace
dai
{
12
14
struct
EdgeDetectorConfigData
{
20
std::vector<std::vector<int>>
sobelFilterHorizontalKernel
;
26
std::vector<std::vector<int>>
sobelFilterVerticalKernel
;
27
};
28
DEPTHAI_SERIALIZE_EXT
(
EdgeDetectorConfigData
, sobelFilterHorizontalKernel, sobelFilterVerticalKernel);
29
31
struct
RawEdgeDetectorConfig
:
public
RawBuffer
{
32
EdgeDetectorConfigData
config
;
33
34
void
serialize
(std::vector<std::uint8_t>& metadata,
DatatypeEnum
& datatype)
const override
{
35
metadata =
utility::serialize
(*
this
);
36
datatype =
DatatypeEnum::EdgeDetectorConfig
;
37
};
38
39
DatatypeEnum
getType
()
const override
{
40
return
DatatypeEnum::EdgeDetectorConfig
;
41
}
42
43
DEPTHAI_SERIALIZE
(
RawEdgeDetectorConfig
,
config
);
44
};
45
46
}
// namespace dai
dai::DatatypeEnum
DatatypeEnum
Definition:
DatatypeEnum.hpp:7
dai::EdgeDetectorConfigData
EdgeDetectorConfigData configuration data structure.
Definition:
RawEdgeDetectorConfig.hpp:14
dai::DEPTHAI_SERIALIZE_EXT
DEPTHAI_SERIALIZE_EXT(CameraSensorConfig, width, height, minFps, maxFps, fov, type)
dai::RawEdgeDetectorConfig::serialize
void serialize(std::vector< std::uint8_t > &metadata, DatatypeEnum &datatype) const override
Definition:
RawEdgeDetectorConfig.hpp:34
dai::EdgeDetectorConfigData::sobelFilterHorizontalKernel
std::vector< std::vector< int > > sobelFilterHorizontalKernel
Definition:
RawEdgeDetectorConfig.hpp:20
dai::utility::serialize
bool serialize(const T &obj, std::vector< std::uint8_t > &data)
Definition:
Serialization.hpp:38
DatatypeEnum.hpp
dai::EdgeDetectorConfigData::sobelFilterVerticalKernel
std::vector< std::vector< int > > sobelFilterVerticalKernel
Definition:
RawEdgeDetectorConfig.hpp:26
RawImgFrame.hpp
RawBuffer.hpp
dai::RawEdgeDetectorConfig
RawEdgeDetectorConfig configuration structure.
Definition:
RawEdgeDetectorConfig.hpp:31
Serialization.hpp
dai::RawEdgeDetectorConfig::getType
DatatypeEnum getType() const override
Definition:
RawEdgeDetectorConfig.hpp:39
dai::RawEdgeDetectorConfig::config
EdgeDetectorConfigData config
Definition:
RawEdgeDetectorConfig.hpp:32
dai::RawEdgeDetectorConfig::DEPTHAI_SERIALIZE
DEPTHAI_SERIALIZE(RawEdgeDetectorConfig, config)
dai::RawBuffer
RawBuffer structure.
Definition:
RawBuffer.hpp:12
dai::DatatypeEnum::EdgeDetectorConfig
@ EdgeDetectorConfig
dai
Definition:
CameraExposureOffset.hpp:6
Rect.hpp
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19