Simple heuristic functor that returns the IoU between two shapes.
More...
#include <greedy_roi_associator.hpp>
|
template<template< typename ... > class Iterable1T, template< typename ... > class Iterable2T, typename Point1T , typename Point2T > |
common::types::float32_t | operator() (const Iterable1T< Point1T > &shape1, const Iterable2T< Point2T > &shape2) const |
| Get the match score of a projection and a roi. More...
|
|
Simple heuristic functor that returns the IoU between two shapes.
◆ operator()()
template<template< typename ... > class Iterable1T, template< typename ... > class Iterable2T, typename Point1T , typename Point2T >
common::types::float32_t autoware::perception::tracking::IOUHeuristic::operator() |
( |
const Iterable1T< Point1T > & |
shape1, |
|
|
const Iterable2T< Point2T > & |
shape2 |
|
) |
| const |
|
inline |
Get the match score of a projection and a roi.
- Template Parameters
-
Iterable1T | A container class that has stl style iterators defined. |
Iterable2T | A container class that has stl style iterators defined. |
Point1T | Point type that have the adapters for the x and y fields. |
Point2T | Point type that have the adapters for the x and y fields. |
- Parameters
-
shape1 | Polygon 1 |
shape2 | Polygon 2 |
- Returns
- The IOU between two given shapes.
The documentation for this struct was generated from the following file: