Skip to main content

PreprocessRoi Struct

One runtime ROI window consumed by preprocessing. More...

Declaration

struct simaai::neat::PreprocessRoi { ... }

Included Headers

#include <TensorCore.h>

Public Member Attributes Index

intbatch_index = 0

Source image index inside the incoming image batch. More...

intx = 0

ROI left coordinate in source-frame pixels. More...

inty = 0

ROI top coordinate in source-frame pixels. More...

intwidth = 0

ROI width in pixels; must be positive when active. More...

intheight = 0

ROI height in pixels; must be positive when active. More...

Description

One runtime ROI window consumed by preprocessing.

batch_index selects the source image inside the incoming image batch. x/y are signed so callers can request windows that partly fall outside the source image; preprocess pads those out-of-frame pixels.

Definition at line 289 of file TensorCore.h.

Public Member Attributes

batch_index

int simaai::neat::PreprocessRoi::batch_index = 0

Source image index inside the incoming image batch.

Definition at line 290 of file TensorCore.h.

height

int simaai::neat::PreprocessRoi::height = 0

ROI height in pixels; must be positive when active.

Definition at line 294 of file TensorCore.h.

width

int simaai::neat::PreprocessRoi::width = 0

ROI width in pixels; must be positive when active.

Definition at line 293 of file TensorCore.h.

x

int simaai::neat::PreprocessRoi::x = 0

ROI left coordinate in source-frame pixels.

Definition at line 291 of file TensorCore.h.

y

int simaai::neat::PreprocessRoi::y = 0

ROI top coordinate in source-frame pixels.

Definition at line 292 of file TensorCore.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.