摘要:
#include <opencv2/opencv.hpp> #include <iostream> #include <math.h> using namespace cv; using namespace std; Mat src, dst,dst2,gray_src; char* INPUT_WIN = "input image"; char* output_title = "binary i 阅读全文
posted @ 2019-12-07 20:27
喵小喵~
阅读(245)
评论(0)
推荐(0)
摘要:
#include #include #include using namespace cv; using namespace std; Mat src, dst,dst2; //膨胀腐蚀的应用:消除噪声 int main() { //原图 src = imread(".//pic//kate.png", IMREAD_UNCHANGED); char*... 阅读全文
posted @ 2019-12-07 17:36
喵小喵~
阅读(1498)
评论(0)
推荐(0)
摘要:
效果图: 代码: 阅读全文
posted @ 2019-12-07 15:05
喵小喵~
阅读(515)
评论(0)
推荐(0)
摘要:
#include #include #include using namespace cv; using namespace std; Mat src, dst,dst2; //开操作:先腐蚀,再膨胀 //闭操作:先膨胀,再腐蚀 int main1() { //原图 src = imread(".//pic//1.png",IMREAD_UNCHANGED); ... 阅读全文
posted @ 2019-12-07 14:26
喵小喵~
阅读(577)
评论(0)
推荐(0)
摘要:
先膨胀再腐蚀消除裂痕: 代码: 阅读全文
posted @ 2019-12-07 10:24
喵小喵~
阅读(555)
评论(0)
推荐(0)

浙公网安备 33010602011771号