39#include <pcl/stereo/disparity_map_converter.h>
98 setResolution(std::size_t resolution_column, std::size_t resolution_disparity);
~DigitalElevationMapBuilder() override
Empty destructor.
std::size_t resolution_column_
Column resolution of the DEM.
std::size_t resolution_disparity_
disparity resolution of the DEM.
void setResolution(std::size_t resolution_column, std::size_t resolution_disparity)
Set resolution of the DEM.
DigitalElevationMapBuilder()
DigitalElevationMapBuilder constructor.
std::size_t getMinPointsInCell() const
Get minimum amount of points in a DEM's cell.
std::size_t getDisparityResolution() const
Get disparity resolution of the DEM.
void compute(pcl::PointCloud< PointDEM > &out_cloud) override
Compute the Digital Elevation Map.
std::size_t getColumnResolution() const
Get column resolution of the DEM.
std::size_t min_points_in_cell_
Minimum amount of points in a DEM's cell.
void setMinPointsInCell(std::size_t min_points_in_cell)
Set minimum amount of points in a DEM's cell.
std::vector< float > disparity_map_
pcl::PointCloud< pcl::RGB >::ConstPtr image_
float disparity_threshold_max_
PointXYZ translateCoordinates(std::size_t row, std::size_t column, float disparity) const
std::size_t disparity_map_height_
std::size_t disparity_map_width_
float disparity_threshold_min_
PointCloud represents the base class in PCL for storing collections of 3D points.
Defines all the PCL implemented PointT point type structures.
A point structure representing Digital Elevation Map.