Class GridMapCvProcessing

Class Documentation

class GridMapCvProcessing

Processing of grid maps with OpenCV methods.

Public Functions

GridMapCvProcessing()

Default constructor.

virtual ~GridMapCvProcessing()

Destructor.

Public Static Functions

static bool changeResolution(const grid_map::GridMap &gridMapSource, grid_map::GridMap &gridMapResult, const double resolution, const int interpolationAlgorithm = cv::INTER_CUBIC)

Changes the resolution of a grid map with help of OpenCV’s interpolation algorithms.

optional) interpolationAlgorithm the interpolation method.

Parameters:
  • gridMapSource[in] the source grid map.

  • gridMapResult[out] the resulting grid map with the desired resolution.

  • resolution[in] the desired resolution.

Param :

Returns:

true if successful, false otherwise.