|
pcod-common v1.0.0
Shared preprocessing and postprocessing for point-cloud object detection
|
#include <point_preprocess.hpp>
Public Member Functions | |
| PointPreprocessor (const PointPreprocessConfig &config) | |
| bool | IsPointValid (float x, float y, float z) const |
| void | SetZScoreStats (float mean, float stddev) |
| float | NormalizePointFeature (float intensity) const |
Apply the configured geometric filters and scalar feature normalization.
Definition at line 46 of file point_preprocess.hpp.
|
inlineexplicit |
| config | Initial preprocessing configuration. |
Definition at line 49 of file point_preprocess.hpp.
| bool pcod_common::PointPreprocessor::IsPointValid | ( | float | x, |
| float | y, | ||
| float | z ) const |
| x | Point X. |
| y | Point Y. |
| z | Point Z. |
Definition at line 26 of file point_preprocess.cpp.
References pcod_common::PointPreprocessConfig::da_bearing_rad, pcod_common::PointPreprocessConfig::da_cx, pcod_common::PointPreprocessConfig::da_cy, pcod_common::PointPreprocessConfig::da_fov_rad, pcod_common::PointPreprocessConfig::da_radius, pcod_common::PointPreprocessConfig::det_area_remove_outside, pcod_common::PointPreprocessConfig::nd_x_max, pcod_common::PointPreprocessConfig::nd_x_min, pcod_common::PointPreprocessConfig::nd_y_max, pcod_common::PointPreprocessConfig::nd_y_min, pcod_common::PointPreprocessConfig::remove_points_in_zone, pcod_common::PointPreprocessConfig::x_max, pcod_common::PointPreprocessConfig::x_min, pcod_common::PointPreprocessConfig::y_max, pcod_common::PointPreprocessConfig::y_min, pcod_common::PointPreprocessConfig::z_max, and pcod_common::PointPreprocessConfig::z_min.
Referenced by main().
| float pcod_common::PointPreprocessor::NormalizePointFeature | ( | float | intensity | ) | const |
| intensity | Raw additional feature. |
Definition at line 68 of file point_preprocess.cpp.
References pcod_common::PointPreprocessConfig::epsilon, pcod_common::kMinMax, pcod_common::kNone, pcod_common::kValueThreshold, pcod_common::kZScore, pcod_common::PointPreprocessConfig::max_value, pcod_common::PointPreprocessConfig::min_value, pcod_common::PointPreprocessConfig::normalization_type, and pcod_common::PointPreprocessConfig::value_threshold.
Referenced by main().
| void pcod_common::PointPreprocessor::SetZScoreStats | ( | float | mean, |
| float | stddev ) |
| mean | Training mean. |
| stddev | Training standard deviation. |
Definition at line 63 of file point_preprocess.cpp.
References pcod_common::PointPreprocessConfig::epsilon.
Referenced by main().