RSLightFields
Disparity map estimator from 3D light fields
Public Member Functions | List of all members
rslf::Depth2DComputer< DataType > Class Template Reference

#include <rslf_depth_computation.hpp>

Public Member Functions

 Depth2DComputer (const Vec< Mat > &epis, float dmin, float dmax, int dim_d, float epi_scale_factor=-1, const Depth1DParameters< DataType > &parameters=Depth1DParameters< DataType >::get_default(), bool verbose=true)
 
void run ()
 Runs the algorithm.
 
Mat get_coloured_epi (int a_v=-1, int a_cv_colormap=cv::COLORMAP_JET)
 Gets an EPI with colors corresponding to the computed slopes.
 
Mat get_disparity_map (int a_s=-1, int a_cv_colormap=cv::COLORMAP_JET)
 Gets a disparity map with colors corresponding to the computed disparity.
 
const Vec< Mat > & get_depths_s_v_u ()
 
const Vec< Mat > & get_valid_depths_mask_s_v_u ()
 
const Vec< Mat > & get_epis ()
 
Vec< Mat > & edit_dmin ()
 
Vec< Mat > & edit_dmax ()
 
void set_accept_all (bool b)
 

Detailed Description

template<typename DataType>
class rslf::Depth2DComputer< DataType >

Template class with depth computation using a pile of EPIs.


The documentation for this class was generated from the following file: