Child class of BpImage to define disparity map image that is output from bp processing.
More...
#include <DisparityMap.h>
|
| DisparityMap () |
|
| DisparityMap (const std::array< unsigned int, 2 > &width_height) |
|
| DisparityMap (const std::array< unsigned int, 2 > &width_height, const T *input_disparity_map_vals, unsigned int disparity_map_vals_scale=1) |
|
| DisparityMap (const std::string &file_path_disparity_map, unsigned int disparity_map_vals_scale=1) |
|
DisparityMapEvaluation | OutputComparison (const DisparityMap &disparity_map_to_compare, const beliefprop::DisparityMapEvaluationParams &evaluation_parameters) const |
|
void | SaveDisparityMap (const std::string &disparity_map_file_path, unsigned int scale_factor=1) const |
|
| BpImage () |
|
| BpImage (const std::array< unsigned int, 2 > &width_height) |
|
| BpImage (const std::array< unsigned int, 2 > &width_height, const T *input_pixel_vals) |
|
| BpImage (const std::string &file_name) |
|
const std::unique_ptr< T[]> & | UniquePtrToPixelData () const |
|
T * | PointerToPixelsStart () const |
|
T | PixelAtPoint (const std::array< unsigned int, 2 > &point_xy) const |
|
T | PixelAtPoint (unsigned int i) const |
|
void | SetPixelAtPoint (const std::array< unsigned int, 2 > &point_xy, T val) |
|
void | SetPixelAtPoint (unsigned int i, T val) |
|
unsigned int | Width () const |
|
unsigned int | Height () const |
|
void | SaveImageAsPgm (const std::string &filename) const |
|
template<class T>
class DisparityMap< T >
Child class of BpImage to define disparity map image that is output from bp processing.
- Template Parameters
-
Definition at line 45 of file DisparityMap.h.
◆ DisparityMap() [1/4]
◆ DisparityMap() [2/4]
◆ DisparityMap() [3/4]
template<class T >
DisparityMap< T >::DisparityMap |
( |
const std::array< unsigned int, 2 > & |
width_height, |
|
|
const T * |
input_disparity_map_vals, |
|
|
unsigned int |
disparity_map_vals_scale = 1 |
|
) |
| |
|
inlineexplicit |
◆ DisparityMap() [4/4]
template<class T >
DisparityMap< T >::DisparityMap |
( |
const std::string & |
file_path_disparity_map, |
|
|
unsigned int |
disparity_map_vals_scale = 1 |
|
) |
| |
|
inlineexplicit |
◆ OutputComparison()
◆ SaveDisparityMap()
template<class T >
requires std::is_arithmetic_v< T > void DisparityMap< T >::SaveDisparityMap |
( |
const std::string & |
disparity_map_file_path, |
|
|
unsigned int |
scale_factor = 1 |
|
) |
| const |
The documentation for this class was generated from the following files: