|
Autoware.Auto
|
|
Configuration class for euclidean cluster In the future this can become a base class with subclasses defining different threshold functions. This configuration's threshold function currently assumes isotropy, and minor details in the clustering implementation also assume this property. More...
#include <euclidean_cluster.hpp>
Public Member Functions | |
| Config (const std::string &frame_id, const std::size_t min_cluster_size, const std::size_t max_num_clusters) | |
| Constructor. More... | |
| std::size_t | min_cluster_size () const |
| Gets minimum number of points needed for a cluster to not be considered noise. More... | |
| std::size_t | max_num_clusters () const |
| Gets maximum preallocated number of clusters. More... | |
| const std::string & | frame_id () const |
| Get frame id. More... | |
Configuration class for euclidean cluster In the future this can become a base class with subclasses defining different threshold functions. This configuration's threshold function currently assumes isotropy, and minor details in the clustering implementation also assume this property.
| autoware::perception::segmentation::euclidean_cluster::Config::Config | ( | const std::string & | frame_id, |
| const std::size_t | min_cluster_size, | ||
| const std::size_t | max_num_clusters | ||
| ) |
Constructor.
| [in] | frame_id | The frame id for which all clusters are initialized with |
| [in] | min_cluster_size | The number of points that must be in a cluster before it is not considered noise |
| [in] | max_num_clusters | The maximum preallocated number of clusters in a scene |
| const std::string & autoware::perception::segmentation::euclidean_cluster::Config::frame_id | ( | ) | const |
Get frame id.
| std::size_t autoware::perception::segmentation::euclidean_cluster::Config::max_num_clusters | ( | ) | const |
Gets maximum preallocated number of clusters.
| std::size_t autoware::perception::segmentation::euclidean_cluster::Config::min_cluster_size | ( | ) | const |
Gets minimum number of points needed for a cluster to not be considered noise.