图像处理
Coding#Life
欢迎大家一起分享编程知识!
展开
-
形态学腐蚀与膨胀+进度条切换
// 11形态学腐蚀与膨胀.cpp : 定义控制台应用程序的入口点。 include include include using namespace cv; using namespace std;!https://img-blog.csdn.net/20180810154557254?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L...原创 2018-08-10 15:54:57 · 158 阅读 · 0 评论 -
各种滤波综合示例+进度条(方框——均值——高斯——中值——双边)
#include<opencv2/opencv.hpp> #include<iostream> using namespace std; using namespace cv;!watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIwNzM5MDYx/font/5a6L5L2T/fontsize/400/fill/I0JBQ...原创 2018-08-10 16:17:27 · 183 阅读 · 0 评论 -
6.4.9形态学综合示例:形态学滤波(腐蚀与膨胀+开闭运算+顶帽黑帽)
#include &lt;opencv2/opencv.hpp&gt; #include&lt;iostream&gt; //#include &lt;math.h&gt; using namespace cv; using namespace std; /*-------------------------------------------------------------------全局...原创 2018-08-10 22:03:39 · 1006 阅读 · 0 评论 -
Canny边缘检测
“` include include using namespace cv; using namespace std; /———————————————————–窗口字符串常量全局声明————————————————-/ char input_name[] = “input image”; char out_name1[] = “Canny_output_gray_image...原创 2018-08-22 21:41:49 · 141 阅读 · 0 评论 -
TensorFlow实战,BelgiumTS交通数识别(一)(读取数据和显示图像)
@TOCTensorFlow实战。BelgiumTS交通数识别(一) 欢迎使用Markdown编辑器 import os #python中的os模块用于处理文件和目录 import skimage #python中的skimage模块用于图像处理 import numpy as np #python中的numpy...原创 2018-12-17 22:26:44 · 1187 阅读 · 5 评论 -
TensorFlow实战,BelgiumTS交通数识别(二)(读取数据和显示图像)
显示所有类别的图像 import matplotlib.pyplot as plt from load import* Get the unique labels unique_labels = set(labels)#set() 函数是python内置函数的其中一个,属于比较基础的函数。 # 创建一个无序不重复元素集,可进行关系测试,删除重复数据, # 还可以计算交集、差集、并集等。 Initi...原创 2018-12-18 09:02:32 · 1457 阅读 · 0 评论