MIRA
Classes | Namespaces | Functions
GridMapIO.h File Reference

Import/Export for GridMap. More...

#include <opencv2/highgui/highgui.hpp>
#include <serialization/XMLSerializer.h>
#include <maps/GridMap.h>
Include dependency graph for GridMapIO.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GridMapInfo
 A struct representing some information about a grid map. More...
 
struct  GridMapFileInfoWithFrame
 A struct representing some information about a grid map and an additional frame. More...
 
struct  GridMapFileInfoWithFrameAndChannelName
 A struct representing some information about a grid map and an additional channel. More...
 
struct  PixelTruncateHelper< T, Channels >
 
struct  PixelTruncateHelper< T, 1 >
 

Namespaces

 mira
 
 mira::maps
 

Functions

template<typename T , int Channels = 1>
GridMap< T, Channels > loadGridMapFromImage (const Img<> &img, float cellSize, const Point2i &offset, T truncateTo=std::numeric_limits< T >::max())
 Loads the specified image as grid map. More...
 
template<typename T , int Channels = 1>
GridMap< T, Channels > loadGridMapFromFile (const Path &filename, float cellSize, const Point2i &offset, T truncateTo=std::numeric_limits< T >::max())
 Loads the specified image file as grid map. More...
 
template<typename T , int Channels = 1>
GridMap< T, Channels > loadGridMap (const GridMapInfo &info, T truncateTo=std::numeric_limits< T >::max())
 Loads the image specified by info as map. More...
 
template<typename T , int Channels = 1>
GridMap< T, Channels > loadGridMap (const Path &descriptionFilename, T truncateTo=std::numeric_limits< T >::max())
 Loads the image from the description file (specifying an image file) as map. More...
 
template<typename T , int Channels>
void saveGridMapToFile (Path filename, const GridMap< T, Channels > &map, bool fullImagePath=true)
 Saves the specified grid map as image + description xml. More...
 

Detailed Description

Import/Export for GridMap.

Author
Christof Schröter
Date
2021/03/11