void cvGetMinMaxHistValue(CvHistogram* hist, float* min_value, float* max_value, int* min_idx, int* max_idx) {
    void *fptr;

    fptr = dlsym(_Chcv_handle, "cvGetMinMaxHistValue_chdl");
    if(fptr == NULL) {
        fprintf(_stderr, "Error: %s(): dlsym(): %s\n", __func__,  dlerror());
        return;
    }
    dlrunfun(fptr, NULL, cvGetMinMaxHistValue, hist, min_value, max_value, min_idx, max_idx);
}
