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
include
depthai
pipeline
node
ImageAlign.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
depthai/pipeline/Node.hpp
>
4
5
// shared
6
#include <
depthai-shared/properties/ImageAlignProperties.hpp
>
7
8
#include "
depthai/pipeline/datatype/ImageAlignConfig.hpp
"
9
10
namespace
dai
{
11
namespace
node {
12
16
class
ImageAlign
:
public
NodeCRTP
<Node, ImageAlign, ImageAlignProperties> {
17
public
:
18
constexpr
static
const
char
*
NAME
=
"ImageAlign"
;
19
20
protected
:
21
Properties
&
getProperties
();
22
23
private
:
24
std::shared_ptr<RawImageAlignConfig>
rawConfig
;
25
26
public
:
27
ImageAlign
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId);
28
ImageAlign
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId, std::unique_ptr<Properties> props);
29
33
ImageAlignConfig
initialConfig
;
34
39
Input
inputConfig
{*
this
,
"inputConfig"
, Input::Type::SReceiver,
false
, 4, {{
DatatypeEnum::ImageAlignConfig
,
false
}}};
40
45
Input
input
{*
this
,
"input"
, Input::Type::SReceiver,
false
, 4,
true
, {{
DatatypeEnum::ImgFrame
,
false
}}};
46
51
Input
inputAlignTo
{*
this
,
"inputAlignTo"
, Input::Type::SReceiver,
false
, 1,
true
, {{
DatatypeEnum::ImgFrame
,
false
}}};
52
56
Output
outputAligned
{*
this
,
"outputAligned"
, Output::Type::MSender, {{
DatatypeEnum::ImgFrame
,
false
}}};
57
62
Output
passthroughInput
{*
this
,
"passthroughInput"
, Output::Type::MSender, {{
DatatypeEnum::ImgFrame
,
false
}}};
63
67
ImageAlign
&
setOutputSize
(
int
alignWidth,
int
alignHeight);
68
72
ImageAlign
&
setOutKeepAspectRatio
(
bool
keep);
73
77
ImageAlign
&
setInterpolation
(
Interpolation
interp);
78
82
ImageAlign
&
setNumShaves
(
int
numShaves);
83
87
ImageAlign
&
setNumFramesPool
(
int
numFramesPool);
88
};
89
90
}
// namespace node
91
}
// namespace dai
dai::node::ImageAlign::inputAlignTo
Input inputAlignTo
Definition:
ImageAlign.hpp:51
dai::node::ImageAlign::passthroughInput
Output passthroughInput
Definition:
ImageAlign.hpp:62
ImageAlignProperties.hpp
dai::node::ImageAlign::input
Input input
Definition:
ImageAlign.hpp:45
dai::node::ImageAlign::rawConfig
std::shared_ptr< RawImageAlignConfig > rawConfig
Definition:
ImageAlign.hpp:24
dai::node::ImageAlign::ImageAlign
ImageAlign(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId)
Definition:
ImageAlign.cpp:6
dai::node::ImageAlign::getProperties
Properties & getProperties()
Definition:
ImageAlign.cpp:15
dai::Node::Output
Definition:
Node.hpp:67
dai::NodeCRTP
Definition:
Node.hpp:342
dai::node::ImageAlign::setNumFramesPool
ImageAlign & setNumFramesPool(int numFramesPool)
Definition:
ImageAlign.cpp:40
ImageAlignConfig.hpp
dai::node::ImageAlign::outputAligned
Output outputAligned
Definition:
ImageAlign.hpp:56
dai::Interpolation
Interpolation
Definition:
Interpolation.hpp:10
dai::node::ImageAlign::setOutputSize
ImageAlign & setOutputSize(int alignWidth, int alignHeight)
Definition:
ImageAlign.cpp:20
dai::node::ImageAlign
ImageAlign node. Calculates spatial location data on a set of ROIs on depth map.
Definition:
ImageAlign.hpp:16
dai::node::ImageAlign::setInterpolation
ImageAlign & setInterpolation(Interpolation interp)
Definition:
ImageAlign.cpp:30
dai::DatatypeEnum::ImageAlignConfig
@ ImageAlignConfig
dai::Properties
Base Properties structure.
Definition:
Properties.hpp:8
dai::node::ImageAlign::inputConfig
Input inputConfig
Definition:
ImageAlign.hpp:39
dai::node::ImageAlign::setOutKeepAspectRatio
ImageAlign & setOutKeepAspectRatio(bool keep)
Definition:
ImageAlign.cpp:25
dai::DatatypeEnum::ImgFrame
@ ImgFrame
dai
Definition:
CameraExposureOffset.hpp:6
Node.hpp
dai::node::ImageAlign::initialConfig
ImageAlignConfig initialConfig
Definition:
ImageAlign.hpp:33
dai::ImageAlignConfig
Definition:
ImageAlignConfig.hpp:11
dai::node::ImageAlign::setNumShaves
ImageAlign & setNumShaves(int numShaves)
Definition:
ImageAlign.cpp:35
dai::node::ImageAlign::NAME
constexpr static const char * NAME
Definition:
ImageAlign.hpp:18
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19