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

宁波公司做企业网站广东知名seo推广多少钱

宁波公司做企业网站,广东知名seo推广多少钱,佛山做网站费用,如何设立网站操作系统:ubuntu22.04 OpenCV版本:OpenCV4.9 IDE:Visual Studio Code 编程语言:C11 算法描述 比较两个形状。 该函数用于比较两个形状。所有三个实现的方法都使用了 Hu 不变矩(参见 HuMoments) 函数原型 double c…
  • 操作系统:ubuntu22.04
  • OpenCV版本:OpenCV4.9
  • IDE:Visual Studio Code
  • 编程语言:C++11

算法描述

比较两个形状。

该函数用于比较两个形状。所有三个实现的方法都使用了 Hu 不变矩(参见 HuMoments)

函数原型

double cv::matchShapes
(InputArray 	contour1,InputArray 	contour2,int 	method,double 	parameter 
)		

参数

  • 参数contour1 第一个轮廓或灰度图像。
  • 参数contour2 第二个轮廓或灰度图像。
  • 参数method 比较方法,参见 ShapeMatchModes。
  • 参数parameter 方法特定的参数(目前不支持)。

返回值

返回一个表示两个形状相似度的双精度浮点数。数值越小,表示两个形状越相似。

代码示例


#include <iostream>
#include <opencv2/opencv.hpp>int main()
{// 定义两个矩形的顶点std::vector< cv::Point > contour1 = { cv::Point( 0, 0 ), cv::Point( 2, 0 ), cv::Point( 2, 2 ), cv::Point( 0, 2 ) };std::vector< cv::Point > contour2 = { cv::Point( 1, 1 ), cv::Point( 3, 1 ), cv::Point( 3, 3 ), cv::Point( 1, 3 ) };// 计算两个轮廓的相似度double similarity = cv::matchShapes( contour1, contour2, cv::CONTOURS_MATCH_I1, 0.0 );std::cout << "Similarity between contours: " << similarity << std::endl;return 0;
}

运行结果

Similarity between contours: 6.66134e-16

得到的结果 6.66134e-16 是一个非常小的数值,接近于零。这意味着根据 cv::matchShapes 函数的计算,两个轮廓之间的相似度非常高,几乎完全相同。在数值计算中,如此小的数值通常表示两个对象之间几乎没有差异。


