Class JumpDistanceSegmentation

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class JumpDistanceSegmentation : public Segmentation

Subclassed by JumpDistanceSegmentationMerge

Public Types

typedef std::shared_ptr<JumpDistanceSegmentation> SharedPtr

Public Functions

virtual void initialize_segmentation(double distance, double angle_resolution, double noise_reduction, std::string method = "")
virtual void perform_segmentation(const std::vector<slg::Point2D> points, std::vector<slg::Segment2D> &segments)

Protected Functions

bool is_jump_between(const slg::Point2D point1, const slg::Point2D point2)
bool is_jump_between(const slg::Segment2D segment1, const slg::Segment2D segment2)
double calculate_lee_threshold(const slg::Point2D point1, const slg::Point2D point2)
double calculate_diet_threshold(const slg::Point2D point1, const slg::Point2D point2)
double calculate_santos_threshold(const slg::Point2D point1, const slg::Point2D point2)

Protected Attributes

double jump_distance_
double angle_resolution_
double noise_reduction_
std::string threshold_method_