\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.13.2 - Classification
CGAL::Classification::Feature::Echo_scatter< GeomTraits, PointRange, PointMap, EchoMap > Class Template Reference

#include <CGAL/Classification/Feature/Echo_scatter.h>

Inherits from

CGAL::Classification::Feature_base.

Definition

Feature based on echo scatter.

The number of returns (echo number) is a useful information provided by most LIDAR sensors. It can help to identify trees.

Its default name is "echo_scatter".

Template Parameters
GeomTraitsmodel of CGAL Kernel.
PointRangemodel of ConstRange. Its iterator type is RandomAccessIterator and its value type is the key type of PointMap.
PointMapmodel of ReadablePropertyMap whose key type is the value type of the iterator of PointRange and value type is GeomTraits::Point_3.
EchoMapmodel of ReadablePropertyMap whose key type is the value type of the iterator of PointRange and value type is std::size_t.

Public Types

typedef Classification::Planimetric_grid< GeomTraits, PointRange, PointMap > Grid
 

Public Member Functions

 Echo_scatter (const PointRange &input, EchoMap echo_map, const Grid &grid, float radius_neighbors=1.)
 Constructs the feature. More...
 
- Public Member Functions inherited from CGAL::Classification::Feature_base
const std::string & name () const
 Returns the name of the feature (initialized to abstract_feature for Feature_base).
 
void set_name (const std::string &name)
 Changes the name of the feature.
 
virtual float value (std::size_t index)=0
 Returns the value taken by the feature for at the item for the item at position index. More...
 

Constructor & Destructor Documentation

◆ Echo_scatter()

template<typename GeomTraits , typename PointRange , typename PointMap , typename EchoMap >
CGAL::Classification::Feature::Echo_scatter< GeomTraits, PointRange, PointMap, EchoMap >::Echo_scatter ( const PointRange &  input,
EchoMap  echo_map,
const Grid grid,
float  radius_neighbors = 1. 
)

Constructs the feature.

Parameters
inputpoint range.
echo_mapproperty map to access the echo values of the input points.
gridprecomputed Planimetric_grid.
radius_neighborsradius of local neighborhoods.