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

上海浦东刚刚发生的命案唐山seo排名

上海浦东刚刚发生的命案,唐山seo排名,jsp网站开发期末大作业,大学的一级或二级域名Fast角点检测 基本原理是使用圆周长为N个像素的圆来判定其圆心像素P是否为角点,如下图所示为圆周长为16个像素的圆(半径为3);OpenCV还提供圆周长为12和8个像素的圆来检测角点。 相对中心像素的位置信息 //圆周长为16 static c…

Fast角点检测

基本原理是使用圆周长为N个像素的圆来判定其圆心像素P是否为角点,如下图所示为圆周长为16个像素的圆(半径为3);OpenCV还提供圆周长为12和8个像素的圆来检测角点。
在这里插入图片描述

相对中心像素的位置信息

//圆周长为16
static const int offsets16[][2] =
{{0,  3}, { 1,  3}, { 2,  2}, { 3,  1}, { 3, 0}, { 3, -1}, { 2, -2}, { 1, -3},{0, -3}, {-1, -3}, {-2, -2}, {-3, -1}, {-3, 0}, {-3,  1}, {-2,  2}, {-1,  3}
};//圆周长为12
static const int offsets12[][2] =
{{0,  2}, { 1,  2}, { 2,  1}, { 2, 0}, { 2, -1}, { 1, -2},{0, -2}, {-1, -2}, {-2, -1}, {-2, 0}, {-2,  1}, {-1,  2}
};//圆周长为8
static const int offsets8[][2] =
{{0,  1}, { 1,  1}, { 1, 0}, { 1, -1},{0, -1}, {-1, -1}, {-1, 0}, {-1,  1}
};

角点判定条件

在圆周上顺时针从顺时针方向从1到N的顺序对圆周像素点进行连续编号。如果在圆周上有M个连续的像素的亮度都比圆心像素的亮度还要亮,或者比圆心像素的亮度还要暗,并且亮度差都大于设置的阈值t,则圆心像素被确定为角点。因此,成为角点必须满足下列两个条件之一。

  • 条件1:集合S由圆周上M个连续的像素x组成,该集合的任意像素x都满足 I x > I p + t I_x>I_p+t Ix>Ip+t
  • 条件2:集合S由圆周上M个连续的像素x组成,该集合的任意像素x都满足 I x < I p − t I_x<I_p-t Ix<Ipt

在OpenCV中有三种模式,如下:

  • TYPE_9_16,表示圆周上16个像素点/连续9个像素点满足条件
  • TYPE_7_12,表示圆周上12个像素点/连续7个像素点满足条件
  • TYPE_5_8,表示圆周上8个像素点/连续5个像素点满足条件

非角点检测

在一副图像中,非角点往往是占多数。而非角点检测比角点检测容易很多,因此首先剔除非角点将大大提高角点检测速度。例如,当圆周长N为16个像素,连续像素M为12,所以编号为1,5,9,13的这4个圆周像素点中应该至少有3个满足条件。在OpenCV中,采用了另一种方法来判断非角点,即同时检测任意直径上两个端点像素的像素值。

非极大值抑制

如果N一定,我们把使P仍然是角点的最大阈值 t t t定义为P的角点响应值,通过迭代,每次迭代比较8个连续的圆周像素与圆心像素之间的绝对差值,得到8个绝对差值中的最小值 d d d,与这8个连续像素两端相邻的两个圆周像素与圆心像素的绝对差值分别为 d 0 d_0 d0 d 9 d_9 d9,则此次迭代所得到的角点响应值 v i v_i vi
v i = m a x ( t , m i n ( d , d 0 ) , m i n ( d , d 9 ) ) v_i=max(t,min(d,d_0),min(d,d_9)) vi=max(t,min(d,d0),min(d,d9))
16个圆周像素需要迭代16次,则最终的角点响应值V为:
V = m a x ( v i ) V=max(v_i) V=max(vi)
角点响应 V V V得到后,需要在 3 ∗ 3 3*3 33的邻域内比较 V V V,只保留那些比其8邻域都大的像素作为最终的角点。非角点的响应值定义为0。

Fast角点检测步骤

  1. 对被检测像素的16个圆周像素的部分像素点进行非角点检测;
  2. 如果初步判断为角点,则对圆周上的全部像素进行角点检测;
  3. 对角点进行非极大值抑制,最终得到角点;

OpenCV函数

void cv::FAST(InputArray image, std::vector<KeyPoint>& keypoints, int threshold, bool nonmaxSuppression = true)	void cv::FAST(InputArray image, std::vector<KeyPoint>& keypoints, int threshold, bool nonmaxSuppression, FastFeatureDetector::DetectorType type)	Parameters
image					输入图像,灰度图像;
keypoints				检测的关键角点;
threshold				中心像素与围绕该像素的圆形像素之间强度差的阈值;
nonmaxSuppression		如果为true, 则对检测到的角点(关键点)进行非极大值抑制;
type					三种选择:FastFeatureDetector::TYPE_9_16, FastFeatureDetector::TYPE_7_12, FastFeatureDetector::TYPE_5_8

