cars.applications.dense_matching.cpp.dense_matching_cpp
this module contains the headers of the dense_matching_cpp module.
Module Contents
Functions
|
Estimate right classif on left image |
|
Mask left classif with right mask. |
|
Estimate right grid min and max for int inputs. |
|
Estimate right grid min and max for float inputs. |
- cars.applications.dense_matching.cpp.dense_matching_cpp.estimate_right_classif_on_left(right_classif, disp_map, disp_mask, disp_min, disp_max)[source]
Estimate right classif on left image
- Parameters
right_classif (np ndarray) – right classification
disp_map (np ndarray) – disparity map
disp_mask (np ndarray) – disparity mask
disp_min (int) – disparity min
disp_max (int) – disparity max
- Returns
right classif on left image
- Return type
np nadarray
- cars.applications.dense_matching.cpp.dense_matching_cpp.mask_left_classif_from_right_mask(left_classif, right_mask, disp_min, disp_max)[source]
Mask left classif with right mask.
- Parameters
left_classif (np ndarray) – right classification
right_mask (np ndarray) – right mask
disp_min (np.array type int) – disparity min
disp_max (np.array type int) – disparity max
- Returns
masked left classif
- Return type
np nadarray
- cars.applications.dense_matching.cpp.dense_matching_cpp.estimate_right_grid_disp_int(disp_min_grid, disp_max_grid)[source]
Estimate right grid min and max for int inputs. Correspond to the range of pixels that can be correlated from left -> right. If no left pixels can be associated to right, use global values
- Parameters
disp_min_grid (numpy ndarray) – left disp min grid
disp_max_grid (numpy ndarray) – left disp max grid
- Returns
disp_min_right_grid, disp_max_right_grid
- Return type
numpy ndarray, numpy ndarray
- cars.applications.dense_matching.cpp.dense_matching_cpp.estimate_right_grid_disp_float(disp_min_grid, disp_max_grid)[source]
Estimate right grid min and max for float inputs. Correspond to the range of pixels that can be correlated from left -> right. If no left pixels can be associated to right, use global values
- Parameters
disp_min_grid (numpy ndarray) – left disp min grid
disp_max_grid (numpy ndarray) – left disp max grid
- Returns
disp_min_right_grid, disp_max_right_grid
- Return type
numpy ndarray, numpy ndarray