大家好我使用cvAdaptiveThreshold有人可以解释一下这个函数是如何工作的,如何确定block_size和param1?
IplImage *imgPicThres = cvCreateImage(cvSize(img_roi->width, img_roi->height), IPL_DEPTH_8U, 1);
cvAdaptiveThreshold(img_roi, imgPicThres,255,CV_ADAPTIVE_THRESH_MEAN_C, CV_THRESH_BINARY_INV,blocks_size,param1);