Loading

OpenCV图像处理学习笔记-Day03

OpenCV图像处理学习笔记-Day03

第31课:Canny边缘检测原理

image-20200930105308542

image-20200930112027344

image-20200930112611070

image-20200930112617192

image-20200930112623394

image-20200930112646065

image-20200930112657616

image-20200930112707219

image-20200930112721939

image-20200930112736516

image-20200930112940854

image-20200930113056708

image-20200930113116221

image-20200930113135679

image-20200930113228755

image-20200930113237957

第32课:Canny函数及使用

edges = cv2.Canny(image, threshold1, threshold2)

edges  边界图像

image 原始图像

threshold1 阈值1

threshold2 阈值2

image-20200930114247975

值越大,得到边界信息越少;值越小,得到的边界信息越多

import cv2


img = cv2.imread('./img/barbara.bmp')
img_edge = cv2.Canny(img, 0, 255)

print(img_edge.shape)

cv2.imshow('original', img)
cv2.imshow('image edge', img_edge)

cv2.waitKey()
cv2.destroyAllWindows()

第33课:图像金字塔-理论基础

image-20200930115805176

image-20200930115834912

image-20200930115908381

image-20200930115940020

image-20200930120030508

image-20200930120040371

image-20200930120128780

image-20200930120425946

image-20200930120435126

image-20200930120457158

第34课:pyrDown函数及使用-向下采样

image-20200930120644456

image-20200930120657798

第35课:pyrUP函数及使用-向上采样

image-20200930120804562

image-20200930120854336

第36课:向下取样与向上取样的可逆性研究

image-20200930121505847

image-20200930121518803

image-20200930121726115

image-20200930121849955

image-20200930121918415

image-20200930121931436

第37课:拉普拉斯金字塔

image-20200930122105796

image-20200930123353507

image-20200930162650064

image-20200930205609102

image-20200930205720145

image-20200930205729984

第38课:图像轮廓

image-20200930205930148

image-20200930210009826

image-20200930210418082

image-20200930211220816

image-20200930215128319

image-20200930215208957

image-20200930215224904

image-20200930215240311

image-20200930215347845

image-20200930221701669

image-20200930221719656

第39课:直方图的概念

image-20200930222112015

image-20200930222640132

image-20200930224316800

image-20200930224409622

image-20200930224428743

image-20200930224530719

image-20200930224655081

image-20200930224717866

image-20200930224744952

image-20200930224800825

第40课:绘制直方图

image-20200930225938513

image-20200930230025717

image-20200930230047812

image-20200930230308995

image-20200930230319873

image-20200930230617804

posted @ 2020-09-30 23:08  coderchen01  阅读(136)  评论(0编辑  收藏  举报