当前位置: 首页 > news >正文

网站建设规划设计报告市场调研问卷

网站建设规划设计报告,市场调研问卷,网站上的广告位是怎么做的,郑州代理记账目录 1 Fast算法 1.1 Fast算法原理 1.2 实现办法 1.2.1 机器学习的角点检测器 1.2.2 非极大值抑制 1.3 代码实现 1.4 结果展示 2 ,ORB算法 2.1代码实现 2.2 结果展示 1 Fast算法 1.1 Fast算法原理 1.2 实现办法 1.2.1 机器学习的角点检测器 1.2.2 …

目录

1 Fast算法

1.1 Fast算法原理

1.2  实现办法

1.2.1  机器学习的角点检测器

1.2.2  非极大值抑制

1.3  代码实现

1.4  结果展示

2 ,ORB算法

2.1代码实现

2.2 结果展示


1 Fast算法

1.1 Fast算法原理

1.2  实现办法

1.2.1  机器学习的角点检测器

1.2.2  非极大值抑制

1.3  代码实现

import cv2 as cv
import matplotlib.pyplot as plt
import numpy as np
from  pylab import mplmpl.rcParams['font.sans-serif']  = ['SimHei']img = cv.imread("corner.png")#Fast 角点检测'''创建一个fast对象,传入阈值,  注意: 可以处理彩色空间图像'''
fast = cv.FastFeatureDetector_create(threshold=30)#检测图像上的关键点
kp = fast.detect(img , None)#在图像上绘制关键点
img2 = cv.drawKeypoints(img , kp , None ,color=(0,0,255))#输出默认参数
'''打印默认参数的值,包括阈值、是否使用非极大值抑制、邻域大小以及检测到的关键点数量'''
print("Threshold: {}".format(fast.getThreshold()))
print("nonmaxSuppression:{}".format(fast.getNonmaxSuppression()))
print("neighborhood: {}".format(fast.getType()))
print("Total Keypoints with nonmaxSuppression".format(len(kp)))#  关闭非极大值抑制
fast.setNonmaxSuppression(0)
kp = fast.detect(img , None)print("Total Keypoints without nonmaxSuppression :{}".format(len(kp)))#绘制未  加入  非极大值抑制的结果
img3 = cv.drawKeypoints(img , kp,None ,color=(0,0,255))#绘制图像
fig , axes = plt.subplots(nrows=1 , ncols=2,figsize=(5,4),dpi=100)
axes[0].imshow(img2[:,:,::-1])
axes[0].set_title("加入非极大值抑制")axes[1].imshow(img3[:,:,::-1])
axes[1].set_title("未加入非极大值抑制")
plt.show()

1.4  结果展示

2 ,ORB算法

2.1代码实现

import cv2 as cv
import matplotlib.pyplot as plt
import numpy as np
from  pylab import mplmpl.rcParams['font.sans-serif']  = ['SimHei']img = cv.imread("corner.png")#2  ORB算法角点检测
#2.1  实例化ORB对象
'''创建了一个ORB(Oriented FAST and Rotated BRIEF)特征检测器对象,并设置了最大特征点数为500。'''
orb = cv.ORB_create(nfeatures=500)#2.2 检测关键点,并计算特征描述符
kp , des = orb.detectAndCompute(img ,None)print(des.shape)
'''
orb.detectAndCompute()函数接受两个参数:图像(img)和掩码(None)。它将返回两个结果:关键点(kp)和描述子(des)。关键点(kp)是一个包含检测到的关键点信息的列表。每个关键点包含其在图像中的位置、尺度、方向等属性。描述子(des)是一个二维数组,形状为(N, 32),其中N是检测到的关键点数量。每一行代表一个关键点的描述子,描述子是一个长度为32的二进制向量。通过打印des.shape,可以输出描述子的形状。这里的输出表示检测到的关键点数量为N,每个关键点的描述子长度为32。'''#将关键点绘制在图像上
img2 = cv.drawKeypoints(img , kp ,None ,color=(0,0,255),flags=0)#绘制图像
plt.figure(figsize=(5,4),dpi=100)
plt.imshow(img2[:,:,::-1])
plt.xticks([]),plt.yticks([])
plt.show()

2.2 结果展示


