文件名称:connectprocess
介绍说明--下载内容均来自于网络,请自行研究使用
在图像处理过程中,经常会遇到这样一部分图像,图像的整体部分如果人来看的话一眼就能看出,但是它的内部由于有各种小缺口,导致断开了,这样在计算机“眼”里就被认为是断开的,为了使图像达到适应人眼的感觉,需要将这些缺口和断开的口给连接上去,这就需要用到计算机图形学中的连通域处理技术。本文给出一个简单的连通域处理函数,当然这个函数是来自OpenCV著名教程Learning OpenCV中,只不过它的接口是基于c版本的OpenCV,而到目前为止,基于C++接口的OpenCV已经是主流,所以我将其接口改成了c++版的,但是其内部一些代码基本没有动它。-An integral part of the part of the image, the image of people look one can see in image processing, often encounter, but it is the internal cause disconnected due to a variety of small gap, so that the computer " eye " is considered to be disconnected in order to adapt to the human eye feeling image, you need to connect these gaps and disconnect the mouth up, which requires domain processing techniques used in computer graphics connectivity. This paper presents a simple connected domain processing function, this function is of course from Learning OpenCV OpenCV famous tutorial, but its interface is based on the c version of OpenCV, and so far OpenCV based on C++ interfaces has been the mainstream, so I interface into a c++ version, but some of its internal code basically did not move it.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
connectprocess
..............\connectprocess
..............\..............\Makefile
..............\..............\Makefile.Debug
..............\..............\Makefile.Release
..............\..............\connectprocess.pro
..............\..............\connectprocess.pro.user
..............\..............\debug
..............\..............\.....\connectprocess.exe
..............\..............\.....\connectprocess.ilk
..............\..............\.....\connectprocess.intermediate.manifest
..............\..............\.....\connectprocess.pdb
..............\..............\.....\main.obj
..............\..............\main.cpp
..............\..............\release
..............\..............\test.png
..............\..............\vc100.pdb
..............\基础学习笔记之opencv(23):learning OpenCV书中一个连通域处理函数.pdf