void cvStereoRectify(CvMat* camera_matrix1, CvMat* camera_matrix2, CvMat* dist_coeffs1, CvMat* dist_coeffs2, CvSize image_size, CvMat* R, CvMat* T, CvMat* R1, CvMat* R2, CvMat* P1, CvMat* P2, CvMat* Q, int flags) {
    void *fptr;

    fptr = dlsym(_Chcv_handle, "cvStereoRectify_chdl");
    if(fptr == NULL) {
        fprintf(_stderr, "Error: %s(): dlsym(): %s\n", __func__,  dlerror());
        return;
    }
    dlrunfun(fptr, NULL, cvStereoRectify, camera_matrix1, camera_matrix2, dist_coeffs1, dist_coeffs2, image_size, R, T, R1, R2, P1, P2, Q, flags);
}
