Interface class for anchor projection operations.
This abstract class defines the interface for anchor projection operations that transform anchors based on time and coordinate transformations.
Definition at line 32 of file sources/gst-plugins/gst-nvdsvideotemplate/ds-sparse4d/postprocess/instance_bank.h.
|
| virtual | ~AnchorHandler ()=default |
| |
| virtual std::vector< torch::Tensor > | anchor_projection (const torch::Tensor &anchors, const std::vector< torch::Tensor > &transforms, const std::vector< torch::Tensor > &time_intervals)=0 |
| | Project anchors using transformation matrices and time intervals. More...
|
| |
| virtual | ~AnchorHandler ()=default |
| |
| virtual std::vector< torch::Tensor > | anchor_projection (const torch::Tensor &anchors, const std::vector< torch::Tensor > &transforms, const std::vector< torch::Tensor > &time_intervals)=0 |
| | Project anchors using transformation matrices and time intervals. More...
|
| |
◆ ~AnchorHandler() [1/2]
| virtual AnchorHandler::~AnchorHandler |
( |
| ) |
|
|
virtualdefault |
◆ ~AnchorHandler() [2/2]
| virtual AnchorHandler::~AnchorHandler |
( |
| ) |
|
|
virtualdefault |
◆ anchor_projection() [1/2]
| virtual std::vector<torch::Tensor> AnchorHandler::anchor_projection |
( |
const torch::Tensor & |
anchors, |
|
|
const std::vector< torch::Tensor > & |
transforms, |
|
|
const std::vector< torch::Tensor > & |
time_intervals |
|
) |
| |
|
pure virtual |
Project anchors using transformation matrices and time intervals.
- Parameters
-
| anchors | Input anchors to project |
| transforms | Transformation matrices for coordinate transforms |
| time_intervals | Time intervals for temporal projection |
- Returns
- Vector of projected anchor tensors
Implemented in SparseBox3DKeyPointsGenerator, and SparseBox3DKeyPointsGenerator.
◆ anchor_projection() [2/2]
| virtual std::vector<torch::Tensor> AnchorHandler::anchor_projection |
( |
const torch::Tensor & |
anchors, |
|
|
const std::vector< torch::Tensor > & |
transforms, |
|
|
const std::vector< torch::Tensor > & |
time_intervals |
|
) |
| |
|
pure virtual |
Project anchors using transformation matrices and time intervals.
- Parameters
-
| anchors | Input anchors to project |
| transforms | Transformation matrices for coordinate transforms |
| time_intervals | Time intervals for temporal projection |
- Returns
- Vector of projected anchor tensors
Implemented in SparseBox3DKeyPointsGenerator, and SparseBox3DKeyPointsGenerator.
The documentation for this class was generated from the following file: