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

Public Member Functions

 FineToCoarse (const Vec< Mat > &epis, float d_min, float d_max, int dim_d, float epi_scale_factor=-1, const Depth1DParameters< DataType > &parameters=Depth1DParameters< DataType >::get_default(), int max_pyr_depth=-1, bool accept_all_last_scale=true)
 
void run ()
 Runs the algorithm.
 
void get_results (Vec< Mat > &out_map_s_v_u_, Vec< Mat > &out_validity_s_v_u_)
 Get the resulting disparity maps at the finest scale and the corresponding validity mask.
 
void get_coloured_depth_maps (Vec< Mat > &out_plot_depth_s_v_u_, int cv_colormap=cv::COLORMAP_JET, bool saturate=true)
 Get disparity maps with colors corresponding to the computed disparities.
 
void get_coloured_depth_maps_and_imgs (Vec< Mat > &out_plot_depth_s_v_u_, int cv_colormap=cv::COLORMAP_JET, bool saturate=true)
 Get disparity maps with colors corresponding to the computed disparities, juxtaposed with the original image.
 
void get_coloured_epi_pyr (Vec< Mat > &out_plot_epi_pyr_p_s_u_, int v=-1, int cv_colormap=cv::COLORMAP_JET, bool saturate=true)
 Get the EPI pyramid with colors corresponding to computed slopes.
 
void get_coloured_depth_pyr (Vec< Mat > &out_plot_depth_pyr_p_v_u_, int s=-1, int cv_colormap=cv::COLORMAP_JET, bool saturate=true)
 Get the disparity map pyramid with colors corresponding to computed disparities.
 

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