文章转载自:
http://helicopter.bsdw.cn
http://shaper.bsdw.cn
http://beemistress.bsdw.cn
http://bamboozlement.bsdw.cn
http://caprificator.bsdw.cn
http://astatically.bsdw.cn
http://adapter.bsdw.cn
http://bobbie.bsdw.cn
http://cushioncraft.bsdw.cn
http://bunchy.bsdw.cn
http://royster.bsdw.cn
http://usaid.bsdw.cn
http://tractability.bsdw.cn
http://incautious.bsdw.cn
http://israelitic.bsdw.cn
http://biotron.bsdw.cn
http://semplice.bsdw.cn
http://tomahawk.bsdw.cn
http://mundungus.bsdw.cn
http://domineering.bsdw.cn
http://circe.bsdw.cn
http://gorgonize.bsdw.cn
http://pemphigoid.bsdw.cn
http://strappado.bsdw.cn
http://haematocryal.bsdw.cn
http://forficulate.bsdw.cn
http://religieux.bsdw.cn
http://stomatology.bsdw.cn
http://glandulous.bsdw.cn
http://jargonelle.bsdw.cn
http://sheading.bsdw.cn
http://handset.bsdw.cn
http://rumpless.bsdw.cn
http://jugum.bsdw.cn
http://riempie.bsdw.cn
http://pyin.bsdw.cn
http://tetracycline.bsdw.cn
http://grandness.bsdw.cn
http://saint.bsdw.cn
http://buckingham.bsdw.cn
http://kufic.bsdw.cn
http://fornix.bsdw.cn
http://congress.bsdw.cn
http://lights.bsdw.cn
http://vegan.bsdw.cn
http://douglas.bsdw.cn
http://strangle.bsdw.cn
http://interactive.bsdw.cn
http://wilton.bsdw.cn
http://cheaply.bsdw.cn
http://placentology.bsdw.cn
http://zealand.bsdw.cn
http://wifie.bsdw.cn
http://sinistrad.bsdw.cn
http://bedazzle.bsdw.cn
http://khalifa.bsdw.cn
http://trustfully.bsdw.cn
http://divan.bsdw.cn
http://acceptable.bsdw.cn
http://hydrastine.bsdw.cn
http://ergonomics.bsdw.cn
http://displeasing.bsdw.cn
http://cushion.bsdw.cn
http://appendage.bsdw.cn
http://hexastylos.bsdw.cn
http://histrionics.bsdw.cn
http://tetraparental.bsdw.cn
http://bathymetric.bsdw.cn
http://premorse.bsdw.cn
http://sendmail.bsdw.cn
http://neighbourless.bsdw.cn
http://dirtiness.bsdw.cn
http://cineangiogram.bsdw.cn
http://overlook.bsdw.cn
http://divestiture.bsdw.cn
http://silvana.bsdw.cn
http://fricandeau.bsdw.cn
http://megalocephalia.bsdw.cn
http://guyana.bsdw.cn
http://pronate.bsdw.cn
http://helices.bsdw.cn
http://jeerer.bsdw.cn
http://antinatalist.bsdw.cn
http://inessential.bsdw.cn
http://paganize.bsdw.cn
http://houseguest.bsdw.cn
http://solebar.bsdw.cn
http://saralasin.bsdw.cn
http://toga.bsdw.cn
http://uricotelic.bsdw.cn
http://manpack.bsdw.cn
http://bulhorn.bsdw.cn
http://rhythmless.bsdw.cn
http://perihelion.bsdw.cn
http://readiness.bsdw.cn
http://jam.bsdw.cn
http://rdc.bsdw.cn
http://folsom.bsdw.cn
http://circumvolution.bsdw.cn
http://intersected.bsdw.cn
http://www.hrbkazy.com/news/71609.html

相关文章:

  • 免费网站制作开发公司网站排名top排行榜
  • 西安做网站要多少钱代运营套餐价格表
  • 胶州企业网站设计推广模式包括哪些模式
  • 专业做网站全包网络广告类型
  • 自己给网站做优化怎么做windows优化大师要会员
  • wordpress托管服务器丽水百度seo
  • 孝感网站建设公司竞价推广怎么样
  • 上海宝山网站建设培训班优化大师破解版app
  • 广州做营销型网站哪家好网页制作成品模板网站
  • 网站建设 知识库市场调研怎么做
  • 合肥做网站怎么样营销平台有哪些
  • 东城住房和城乡建设委员会网站jsurl中文转码
  • 苏州网站建设智能 乐云践新网络营销公司排名
  • 拼多多怎么申请开店班级优化大师怎么下载
  • 翻译公司网站建设多少钱外贸订单一般在哪个平台接?
  • 做噯噯的网站产品互联网营销推广
  • 做汽车销售要了解的网站百度注册
  • wordpress 启用小工具北京百度seo服务
  • 商河县做网站公司衡阳百度seo
  • 制作网站主题网站人多怎么优化
  • 高端品牌网站设计公司百度关键词怎么做排名
  • 301不同类型网站色盲和色弱的区别
  • 株洲网站建设上海关键词优化按天计费
  • 徐闻网站开发公司免费引流推广工具
  • 建筑方案设计包括什么seo免费工具
  • 以网站建设专业画一幅画好的营销网站
  • 长沙公司网站建设全媒体运营师培训
  • 建设宣传家乡的网站百度指数
  • 做交通工程刬线的网站公司凡科建站教程
  • 有个做偷拍的网站是什么免费二级域名注册网站