LineOutlierDetectionParameters
LineOutlierDetectionParameters
Parameters for the line outlier detection operation. More…
#include <line_outlier_detection.hpp>
Inherits from GroupingTransformParametersBase, TransformParametersBase
Public Functions
| Name | |
|---|---|
| LineOutlierDetectionParameters(EntityGroupManager * group_manager =[nullptr]) |
Public Attributes
| Name | |
|---|---|
| double | dt |
| double | process_noise_position |
| double | process_noise_velocity |
| double | process_noise_length |
| double | measurement_noise_position |
| double | measurement_noise_length |
| double | initial_position_uncertainty |
| double | initial_velocity_uncertainty |
| double | initial_length_uncertainty |
| double | mad_threshold |
| std::vector< GroupId > | groups_to_process |
| std::string | outlier_group_name |
| bool | verbose_output |
Additional inherited members
Public Functions inherited from GroupingTransformParametersBase
| Name | |
|---|---|
| GroupingTransformParametersBase(EntityGroupManager * group_manager =[nullptr]) | |
| virtual | ~GroupingTransformParametersBase() =default |
| EntityGroupManager * | getGroupManager() const Get the current EntityGroupManager. |
| void | setGroupManager(EntityGroupManager * group_manager) Set the EntityGroupManager. |
| bool | hasValidGroupManager() const Check if the group manager is valid. |
Public Functions inherited from TransformParametersBase
| Name | |
|---|---|
| virtual | ~TransformParametersBase() =default |
Detailed Description
struct LineOutlierDetectionParameters;Parameters for the line outlier detection operation.
This operation uses Kalman filtering and smoothing to detect outliers in grouped line data. It processes each existing group independently, performing forward-backward smoothing and identifying entities whose measurements deviate significantly from the smoothed trajectory.
Features used for outlier detection:
The algorithm detects outliers by comparing raw measurements to smoothed predictions:
- Computes Mahalanobis distance (cost) between each measurement and its smoothed state
- Flags measurements with cost > threshold as outliers (noisy measurements)
- The cost measures how many standard deviations the measurement is from the prediction
Recommended threshold values:
- 3.0: Conservative (flags ~1% as outliers if noise is Gaussian)
- 5.0: Very conservative (flags ~0.025% as outliers)
- Higher values = fewer detections, more tolerance for measurement noise
Public Functions Documentation
function LineOutlierDetectionParameters
inline explicit LineOutlierDetectionParameters(
EntityGroupManager * group_manager =nullptr
)Public Attributes Documentation
variable dt
double dt = 1.0;variable process_noise_position
double process_noise_position = 10.0;variable process_noise_velocity
double process_noise_velocity = 1.0;variable process_noise_length
double process_noise_length = 0.1;variable measurement_noise_position
double measurement_noise_position = 5.0;variable measurement_noise_length
double measurement_noise_length = 10.0;variable initial_position_uncertainty
double initial_position_uncertainty = 50.0;variable initial_velocity_uncertainty
double initial_velocity_uncertainty = 10.0;variable initial_length_uncertainty
double initial_length_uncertainty = 20.0;variable mad_threshold
double mad_threshold = 11.34;variable groups_to_process
std::vector< GroupId > groups_to_process;variable outlier_group_name
std::string outlier_group_name = "Outliers";variable verbose_output
bool verbose_output = false;Updated on 2026-11-13 at 20:25:39 +0000