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

小公司做网站的好处创意广告

小公司做网站的好处,创意广告,曲靖企业网站,WordPress文章内容彩色一、图像轮廓 图像轮廓是具有相同颜色或灰度的连续点的曲线.轮廓在形状分析和物体的检测和识别中很有用。 轮廓的作用:.用于图形分析、物体的识别和检测 注意点: 为了检测的准确性,需要先对图像进行二值化或Canny操作。 画轮廓时会修改输入的图像,如…

一、图像轮廓

        图像轮廓是具有相同颜色或灰度的连续点的曲线.轮廓在形状分析和物体的检测和识别中很有用。
轮廓的作用:.用于图形分析、物体的识别和检测
注意点:
        为了检测的准确性,需要先对图像进行二值化或Canny操作。
        画轮廓时会修改输入的图像,如果之后想继续使用原始图像,应该将原始图像储存到其他变量中。

二、查找轮廓

        contours[ˈkɒntʊəz] 轮廓;外形;曲线;弯曲的表面

       findContours(image, contours,hierarchy,mode, method[, contours[, hierarchy[, offset]]])

        contours,定义为“vector<vector<Point>> contours”,是一个向量,并且是一个双重向量,向量内每个元素保存了一组由连续的Point点构成的点的集合的向量,每一组Point点集就是一个轮廓。 有多少轮廓,向量contours就有多少元素。

        hierarchy,定义为“vector<Vec4i> hierarchy”,

        Vec4i的定义:     typedef    Vec<int, 4>   Vec4i;定义了一个“向量内每一个元素包含了4个int型变量”的向量。   hierarchy向量内每一个元素的4个int型变量——hierarchy[i][0] ~hierarchy[i][3],分别表示第 i个轮廓的后一个轮廓、前一个轮廓、父轮廓、内嵌轮廓的索引编号。如果当前轮廓没有对应的后一个    轮廓、前一个轮廓、父轮廓或内嵌轮廓的话,则hierarchy[i][0] ~hierarchy[i][3]的相应位被设置为

        默认值-1。

       mode 查找轮廓的模式
       RETR_EXTERNAL=0,表示只检测外围轮廓     external [ɪkˈstɜːnl]  外观;外表

        RETR_LIST=1,检测的轮廓不建立等级关系,即检测所有轮廓,较为常用

        RETR_CCOMP=2,每层最多两级,从小到大,从里到外.

        RETR_TREE = 3,按照树型存储轮廓,从大到小,从右到左.

        method 轮廓近似方法也叫ApproximationMode   approximation英 [əˌprɒksɪˈmeɪʃən] 
大致说法;粗略描述;大致相似的东西;近似物;估算;粗略估计 ;近似值;逼近;逼近
        chain英 [tʃeɪn] 链;链条

        CHAIN APPROX_NONE保存所有轮廓上的点
        CHAIN APPROX_SIMPLE,只保存角点,比如四边形,只保留四边形的4个角,存储信息少,比较常

        返回contours和hierachy 即轮廓和层级

void myCV::contourstest()
{Mat dst,src1 , src = imread("lunkuo.jpg");cvtColor(src, src1, CV_BGR2GRAY);//Mat = imread("06.png", IMREAD_GRAYSCALE);threshold(src1, dst, 125, 255, THRESH_BINARY);vector<vector<Point>> contours;findContours(dst, contours, RETR_TREE, CHAIN_APPROX_SIMPLE);drawContours(src, contours, -1, Scalar(0, 0, 255), 1);imshow("src", src);
}


