31#ifndef DWFRAMEWORK_DWNODES_IMAGEPROCESSING_DWFEATUREDETECTORNODE_DWFEATUREDETECTORNODE_HPP_
32#define DWFRAMEWORK_DWNODES_IMAGEPROCESSING_DWFEATUREDETECTORNODE_DWFEATUREDETECTORNODE_HPP_
34#include <dw/imageprocessing/featuredetector/FeatureDetector_processpipeline.h>
35#include <dw/imageprocessing/features/FeatureList.h>
42#include <dwframework/dwnodes/common/channelpackets/FeatureList.hpp>
43#include <dwframework/dwnodes/common/channelpackets/Pyramid.hpp>
44#include <dwframework/dwnodes/common/channelpackets/SensorCommonTypes.hpp>
103 static constexpr char8_t LOG_TAG[]{
"dwFeatureDetectorNode"};
109 describePass(StringView{
"SETUP"}, DW_PROCESSOR_TYPE_CPU),
110 describePass(StringView{
"DETECT_NEW_FEATURE"}, DW_PROCESSOR_TYPE_GPU),
111 describePass(StringView{
"TEARDOWN"}, DW_PROCESSOR_TYPE_CPU));
122 describeConstructorArgument<dwFeatureDetectorNodeParams>(
126 &dwFeatureDetectorNodeParams::initForCamera),
128 dwCameraModelHandle_t,
137 dwFeature2DDetectorType,
138 "featureDetectorType"_sv,
152 "maxFeatureCount"_sv,
154 describeConstructorArgument<dwFeatureDetectorNodeRuntimeParams>(
159 describeConstructorArgument<dwContextHandle_t>(
161 dwContextHandle_t)));
166 const dwContextHandle_t ctx);
#define DW_DESCRIBE_INDEX_PARAMETER_WITH_SEMANTIC(TYPE_NAME, SEMANTIC_TYPE_NAME, args...)
#define DW_DESCRIBE_INDEX_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_UNNAMED_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_PORT(TYPE_NAME, NAME, args...)
ExceptionSafeProcessNode(std::unique_ptr< Node > impl)
The interface to access parameter values identified by name and/or (semantic) type.
static constexpr auto describeOutputPorts()
static constexpr auto describeInputPorts()
static constexpr auto describeParameters()
static std::unique_ptr< dwFeatureDetectorNode > create(ParameterProvider &provider)
static constexpr auto describePasses()
void onChannelsConnected() override
dwFeatureDetectorNode(const dwFeatureDetectorNodeParams ¶ms, const dwFeatureDetectorNodeRuntimeParams &runtimeParams, const dwContextHandle_t ctx)
static constexpr char8_t LOG_TAG[]
dwStatus setRuntimeParams(const dwFeatureDetectorNodeRuntimeParams &runtimeParams)
cupvaStream_t cupvastream
Data Type of pyramid.
constexpr std::tuple describeConstructorArguments()
dwTransformation3f extrinsic
constexpr PassDescriptorT< 0 > describePass(dw::core::StringView &&name, dwProcessorType processorType)
constexpr auto describePassCollection(const Args &&... args) -> std::tuple< Args... >
constexpr auto describePortCollection(Args &&... args) -> dw::core::Tuple< Args... >
uint32_t rrSehErrorCode
Wait time for nvSciChannel.
dwFeatureDetectorNodeParams { bool initForCamera dwFeatureDetectorNodeParams
dwFeature2DDetectorConfig dwDetectorParams
dwCameraModelHandle_t intrinsic
dwFeatureDetectorNodeRuntimeParams { uint8_t *d_mask dwFeatureDetectorNodeRuntimeParams