#include <Eigen/Core>
#include <cstdint>
#include <string>
#include "impl/image_utils_impl.hpp"
Go to the source code of this file.
|
namespace | se |
| Helper wrapper to allocate and de-allocate octants in the octree.
|
|
|
int | se::save_depth_png (const float *depth_image_data, const Eigen::Vector2i &depth_image_res, const std::string &filename, const float scale=1000.0f) |
| Save a depth image with depth values in metres to a PNG.
|
|
int | se::save_depth_png (const uint16_t *depth_image_data, const Eigen::Vector2i &depth_image_res, const std::string &filename) |
| Save a depth image with depth values in millimetres to a PNG.
|
|
int | se::load_depth_png (float **depth_image_data, Eigen::Vector2i &depth_image_res, const std::string &filename, const float inverse_scale=1.0f/1000.0f) |
| Load a PNG depth image into a buffer with depth values in metres.
|
|
int | se::load_depth_png (uint16_t **depth_image_data, Eigen::Vector2i &depth_image_res, const std::string &filename) |
| Load a PNG depth image into a buffer with depth values in millimetres.
|
|
int | se::save_depth_pgm (const float *depth_image_data, const Eigen::Vector2i &depth_image_res, const std::string &filename, const float scale=1000.0f) |
| Save a depth image with depth values in metres to a P2 PGM.
|
|
int | se::save_depth_pgm (const uint16_t *depth_image_data, const Eigen::Vector2i &depth_image_res, const std::string &filename) |
| Save a depth image with depth values in millimetres to a P2 PGM.
|
|
int | se::load_depth_pgm (float **depth_image_data, Eigen::Vector2i &depth_image_res, const std::string &filename, const float inverse_scale=1.0f/1000.0f) |
| Load a P2 PGM depth image into a buffer with depth values in metres.
|
|
int | se::load_depth_pgm (uint16_t **depth_image_data, Eigen::Vector2i &depth_image_res, const std::string &filename) |
| Load a P2 PGM depth image into a buffer with depth values in millimeters.
|
|
static Eigen::Vector2i | se::round_pixel (const Eigen::Vector2f &pixel_f) |
|