19,472
社区成员
![](https://csdnimg.cn/release/cmsfe/public/img/topic.427195d5.png)
![](https://csdnimg.cn/release/cmsfe/public/img/me.40a70ab0.png)
![](https://csdnimg.cn/release/cmsfe/public/img/task.87b52881.png)
![](https://csdnimg.cn/release/cmsfe/public/img/share-circle.3e0b7822.png)
void fun36(char *file)
{
cv::Mat temp, result;
cv::Mat image = cv::imread(file);
cv::imshow("", image);
cv::waitKey();
GaussianBlur(image, result, cv::Size(9, 9), 2, 2);
cv::imshow("", result);
cv::waitKey();
threshold(result, result, 230, 255, cv::THRESH_BINARY);
cv::imshow("", result);
cv::waitKey();
medianBlur(result, temp, 9);
cv::imshow("", temp);
cv::waitKey();
}