![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
huanhuaqian
这个作者很懒,什么都没留下…
展开
-
关于AttributeError:‘numpy.ndarray‘ object has no attribute ‘index‘
使用了一段时间的python,发现一个被忽略的ndarray和list的不同之处。先上例子:代码:import numpy as nparray = [[0,0],[0,1],[0,2],[2,2],[3,3],[4,4]]Indexs = [1,2,3]print("first array:",array)array = np.原创 2017-12-17 15:16:42 · 263559 阅读 · 2 评论 -
opencv去除高斯噪声(H1范数)
Python +opencv# _*_ coding:UTF-8 _*_import numpy as npimport cv2def Normalize(value): if value > 255: value = 255 elif value 0: value = 0原创 2017-12-17 15:25:03 · 4315 阅读 · 0 评论