Autoware.Auto
autoware::perception::segmentation::euclidean_cluster::details Namespace Reference

Common euclidean cluster functions not intended for external use. More...

Typedefs

using BoundingBox = autoware_auto_msgs::msg::BoundingBox
 
using BoundingBoxArray = autoware_auto_msgs::msg::BoundingBoxArray
 

Functions

EUCLIDEAN_CLUSTER_PUBLIC BoundingBox compute_lfit_bounding_box (Cluster &cls)
 Compute lfit bounding box from individual cluster. More...
 
EUCLIDEAN_CLUSTER_PUBLIC BoundingBox compute_eigenbox (const Cluster &cls)
 Compute eigenbox from individual cluster. More...
 
EUCLIDEAN_CLUSTER_PUBLIC void compute_lfit_bounding_boxes (Clusters &clusters, BoundingBoxArray &boxes)
 Compute lfit bounding boxes from clusters. More...
 
EUCLIDEAN_CLUSTER_PUBLIC void compute_lfit_bounding_boxes_with_z (Clusters &clusters, BoundingBoxArray &boxes)
 Compute lfit bounding boxes from clusters, including z coordinate. More...
 
EUCLIDEAN_CLUSTER_PUBLIC void compute_eigenboxes (const Clusters &clusters, BoundingBoxArray &boxes)
 Compute eigenboxes from clusters. More...
 
EUCLIDEAN_CLUSTER_PUBLIC void compute_eigenboxes_with_z (const Clusters &clusters, BoundingBoxArray &boxes)
 Compute eigenboxes from clusters, including z coordinate. More...
 

Detailed Description

Common euclidean cluster functions not intended for external use.

Typedef Documentation

◆ BoundingBox

using autoware::perception::segmentation::euclidean_cluster::details::BoundingBox = typedef autoware_auto_msgs::msg::BoundingBox

◆ BoundingBoxArray

using autoware::perception::segmentation::euclidean_cluster::details::BoundingBoxArray = typedef autoware_auto_msgs::msg::BoundingBoxArray

Function Documentation

◆ compute_eigenbox()

BoundingBox autoware::perception::segmentation::euclidean_cluster::details::compute_eigenbox ( const Cluster cls)

Compute eigenbox from individual cluster.

Parameters
[in]clsThe cluster for which to compute the bounding box
Returns
Best fit eigenbox

◆ compute_eigenboxes()

void autoware::perception::segmentation::euclidean_cluster::details::compute_eigenboxes ( const Clusters clusters,
BoundingBoxArray boxes 
)

Compute eigenboxes from clusters.

Parameters
[out]boxesMessage that gets filled with the resulting bounding boxes
[in]clustersA set of clusters for which to compute the bounding boxes

◆ compute_eigenboxes_with_z()

void autoware::perception::segmentation::euclidean_cluster::details::compute_eigenboxes_with_z ( const Clusters clusters,
BoundingBoxArray boxes 
)

Compute eigenboxes from clusters, including z coordinate.

Parameters
[out]boxesMessage that gets filled with the resulting bounding boxes
[in]clustersA set of clusters for which to compute the bounding boxes

◆ compute_lfit_bounding_box()

BoundingBox autoware::perception::segmentation::euclidean_cluster::details::compute_lfit_bounding_box ( Cluster cls)

Compute lfit bounding box from individual cluster.

Parameters
[in,out]clsThe cluster for which to compute the bounding box, gets shuffled
Returns
Lfit bounding box

◆ compute_lfit_bounding_boxes()

void autoware::perception::segmentation::euclidean_cluster::details::compute_lfit_bounding_boxes ( Clusters clusters,
BoundingBoxArray boxes 
)

Compute lfit bounding boxes from clusters.

Parameters
[out]boxesMessage that gets filled with the resulting bounding boxes
[in,out]clustersA set of clusters for which to compute the bounding boxes. Individual clusters get their points shuffled

◆ compute_lfit_bounding_boxes_with_z()

void autoware::perception::segmentation::euclidean_cluster::details::compute_lfit_bounding_boxes_with_z ( Clusters clusters,
BoundingBoxArray boxes 
)

Compute lfit bounding boxes from clusters, including z coordinate.

Parameters
[out]boxesMessage that gets filled with the resulting bounding boxes
[in,out]clustersA set of clusters for which to compute the bounding boxes. Individual clusters get their points shuffled