pandora2d.matching_cost_cpp.matching_cost_bind
Functions
|
Computes the cost values in float32 |
|
Computes the cost values in float64 |
Module Contents
- pandora2d.matching_cost_cpp.matching_cost_bind.compute_cost_volumes_cpp_float(left: numpy.typing.NDArray[numpy.float32], right: list[numpy.typing.NDArray[numpy.float32]], cv_values: numpy.typing.NDArray[numpy.floating], criteria_values: numpy.typing.NDArray[numpy.uint8], cv_size: pandora2d.common_cpp.common_bind.CostVolumeSize, disp_range_row: numpy.typing.NDArray[numpy.float64], disp_range_col: numpy.typing.NDArray[numpy.float64], offset_cv_img_row: int, offset_cv_img_col: int, window_size: int, step: numpy.typing.NDArray[numpy.integer], matching_cost_method: str) None[source]
Computes the cost values in float32
- Parameters:
left – left image
right – list of right images
cv_values – cost volumes initialized values
criteria_values – criteria values
cv_size – cost_volume size [nb_row, nb_col, nb_disp_row, nb_disp_col]
disp_range_row – cost volumes row disparity range
disp_range_col – cost volumes col disparity range
offset_cv_img_row – row offset between first index of cv and image (ROI case)
offset_cv_img_col – col offset between first index of cv and image (ROI case)
window_size – size of the correlation window
step – [step_row, step_col]
matching_cost_method – correlation method
- pandora2d.matching_cost_cpp.matching_cost_bind.compute_cost_volumes_cpp_double(left: numpy.typing.NDArray[numpy.float32], right: list[numpy.typing.NDArray[numpy.float32]], cv_values: numpy.typing.NDArray[numpy.floating], criteria_values: numpy.typing.NDArray[numpy.uint8], cv_size: pandora2d.common_cpp.common_bind.CostVolumeSize, disp_range_row: numpy.typing.NDArray[numpy.float64], disp_range_col: numpy.typing.NDArray[numpy.float64], offset_cv_img_row: int, offset_cv_img_col: int, window_size: int, step: numpy.typing.NDArray[numpy.integer], matching_cost_method: str) None[source]
Computes the cost values in float64
- Parameters:
left – left image
right – list of right images
cv_values – cost volumes initialized values
criteria_values – criteria values
cv_size – cost_volume size [nb_row, nb_col, nb_disp_row, nb_disp_col]
disp_range_row – cost volumes row disparity range
disp_range_col – cost volumes col disparity range
offset_cv_img_row – row offset between first index of cv and image (ROI case)
offset_cv_img_col – col offset between first index of cv and image (ROI case)
window_size – size of the correlation window
step – [step_row, step_col]
matching_cost_method – correlation method