|
Apollo 11.0
自动驾驶开放平台
|
#include <preprocess_points.h>
Public 成员函数 | |
| PreprocessPoints (const int max_num_pillars, const int max_points_per_pillar, const int num_point_feature, const int grid_x_size, const int grid_y_size, const int grid_z_size, const float pillar_x_size, const float pillar_y_size, const float pillar_z_size, const float min_x_range, const float min_y_range, const float min_z_range, const int num_inds_for_scan) | |
| Constructor | |
| void | Preprocess (const float *in_points_array, int in_num_points, int *x_coors, int *y_coors, float *num_points_per_pillar, float *pillar_point_feature, float *pillar_coors, float *sparse_pillar_map, int *host_pillar_count) |
| CPU preprocessing for input pointcloud | |
| void | InitializeVariables (int *coor_to_pillaridx, float *sparse_pillar_map, float *pillar_point_feature, float *pillar_coors) |
| Initializing variables for preprocessing | |
友元 | |
| class | TestClass |
在文件 preprocess_points.h 第 46 行定义.
| apollo::perception::lidar::PreprocessPoints::PreprocessPoints | ( | const int | max_num_pillars, |
| const int | max_points_per_pillar, | ||
| const int | num_point_feature, | ||
| const int | grid_x_size, | ||
| const int | grid_y_size, | ||
| const int | grid_z_size, | ||
| const float | pillar_x_size, | ||
| const float | pillar_y_size, | ||
| const float | pillar_z_size, | ||
| const float | min_x_range, | ||
| const float | min_y_range, | ||
| const float | min_z_range, | ||
| const int | num_inds_for_scan | ||
| ) |
Constructor
| [in] | max_num_pillars | Maximum number of pillars |
| [in] | max_points_per_pillar | Maximum number of points per pillar |
| [in] | num_point_feature | Number of features in a point |
| [in] | grid_x_size | Number of pillars in x-coordinate |
| [in] | grid_y_size | Number of pillars in y-coordinate |
| [in] | grid_z_size | Number of pillars in z-coordinate |
| [in] | pillar_x_size | Size of x-dimension for a pillar |
| [in] | pillar_y_size | Size of y-dimension for a pillar |
| [in] | pillar_z_size | Size of z-dimension for a pillar |
| [in] | min_x_range | Minimum x value for pointcloud |
| [in] | min_y_range | Minimum y value for pointcloud |
| [in] | min_z_range | Minimum z value for pointcloud |
| [in] | num_inds_for_scan | Number of indexes for scan(cumsum) |
Captital variables never change after the compile
在文件 preprocess_points.cc 第 44 行定义.
| void apollo::perception::lidar::PreprocessPoints::InitializeVariables | ( | int * | coor_to_pillaridx, |
| float * | sparse_pillar_map, | ||
| float * | pillar_point_feature, | ||
| float * | pillar_coors | ||
| ) |
Initializing variables for preprocessing
| [in] | coor_to_pillaridx | Map for converting one set of coordinate to a pillar |
| [in] | sparse_pillar_map | Grid map representation for pillar-occupancy |
| [in] | pillar_point_feature | Values for features of points in each pillar |
| [in] | pillar_coors | Array for coors of pillars |
Initializeing input arguments with certain values
在文件 preprocess_points.cc 第 64 行定义.
| void apollo::perception::lidar::PreprocessPoints::Preprocess | ( | const float * | in_points_array, |
| int | in_num_points, | ||
| int * | x_coors, | ||
| int * | y_coors, | ||
| float * | num_points_per_pillar, | ||
| float * | pillar_point_feature, | ||
| float * | pillar_coors, | ||
| float * | sparse_pillar_map, | ||
| int * | host_pillar_count | ||
| ) |
CPU preprocessing for input pointcloud
| [in] | in_points_array | Pointcloud array |
| [in] | in_num_points | The number of points |
| [in] | x_coors | X-coordinate indexes for corresponding pillars |
| [in] | y_coors | Y-coordinate indexes for corresponding pillars |
| [in] | num_points_per_pillar | Number of points in corresponding pillars |
| [in] | pillar_point_feature | Values for features of points in each pillar |
| [in] | pillar_coors | Array for coors of pillars |
| [in] | sparse_pillar_map | Grid map representation for pillar-occupancy |
| [in] | host_pillar_count | The numnber of valid pillars for the input pointcloud |
Convert pointcloud to pillar representation
在文件 preprocess_points.cc 第 91 行定义.
|
friend |
在文件 preprocess_points.h 第 48 行定义.