35 #ifndef NAV_GRID_SERVER_IMAGE_LOADER_H 36 #define NAV_GRID_SERVER_IMAGE_LOADER_H 98 const bool negate_param,
const double occ_th,
const double free_th,
const std::string& mode);
102 #endif // NAV_GRID_SERVER_IMAGE_LOADER_H nav_grid::VectorNavGrid< unsigned char > classicLoadMapFromFile(const std::string &filepath, const double resolution, const bool negate_param, const double occ_th, const double free_th, const std::string &mode)
Load an image from a file, mimicking map_server's loading style Resulting values are [0...
nav_grid::VectorNavGrid< unsigned char > getCostmapFromImage(const std::string &filepath, bool flip_y_axis=true)
Load an image from a file and return values [0, 255].
Independent (i.e. not OpenCV) representation of a Pixel.
nav_grid::VectorNavGrid< double > getImageIntensity(const std::string &filepath, bool flip_y_axis=true)
Load an image from a file and return the image intensity at each pixel.
std::vector< double > channels
nav_grid::VectorNavGrid< Pixel > getImage(const std::string &filepath, bool flip_y_axis=true)
Load an image as a NavGrid of pixels.