void cvPyrSegmentation(IplImage* src, IplImage* dst, CvMemStorage* storage, CvSeq** comp, int level, double threshold1, double threshold2) {
    void *fptr;

    fptr = dlsym(_Chcv_handle, "cvPyrSegmentation_chdl");
    if(fptr == NULL) {
        fprintf(_stderr, "Error: %s(): dlsym(): %s\n", __func__,  dlerror());
        return;
    }
    dlrunfun(fptr, NULL, cvPyrSegmentation, src, dst, storage, comp, level, threshold1, threshold2);
}
