#include <depth_map.h>
|
| | DepthMap () |
| |
| | DepthMap (const size_t width, const size_t height, const float depth_min, const float depth_max) |
| |
| | DepthMap (const Mat< float > &mat, const float depth_min, const float depth_max) |
| |
| float | GetDepthMin () const |
| |
| float | GetDepthMax () const |
| |
| float | Get (const size_t row, const size_t col) const |
| |
| void | Rescale (const float factor) |
| |
| void | Downsize (const size_t max_width, const size_t max_height) |
| |
| Bitmap | ToBitmap (const float min_percentile, const float max_percentile) const |
| |
| | Mat () |
| |
| | Mat (const size_t width, const size_t height, const size_t depth) |
| |
| size_t | GetWidth () const |
| |
| size_t | GetHeight () const |
| |
| size_t | GetDepth () const |
| |
| size_t | GetNumBytes () const |
| |
| float | Get (const size_t row, const size_t col, const size_t slice=0) const |
| |
| void | GetSlice (const size_t row, const size_t col, float *values) const |
| |
| float * | GetPtr () |
| |
| const float * | GetPtr () const |
| |
| const std::vector< float > & | GetData () const |
| |
| void | Set (const size_t row, const size_t col, const float value) |
| |
| void | Set (const size_t row, const size_t col, const size_t slice, const float value) |
| |
| void | Fill (const float value) |
| |
| void | Read (const std::string &path) |
| |
| void | Write (const std::string &path) const |
| |
◆ DepthMap() [1/3]
| colmap::mvs::DepthMap::DepthMap |
( |
| ) |
|
◆ DepthMap() [2/3]
| colmap::mvs::DepthMap::DepthMap |
( |
const size_t |
width, |
|
|
const size_t |
height, |
|
|
const float |
depth_min, |
|
|
const float |
depth_max |
|
) |
| |
◆ DepthMap() [3/3]
| colmap::mvs::DepthMap::DepthMap |
( |
const Mat< float > & |
mat, |
|
|
const float |
depth_min, |
|
|
const float |
depth_max |
|
) |
| |
◆ Downsize()
| void colmap::mvs::DepthMap::Downsize |
( |
const size_t |
max_width, |
|
|
const size_t |
max_height |
|
) |
| |
◆ Get()
| float colmap::mvs::DepthMap::Get |
( |
const size_t |
row, |
|
|
const size_t |
col |
|
) |
| const |
|
inline |
◆ GetDepthMax()
| float colmap::mvs::DepthMap::GetDepthMax |
( |
| ) |
const |
|
inline |
◆ GetDepthMin()
| float colmap::mvs::DepthMap::GetDepthMin |
( |
| ) |
const |
|
inline |
◆ Rescale()
| void colmap::mvs::DepthMap::Rescale |
( |
const float |
factor | ) |
|
◆ ToBitmap()
| Bitmap colmap::mvs::DepthMap::ToBitmap |
( |
const float |
min_percentile, |
|
|
const float |
max_percentile |
|
) |
| const |
References colmap::Bitmap::Allocate(), colmap::JetColormap::Blue(), color, colmap::mvs::Mat< float >::data_, colmap::Bitmap::Fill(), Get(), colmap::JetColormap::Green(), colmap::mvs::Mat< float >::height_, colmap::Percentile(), colmap::JetColormap::Red(), colmap::Bitmap::SetPixel(), colmap::mvs::Mat< float >::width_, x, and y.
Referenced by BOOST_AUTO_TEST_CASE().
The documentation for this class was generated from the following files: