Classes | Public Types | Public Member Functions | Public Attributes | List of all members
dai::RawFeatureTrackerConfig::MotionEstimator Struct Reference

#include <RawFeatureTrackerConfig.hpp>

Classes

struct  OpticalFlow
 

Public Types

enum  Type : std::int32_t { Type::LUCAS_KANADE_OPTICAL_FLOW, Type::HW_MOTION_ESTIMATION }
 

Public Member Functions

 DEPTHAI_SERIALIZE (MotionEstimator, enable, type, opticalFlow)
 

Public Attributes

bool enable = true
 
OpticalFlow opticalFlow
 
Type type = Type::LUCAS_KANADE_OPTICAL_FLOW
 

Detailed Description

Used for feature reidentification between current and previous features.

Definition at line 121 of file RawFeatureTrackerConfig.hpp.

Member Enumeration Documentation

◆ Type

Enumerator
LUCAS_KANADE_OPTICAL_FLOW 

Using the pyramidal Lucas-Kanade optical flow method.

HW_MOTION_ESTIMATION 

Using a dense motion estimation hardware block (Block matcher).

Definition at line 127 of file RawFeatureTrackerConfig.hpp.

Member Function Documentation

◆ DEPTHAI_SERIALIZE()

dai::RawFeatureTrackerConfig::MotionEstimator::DEPTHAI_SERIALIZE ( MotionEstimator  ,
enable  ,
type  ,
opticalFlow   
)

Member Data Documentation

◆ enable

bool dai::RawFeatureTrackerConfig::MotionEstimator::enable = true

Enable motion estimation or not.

Definition at line 125 of file RawFeatureTrackerConfig.hpp.

◆ opticalFlow

OpticalFlow dai::RawFeatureTrackerConfig::MotionEstimator::opticalFlow

Optical flow configuration. Takes effect only if MotionEstimator algorithm type set to LUCAS_KANADE_OPTICAL_FLOW.

Definition at line 191 of file RawFeatureTrackerConfig.hpp.

◆ type

Type dai::RawFeatureTrackerConfig::MotionEstimator::type = Type::LUCAS_KANADE_OPTICAL_FLOW

Motion estimator algorithm type.

Definition at line 140 of file RawFeatureTrackerConfig.hpp.


The documentation for this struct was generated from the following file:


depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:20