OpenCV
ericohe
AI工程师
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
python opencv 图像相减(原始图像与梯度图像)
import cv2import numpy as npimport matplotlib.pyplot as pltimport sysimg1 = cv2.imread(file1)img2 = cv2.imread(file2)size = 512img1 = cv2.fastNlMeansDenoisingColored(img1,None,10,10,7,21)img2 = cv2.fastNlMeansDenoisingColored(img2,None,10,10,7...原创 2021-02-08 13:57:22 · 1262 阅读 · 0 评论 -
python opencv 图像配准与比较
代码from skimage import ioimport cv2 as cvimport numpy as npimport matplotlib.pyplot as pltimg_path1 = '2_HE_maxarea.png'img_path2 = '2_IHC_maxarea.png'img1 = io.imread(img_path1)img2 = io.imread(img_path2)img1 = np.uint8(img1)img2 = np.u...原创 2021-02-08 13:51:26 · 3016 阅读 · 1 评论
分享