
数字图像处理
Nydia~
我太难了!
展开
-
【数字图像处理】——02.加载与保存
加载与保存什么图像代码什么图像代码import cv2 as cv#d打开摄像头def video_demo(): capture=cv.VideoCapture(0) while(True): ret,frame = capture.read() frame = cv.flip(frame, 1) #镜像变换 cv.imshow("video",frame) c=cv.waitKey(50)原创 2020-06-08 21:08:26 · 213 阅读 · 0 评论 -
【数字图像处理】——python3+opencv概述
图像加载与保存Numpy数组操作色彩空间像素运算ROI与泛洪填充模糊操作高斯模糊边缘保留滤波(EPF)图像直方图(histogram)直方图应用直方图反向投影模板匹配图像二值化图像金字塔图像梯度Canny边缘提取直线检测圆检测轮廓发现对象测量膨胀与腐蚀开闭操作其他意识形态学操作分水岭算法人脸检测案例-数字验证码识别以上均为 贾志刚老师的《python3 opencv3.3图像处理教程》课堂笔记整理...原创 2020-06-07 11:33:09 · 277 阅读 · 0 评论 -
【数字图像处理】【python】——opencv实现图像补色图和反色图
import cv2import mathimport numpy as npdef bu(img): height, width, channels = img.shape buImg=img.copy() for i in range(height): for j in range(width): #补色公式:max(r,g...原创 2020-03-31 15:54:51 · 2147 阅读 · 4 评论 -
【数字图像处理】【python】——opencv实现图片移动
import cv2import mathimport numpy as npdef move(img): height,width,channels=img.shape emptyImage2=img.copy() x=20 y=20 for i in range(height): for j in range(width): ...原创 2020-03-31 14:46:32 · 368 阅读 · 0 评论 -
数字图像处理入门——利用python复制图片
import cv2import mathimport numpy as npdef move(img): height,width,channels=img.shape emptyImage2=img.copy() x=20 y=20 for i in range(height): for j in range(width): ...原创 2020-03-24 15:28:26 · 465 阅读 · 0 评论