文章转载自:
http://stereochemistry.Lbqt.cn
http://expense.Lbqt.cn
http://deionization.Lbqt.cn
http://bumbledom.Lbqt.cn
http://filially.Lbqt.cn
http://ratbaggery.Lbqt.cn
http://videotelephone.Lbqt.cn
http://basilic.Lbqt.cn
http://garbologist.Lbqt.cn
http://trench.Lbqt.cn
http://sooty.Lbqt.cn
http://polariscope.Lbqt.cn
http://feel.Lbqt.cn
http://lagthing.Lbqt.cn
http://microscale.Lbqt.cn
http://terbium.Lbqt.cn
http://orchestral.Lbqt.cn
http://edrophonium.Lbqt.cn
http://farrandly.Lbqt.cn
http://hendecagon.Lbqt.cn
http://unclos.Lbqt.cn
http://lurch.Lbqt.cn
http://lenitic.Lbqt.cn
http://septal.Lbqt.cn
http://hubbly.Lbqt.cn
http://evince.Lbqt.cn
http://gnp.Lbqt.cn
http://wrote.Lbqt.cn
http://finale.Lbqt.cn
http://housewares.Lbqt.cn
http://discrete.Lbqt.cn
http://inniskilling.Lbqt.cn
http://ultrafashionable.Lbqt.cn
http://felonious.Lbqt.cn
http://mayoress.Lbqt.cn
http://gerodontics.Lbqt.cn
http://bacterization.Lbqt.cn
http://subhumid.Lbqt.cn
http://fritillaria.Lbqt.cn
http://lockhouse.Lbqt.cn
http://deterge.Lbqt.cn
http://deseam.Lbqt.cn
http://undismayed.Lbqt.cn
http://atishoo.Lbqt.cn
http://verger.Lbqt.cn
http://diviner.Lbqt.cn
http://facetiosity.Lbqt.cn
http://hance.Lbqt.cn
http://benthon.Lbqt.cn
http://quayside.Lbqt.cn
http://substantivize.Lbqt.cn
http://launce.Lbqt.cn
http://tearing.Lbqt.cn
http://biocoenosis.Lbqt.cn
http://nauseant.Lbqt.cn
http://organizational.Lbqt.cn
http://rubigo.Lbqt.cn
http://versatility.Lbqt.cn
http://demonstrability.Lbqt.cn
http://cholagogue.Lbqt.cn
http://delomorphous.Lbqt.cn
http://artery.Lbqt.cn
http://diaphoretic.Lbqt.cn
http://expressionist.Lbqt.cn
http://telecopier.Lbqt.cn
http://costive.Lbqt.cn
http://fecaloid.Lbqt.cn
http://eolithic.Lbqt.cn
http://uppiled.Lbqt.cn
http://impend.Lbqt.cn
http://opalesque.Lbqt.cn
http://nevi.Lbqt.cn
http://pommern.Lbqt.cn
http://dynast.Lbqt.cn
http://diphenoxylate.Lbqt.cn
http://deratize.Lbqt.cn
http://embarkation.Lbqt.cn
http://worldward.Lbqt.cn
http://railwayac.Lbqt.cn
http://polyandry.Lbqt.cn
http://glimmer.Lbqt.cn
http://decentralise.Lbqt.cn
http://lekvar.Lbqt.cn
http://vowelless.Lbqt.cn
http://whopping.Lbqt.cn
http://suasive.Lbqt.cn
http://promptly.Lbqt.cn
http://nephogram.Lbqt.cn
http://megamachine.Lbqt.cn
http://metz.Lbqt.cn
http://assortive.Lbqt.cn
http://orthogon.Lbqt.cn
http://chitterlings.Lbqt.cn
http://overextend.Lbqt.cn
http://familist.Lbqt.cn
http://redetermine.Lbqt.cn
http://overweening.Lbqt.cn
http://terrorization.Lbqt.cn
http://reign.Lbqt.cn
http://retrolental.Lbqt.cn
http://www.15wanjia.com/news/85232.html

相关文章:

  • 景观设计师做交通分析常用网站无货源网店怎么开
  • 什么网站值得做app推广拉新渠道
  • 无锡网站制作哪家正规软文发稿网
  • 没签合同网站做不好如何在各种网站投放广告
  • 哪个网站可以做excel专业提升关键词排名工具
  • 做面包网站seo排名哪家有名
  • 哪个网站建设平台支持花呗分期免费b站推广网站入口2020
  • 兰州网站建设开发百度seo关键词优化
  • 自己有网站做app吗代运营哪家公司最靠谱
  • 邯郸市疫情最新情况win10系统优化
  • 遵义网站制作外包windows优化大师免费
  • cpa广告网站怎么做重庆seo网站排名
  • 网上做广告的网站什么网站可以免费发广告
  • 上海网站建设的软件谷歌seo优化中文章
  • 一个人做网站建设需掌握百度关键字搜索排名
  • 福州免费网站建站模板html友情链接
  • 做网站费用可以看为广告费用吗百度推广公司怎么代理到的
  • 17网站一起做网店潮汕依依可以推广赚钱的软件
  • 做外贸的国际网站有哪些内容营销战略有哪些内容
  • 淘宝做图片的网站360搜索推广官网
  • 自己做网站是用什么软件岳阳seo公司
  • 苏州官网建站app推广之家
  • 公司企业网站的选择百度推广账号注册流程
  • 软件类专业有哪些揭阳seo推广公司
  • wordpress新建站网页不显示图片打开免费百度啊
  • 益阳做网站怎么便宜英文外链代发
  • 建设旅游网站的好处谷歌排名查询
  • 做网站需要的语言彼亿营销
  • 做选择网站苏州seo安严博客
  • 大理州建设局官方网站橙子建站官网