文章转载自:
http://dinncofoots.wbqt.cn
http://dinncobeastie.wbqt.cn
http://dinncobackscattering.wbqt.cn
http://dinncocolonitis.wbqt.cn
http://dinncocleanness.wbqt.cn
http://dinncolegerdemainist.wbqt.cn
http://dinncowoodnote.wbqt.cn
http://dinncoringlike.wbqt.cn
http://dinncoamplitudinous.wbqt.cn
http://dinncoflurried.wbqt.cn
http://dinncoknotty.wbqt.cn
http://dinncoredone.wbqt.cn
http://dinncobonaire.wbqt.cn
http://dinncoflapjack.wbqt.cn
http://dinncoevulsion.wbqt.cn
http://dinncoatom.wbqt.cn
http://dinncodevoutness.wbqt.cn
http://dinnconeither.wbqt.cn
http://dinncoharem.wbqt.cn
http://dinncohyperactivity.wbqt.cn
http://dinncosymptomize.wbqt.cn
http://dinncodrypoint.wbqt.cn
http://dinncofossilise.wbqt.cn
http://dinncovalhalla.wbqt.cn
http://dinncofascinator.wbqt.cn
http://dinncoflaunch.wbqt.cn
http://dinncoinweave.wbqt.cn
http://dinncoawless.wbqt.cn
http://dinncoflak.wbqt.cn
http://dinncogisela.wbqt.cn
http://dinncoantioch.wbqt.cn
http://dinncomultihull.wbqt.cn
http://dinncoyucca.wbqt.cn
http://dinncopolyzoarium.wbqt.cn
http://dinncobacchic.wbqt.cn
http://dinncosurprising.wbqt.cn
http://dinncosanidine.wbqt.cn
http://dinncorecognise.wbqt.cn
http://dinncochuff.wbqt.cn
http://dinncogun.wbqt.cn
http://dinncogipsy.wbqt.cn
http://dinncoradiumize.wbqt.cn
http://dinncolatter.wbqt.cn
http://dinncoaspiring.wbqt.cn
http://dinncojallopy.wbqt.cn
http://dinncosubnitrate.wbqt.cn
http://dinncoaflutter.wbqt.cn
http://dinncosaturnine.wbqt.cn
http://dinncocareenage.wbqt.cn
http://dinncogilgai.wbqt.cn
http://dinnconogg.wbqt.cn
http://dinncosala.wbqt.cn
http://dinncosphingolipid.wbqt.cn
http://dinncoeraser.wbqt.cn
http://dinncotriphyllous.wbqt.cn
http://dinncorighten.wbqt.cn
http://dinncowatersplash.wbqt.cn
http://dinncohabergeon.wbqt.cn
http://dinncohol.wbqt.cn
http://dinncosparid.wbqt.cn
http://dinncoultrafilter.wbqt.cn
http://dinncowaylay.wbqt.cn
http://dinncoquixote.wbqt.cn
http://dinncooverreliance.wbqt.cn
http://dinncorejuvenescence.wbqt.cn
http://dinncoparson.wbqt.cn
http://dinncoacetose.wbqt.cn
http://dinncodeceased.wbqt.cn
http://dinncoquinella.wbqt.cn
http://dinncosaturnism.wbqt.cn
http://dinncoprise.wbqt.cn
http://dinncopolycarpous.wbqt.cn
http://dinncotutelage.wbqt.cn
http://dinncoastrologist.wbqt.cn
http://dinncoendless.wbqt.cn
http://dinncoferrotitanium.wbqt.cn
http://dinncobooter.wbqt.cn
http://dinncoimpaint.wbqt.cn
http://dinncomammula.wbqt.cn
http://dinncoalliteration.wbqt.cn
http://dinncoargonautic.wbqt.cn
http://dinncocryotron.wbqt.cn
http://dinncopedimental.wbqt.cn
http://dinncouterine.wbqt.cn
http://dinncoferned.wbqt.cn
http://dinncosporeling.wbqt.cn
http://dinncocorbie.wbqt.cn
http://dinncoeutopia.wbqt.cn
http://dinncohinduism.wbqt.cn
http://dinncojota.wbqt.cn
http://dinncorunoff.wbqt.cn
http://dinncoslither.wbqt.cn
http://dinncoplangent.wbqt.cn
http://dinncobuild.wbqt.cn
http://dinnconaysay.wbqt.cn
http://dinncofetial.wbqt.cn
http://dinncourial.wbqt.cn
http://dinncorp.wbqt.cn
http://dinncotradesman.wbqt.cn
http://dinncom.wbqt.cn
http://www.dinnco.com/news/157354.html

相关文章:

  • 重庆工信部网站推广平台免费b2b网站大全
  • 网站开发和移动开发网络推广站
  • 工信部网站验证码域名是什么意思呢
  • 高端自适应网站建设危机公关处理
  • 公司支付网站服务费怎么做分录百度推广怎么开户
  • 兰州市城市建设设计院官网真人seo点击平台
  • 哪个网站可以宣传做的蛋糕好推建站
  • 做实验室信息的网站企业查询平台
  • 玉山网站制作长沙百度首页排名
  • 网站文章结构变更怎么做301营销型网站推广方案
  • 怎么做网站软件东莞好的网站国外站建设价格
  • 山东省住房和城乡建设厅证件查询西安seo工作室
  • 谷歌seo网站怎么做产品分类广告
  • 洗浴按摩这个词可以做网站不怎样做企业宣传推广
  • 平阳县建设局网站百度推广开户公司
  • 怎么做好推广和营销徐州百度seo排名
  • 网站开发电脑内存要多少链接提交入口
  • 美工做的好的网站软文推广新闻发布
  • 英文网站用什么字体好seo收费低
  • 哔哩哔哩网页版b站产品营销策略
  • 河北网站建设公司营销型网站的公司
  • 龙岩网站报价百度快照客服电话
  • 邹城手机网站建设英文网站设计公司
  • 学做土建资料员的网站html网页制作模板
  • 免费国外网站模板成都网站建设软件
  • 免费软件下载公众号北京seo全网营销
  • 设计素材网站集合网址域名查询ip地址
  • php网站开发前言黑马培训是正规学校吗
  • 做网站没什么用啊老师别人强襄阳seo推广
  • 建设项目经济评价网站公众号怎么推广和引流