Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::perception::lidar::SppLabelImage Class Reference

#include <spp_label_image.h>

Collaboration diagram for apollo::perception::lidar::SppLabelImage:
Collaboration graph

Public Member Functions

 SppLabelImage ()
 
 ~SppLabelImage ()
 
void Init (size_t width, size_t height, const std::string &sensor_name="velodyne64")
 
void InitRangeMask (float range, float boundary_distance)
 
void CollectClusterFromSppLabelImage ()
 
void ProjectClusterToSppLabelImage ()
 
void FilterClusters (const float *confidence_map, float threshold)
 
void FilterClusters (const float *confidence_map, const float *category_map, float confidence_threshold, float category_threshold)
 
void CalculateClusterClass (const float *class_map, size_t class_num)
 
void CalculateClusterHeading (const float *heading_map)
 
void CalculateClusterTopZ (const float *top_z_map)
 
uint16_t ** GetSppLabelImage ()
 
const uint16_t *const * GetSppLabelImage () const
 
std::vector< SppClusterPtr > & GetClusters ()
 
const std::vector< SppClusterPtr > & GetClusters () const
 
uint16_t * operator[] (size_t id)
 
const uint16_t * operator[] (size_t id) const
 
size_t GetClusterNum () const
 
SppClusterPtr GetCluster (size_t id)
 
SppClusterConstPtr GetCluster (size_t id) const
 
void AddPixelSample (size_t id, uint16_t x, uint16_t y)
 
void AddPixelSample (size_t id, uint32_t pixel)
 
void ClearClusters ()
 
void ResizeClusters (size_t size)
 
void ResetClusters (size_t size)
 

Constructor & Destructor Documentation

◆ SppLabelImage()

apollo::perception::lidar::SppLabelImage::SppLabelImage ( )
inline

◆ ~SppLabelImage()

apollo::perception::lidar::SppLabelImage::~SppLabelImage ( )
inline

Member Function Documentation

◆ AddPixelSample() [1/2]

void apollo::perception::lidar::SppLabelImage::AddPixelSample ( size_t  id,
uint16_t  x,
uint16_t  y 
)
inline

◆ AddPixelSample() [2/2]

void apollo::perception::lidar::SppLabelImage::AddPixelSample ( size_t  id,
uint32_t  pixel 
)

◆ CalculateClusterClass()

void apollo::perception::lidar::SppLabelImage::CalculateClusterClass ( const float *  class_map,
size_t  class_num 
)

◆ CalculateClusterHeading()

void apollo::perception::lidar::SppLabelImage::CalculateClusterHeading ( const float *  heading_map)

◆ CalculateClusterTopZ()

void apollo::perception::lidar::SppLabelImage::CalculateClusterTopZ ( const float *  top_z_map)

◆ ClearClusters()

void apollo::perception::lidar::SppLabelImage::ClearClusters ( )
inline

◆ CollectClusterFromSppLabelImage()

void apollo::perception::lidar::SppLabelImage::CollectClusterFromSppLabelImage ( )

◆ FilterClusters() [1/2]

void apollo::perception::lidar::SppLabelImage::FilterClusters ( const float *  confidence_map,
float  threshold 
)

◆ FilterClusters() [2/2]

void apollo::perception::lidar::SppLabelImage::FilterClusters ( const float *  confidence_map,
const float *  category_map,
float  confidence_threshold,
float  category_threshold 
)

◆ GetCluster() [1/2]

SppClusterPtr apollo::perception::lidar::SppLabelImage::GetCluster ( size_t  id)
inline

◆ GetCluster() [2/2]

SppClusterConstPtr apollo::perception::lidar::SppLabelImage::GetCluster ( size_t  id) const
inline

◆ GetClusterNum()

size_t apollo::perception::lidar::SppLabelImage::GetClusterNum ( ) const
inline

◆ GetClusters() [1/2]

std::vector<SppClusterPtr>& apollo::perception::lidar::SppLabelImage::GetClusters ( )
inline

◆ GetClusters() [2/2]

const std::vector<SppClusterPtr>& apollo::perception::lidar::SppLabelImage::GetClusters ( ) const
inline

◆ GetSppLabelImage() [1/2]

uint16_t** apollo::perception::lidar::SppLabelImage::GetSppLabelImage ( )
inline

◆ GetSppLabelImage() [2/2]

const uint16_t* const* apollo::perception::lidar::SppLabelImage::GetSppLabelImage ( ) const
inline

◆ Init()

void apollo::perception::lidar::SppLabelImage::Init ( size_t  width,
size_t  height,
const std::string &  sensor_name = "velodyne64" 
)

◆ InitRangeMask()

void apollo::perception::lidar::SppLabelImage::InitRangeMask ( float  range,
float  boundary_distance 
)

◆ operator[]() [1/2]

uint16_t* apollo::perception::lidar::SppLabelImage::operator[] ( size_t  id)
inline

◆ operator[]() [2/2]

const uint16_t* apollo::perception::lidar::SppLabelImage::operator[] ( size_t  id) const
inline

◆ ProjectClusterToSppLabelImage()

void apollo::perception::lidar::SppLabelImage::ProjectClusterToSppLabelImage ( )

◆ ResetClusters()

void apollo::perception::lidar::SppLabelImage::ResetClusters ( size_t  size)

◆ ResizeClusters()

void apollo::perception::lidar::SppLabelImage::ResizeClusters ( size_t  size)

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