Skip to main content

TrackKLTOptions Struct

Pyramidal Lucas-Kanade / KLT tracker options. More...

Declaration

struct simaai::neat::TrackKLTOptions { ... }

Included Headers

#include <VisualFrontend.h>

Public Member Functions Index

std::stringsummary () const

Human-readable, non-throwing summary for logs, diagnostics, and Python repr. More...

Public Member Attributes Index

intwidth = 0

Input image width in pixels. More...

intheight = 0

Input image height in pixels. More...

intbatch_size = 1

Number of packed image/point sets in one dispatch. Public tensor shape uses this as N. More...

intnum_points = 0

Number of input points tracked per batch item. More...

intwin_half = 10

Half-window radius for LK tracking. Must fit the EV74 graph envelope. More...

intmax_iters = 30

Maximum LK solver iterations per pyramid level. Must be positive. More...

intmax_level = 3

Maximum pyramid level. Must fit the EV74 graph envelope. More...

intdetect_new_features = 0

When non-zero, publish detected replacement/new features as a third output. More...

intfast_threshold = 30

FAST threshold used only by the detect-new-features path. More...

intmax_features = 500

Maximum detected replacement/new features per batch item. More...

intgrid_x = 8

Horizontal grid cells for detect-new-features distribution. More...

intgrid_y = 6

Vertical grid cells for detect-new-features distribution. More...

intmin_px_dist = 10

Minimum pixel distance for detect-new-features. Must be non-negative. More...

intdebug = 0

EV graph debug level. Current native visual graphs accept values in [0,2]. More...

intnum_buffers = 0

Optional processcvu queue/buffer override. 0 keeps the plugin/runtime default. More...

std::stringelement_name

Optional GStreamer/processcvu element name. Empty means Neat generates a stable name. More...

std::stringprev_image_name = "prev_image"

Previous grayscale image tensor name. More...

std::stringcur_image_name = "cur_image"

Current grayscale image tensor name. More...

std::stringinput_points_name = "input_points"

Input point tensor name. More...

std::stringoutput_points_name = "output_points"

Output tracked-point tensor name. More...

std::stringoutput_status_name = "output_status"

Output point-status tensor name. More...

std::stringoutput_features_name = "output_features"

Optional published feature-list tensor name when detect_new_features != 0. More...

Description

Pyramidal Lucas-Kanade / KLT tracker options.

Public ABI:

  • inputs:
    • prev_image_name, UInt8 [batch_size,height,width]
    • cur_image_name, UInt8 [batch_size,height,width]
    • input_points_name, Int32 [batch_size,num_points,2]
  • outputs when detect_new_features == 0:
    • output_points_name, Float32 [batch_size,num_points,2]
    • output_status_name, Int32 [batch_size,num_points,1]
  • outputs when detect_new_features == 1 additionally include:
    • output_features_name, Int32 [batch_size,1 + max_features*3]

The EV ABI always allocates the internal detected-features output; Neat only publishes it when detect_new_features != 0.

Definition at line 143 of file VisualFrontend.h.

Public Member Functions

summary()

std::string simaai::neat::TrackKLTOptions::summary ()

Human-readable, non-throwing summary for logs, diagnostics, and Python repr.

Definition at line 190 of file VisualFrontend.h.

Public Member Attributes

batch_size

int simaai::neat::TrackKLTOptions::batch_size = 1

Number of packed image/point sets in one dispatch. Public tensor shape uses this as N.

Definition at line 149 of file VisualFrontend.h.

cur_image_name

std::string simaai::neat::TrackKLTOptions::cur_image_name = "cur_image"

Current grayscale image tensor name.

Definition at line 179 of file VisualFrontend.h.

debug

int simaai::neat::TrackKLTOptions::debug = 0

EV graph debug level. Current native visual graphs accept values in [0,2].

Definition at line 171 of file VisualFrontend.h.

detect_new_features

int simaai::neat::TrackKLTOptions::detect_new_features = 0

When non-zero, publish detected replacement/new features as a third output.

Definition at line 159 of file VisualFrontend.h.

element_name

std::string simaai::neat::TrackKLTOptions::element_name

Optional GStreamer/processcvu element name. Empty means Neat generates a stable name.

Definition at line 175 of file VisualFrontend.h.

fast_threshold

int simaai::neat::TrackKLTOptions::fast_threshold = 30

FAST threshold used only by the detect-new-features path.

Definition at line 161 of file VisualFrontend.h.

grid_x

int simaai::neat::TrackKLTOptions::grid_x = 8

Horizontal grid cells for detect-new-features distribution.

Definition at line 165 of file VisualFrontend.h.

grid_y

int simaai::neat::TrackKLTOptions::grid_y = 6

Vertical grid cells for detect-new-features distribution.

Definition at line 167 of file VisualFrontend.h.

height

int simaai::neat::TrackKLTOptions::height = 0

Input image height in pixels.

Definition at line 147 of file VisualFrontend.h.

input_points_name

std::string simaai::neat::TrackKLTOptions::input_points_name = "input_points"

Input point tensor name.

Definition at line 181 of file VisualFrontend.h.

max_features

int simaai::neat::TrackKLTOptions::max_features = 500

Maximum detected replacement/new features per batch item.

Definition at line 163 of file VisualFrontend.h.

max_iters

int simaai::neat::TrackKLTOptions::max_iters = 30

Maximum LK solver iterations per pyramid level. Must be positive.

Definition at line 155 of file VisualFrontend.h.

max_level

int simaai::neat::TrackKLTOptions::max_level = 3

Maximum pyramid level. Must fit the EV74 graph envelope.

Definition at line 157 of file VisualFrontend.h.

min_px_dist

int simaai::neat::TrackKLTOptions::min_px_dist = 10

Minimum pixel distance for detect-new-features. Must be non-negative.

Definition at line 169 of file VisualFrontend.h.

num_buffers

int simaai::neat::TrackKLTOptions::num_buffers = 0

Optional processcvu queue/buffer override. 0 keeps the plugin/runtime default.

Definition at line 173 of file VisualFrontend.h.

num_points

int simaai::neat::TrackKLTOptions::num_points = 0

Number of input points tracked per batch item.

Definition at line 151 of file VisualFrontend.h.

output_features_name

std::string simaai::neat::TrackKLTOptions::output_features_name = "output_features"

Optional published feature-list tensor name when detect_new_features != 0.

Definition at line 187 of file VisualFrontend.h.

output_points_name

std::string simaai::neat::TrackKLTOptions::output_points_name = "output_points"

Output tracked-point tensor name.

Definition at line 183 of file VisualFrontend.h.

output_status_name

std::string simaai::neat::TrackKLTOptions::output_status_name = "output_status"

Output point-status tensor name.

Definition at line 185 of file VisualFrontend.h.

prev_image_name

std::string simaai::neat::TrackKLTOptions::prev_image_name = "prev_image"

Previous grayscale image tensor name.

Definition at line 177 of file VisualFrontend.h.

width

int simaai::neat::TrackKLTOptions::width = 0

Input image width in pixels.

Definition at line 145 of file VisualFrontend.h.

win_half

int simaai::neat::TrackKLTOptions::win_half = 10

Half-window radius for LK tracking. Must fit the EV74 graph envelope.

Definition at line 153 of file VisualFrontend.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.