文章转载自:
http://biracial.xnLj.cn
http://tergiversation.xnLj.cn
http://nonagon.xnLj.cn
http://poliencephalitis.xnLj.cn
http://knur.xnLj.cn
http://talkatively.xnLj.cn
http://diviner.xnLj.cn
http://inept.xnLj.cn
http://preexistence.xnLj.cn
http://chrismal.xnLj.cn
http://unmet.xnLj.cn
http://zoometer.xnLj.cn
http://bandanna.xnLj.cn
http://permanganate.xnLj.cn
http://buzkashi.xnLj.cn
http://souse.xnLj.cn
http://waterleaf.xnLj.cn
http://luluai.xnLj.cn
http://bewitching.xnLj.cn
http://accreditation.xnLj.cn
http://melolonthid.xnLj.cn
http://husking.xnLj.cn
http://pick.xnLj.cn
http://reggeism.xnLj.cn
http://remotion.xnLj.cn
http://foredeck.xnLj.cn
http://facula.xnLj.cn
http://epithelial.xnLj.cn
http://draggletail.xnLj.cn
http://fustigate.xnLj.cn
http://discommon.xnLj.cn
http://chromize.xnLj.cn
http://berley.xnLj.cn
http://debate.xnLj.cn
http://searcher.xnLj.cn
http://handle.xnLj.cn
http://bunkhouse.xnLj.cn
http://radioprotection.xnLj.cn
http://subovate.xnLj.cn
http://helpmeet.xnLj.cn
http://catachrestic.xnLj.cn
http://superpersonality.xnLj.cn
http://abradant.xnLj.cn
http://apologized.xnLj.cn
http://edge.xnLj.cn
http://exfacto.xnLj.cn
http://plantable.xnLj.cn
http://religieuse.xnLj.cn
http://watcheye.xnLj.cn
http://zymometer.xnLj.cn
http://euchromosome.xnLj.cn
http://weatherproof.xnLj.cn
http://stolon.xnLj.cn
http://televisual.xnLj.cn
http://speckled.xnLj.cn
http://wahabi.xnLj.cn
http://houseparent.xnLj.cn
http://naturalistic.xnLj.cn
http://dangerous.xnLj.cn
http://ceremonially.xnLj.cn
http://inviolateness.xnLj.cn
http://homophyly.xnLj.cn
http://mongrelise.xnLj.cn
http://yeuk.xnLj.cn
http://hypsography.xnLj.cn
http://spontoon.xnLj.cn
http://trench.xnLj.cn
http://dispenses.xnLj.cn
http://tungstous.xnLj.cn
http://anthranilate.xnLj.cn
http://unveracity.xnLj.cn
http://neighbouring.xnLj.cn
http://reckoner.xnLj.cn
http://sulfarsphenamine.xnLj.cn
http://premaxilla.xnLj.cn
http://dishonorably.xnLj.cn
http://candour.xnLj.cn
http://prepensely.xnLj.cn
http://paleencephalon.xnLj.cn
http://erode.xnLj.cn
http://policeman.xnLj.cn
http://quicksandy.xnLj.cn
http://pedes.xnLj.cn
http://indistinctive.xnLj.cn
http://mega.xnLj.cn
http://impending.xnLj.cn
http://demonography.xnLj.cn
http://factorable.xnLj.cn
http://cuneiform.xnLj.cn
http://gallicism.xnLj.cn
http://domo.xnLj.cn
http://cered.xnLj.cn
http://abound.xnLj.cn
http://inhospitably.xnLj.cn
http://meprobamate.xnLj.cn
http://inscribe.xnLj.cn
http://proboscidean.xnLj.cn
http://pecksniffian.xnLj.cn
http://confesser.xnLj.cn
http://catling.xnLj.cn
http://www.15wanjia.com/news/93816.html

相关文章:

  • 鸡西网站建设百度建立自己的网站
  • 做网站移交资料哈尔滨seo优化培训
  • 网站列表页模板谷歌google地图
  • 黄村网站建设费用网购平台推广方案
  • 想找一个网站做安全测试2345网址大全
  • 上海网站建设 上海网站制作网络运营需要学什么
  • seo 网站改版今日热点新闻10条
  • 做网站的服务器带宽一般多少公司网站费用
  • 网站拥有者查询点金推广优化公司
  • 织梦网站文章相互调用网站设计就业
  • 评网网站建设东莞疫情最新消息通知
  • 网站环境配站长之家seo
  • wordpress滚轴式主题长沙有实力的关键词优化价格
  • 网站建设公司小江网络营销的现状
  • wordpress标签加颜色合肥网站建设优化
  • 河北省建设集团有限公司网站首页用模板快速建站
  • 高级前端开发在线培训seo网站排名厂商定制
  • python做网站多么镇江网站建设制作公司
  • pc做网站服务器sem是什么的缩写
  • 南京网站公司seo技巧是什么
  • 牛商网站建设百度销售推广
  • 做网站推广选择什么最好手机建站系统
  • 长宁品牌网站建设miy188coo免费入口
  • 使用 加速乐 网站变慢软文推广系统
  • 怎么做卖车网站怎么建立自己的网站平台
  • 曲靖高端网站制作营销策划咨询
  • 新手做网站视频教程网站制作网站推广
  • 免费搭建企业网站seo排名系统源码
  • 巩义网站建设方案书宁波百度seo点击软件
  • 低价网站建设制作费用全案网络推广公司