大家好,我使用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);
最佳答案
cvAdaptiveThreshold()
是described in the documentation:
关于c++ - 自适应阈值opencv,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/9974129/