opencv轮廓检测之椭圆检测-----算法篇(10)--FindContours函数算法解释

本文详细解析了OpenCV中用于轮廓检测的FindContours函数,包括基本概念如边界点、包围关系、内外边框等,并介绍了两种算法:确定边框包含关系和查找最外层边框。此外,讨论了Contour retrieval mode的不同选项及其效果,以及轮廓压缩方法。以Canny算子为例,展示了轮廓检测的实际应用和挑战。
摘要由CSDN通过智能技术生成

Topological structural analysis of digitized binary images by border following 1985  

出于对版权的考虑,  这里只附上论文名,  墙内百度文库可以找到.  资源共享是好事, 但请大家尊重版权不要拿不是自己的东西来赚积分


首先介绍了基本概念

       1. 上下左右极限位置构成了frame, 假定frame像素由0 构成

       2. 由像素0构成的componet 如果包含边框, 那将其称之为background, 反之不包含,  则称之为hole

       3. 定义一:  一个像素1的neighborhood 中有一个像素为0, 那么称这个像素为 border point(算了不往下翻译了,  )

                       In the 4- (8-) connected case, a 1-pixel (i, j) having a 0-pixel ( p, q) in its 8- (4) neighborhood 

                                                                                                                                  is calleda border point.

                         It is also described as “a border pointbetween a 1-component S1, and a 0-components S2,”

                       if (i, j) is a member of S1 and (p, q) is a member of S2.

           定义二: (surroundness among connected components).

                        For given two connected components S1 and S2 in a binary picture, 

                     if there exists a pixel belonging  to S2 for any 4-path from a pixel in S1 to a pixel on the frame, 

                     we say that S2 surrounds S1. 

                         If S2 surrounds S1 and there exists a border point between them, then
                     S2 is said to surround S1 directly.

           定义三: (outer border and hole border). 

                        An outer border is defined as the set of the border points between an arbitrary 1-component 

                     and the 0-component which surrounds it directly. Similarly, we refer to the set of the border points

                     between a hole and the 1-component which surrounds it directly asa hole border.
                        We use the term “border” for either an

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值