[go: up one dir, main page]

CN1290061C - An image retrieval method using marked edge - Google Patents

An image retrieval method using marked edge Download PDF

Info

Publication number
CN1290061C
CN1290061C CN 03134425 CN03134425A CN1290061C CN 1290061 C CN1290061 C CN 1290061C CN 03134425 CN03134425 CN 03134425 CN 03134425 A CN03134425 A CN 03134425A CN 1290061 C CN1290061 C CN 1290061C
Authority
CN
China
Prior art keywords
edge
image
prominent edge
edges
carry out
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 03134425
Other languages
Chinese (zh)
Other versions
CN1570973A (en
Inventor
郭雷
韩军伟
鲍永生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Northwestern Polytechnical University
Original Assignee
Northwestern Polytechnical University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Northwestern Polytechnical University filed Critical Northwestern Polytechnical University
Priority to CN 03134425 priority Critical patent/CN1290061C/en
Publication of CN1570973A publication Critical patent/CN1570973A/en
Application granted granted Critical
Publication of CN1290061C publication Critical patent/CN1290061C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to an image retrieving method using an obvious edge, which is suitable for images with clear edges. The basic concept is that edges describing image characteristics are purposefully selected, and obvious edges are used. The present invention is characterized in that firstly, edge detection and refinement are carried out to an inquired image, and an edge image is obtained; secondly, an independent edge automatic reinforcing method is used, and the obvious edges in the image are selected by repeatedly and instantly searching and reinforcing edge points in a heuristic type; thirdly, three typical characteristics, crunode rate, rotating frequency and angle-point rate are used for describing each obvious edge in order to generate the characteristic vector of the image; fourthly, the similarity degree among the images is measured by using a method of integrating obvious edge match in match; finally, sequence arrangement is carried out according to similarity to output similar image aggregate. Compared with other methods, the retrieving accuracy rate of the method is high. The obvious edges and a many-to-many matching strategy are used, and thus, the preset invention has high retrieving accuracy rate.

Description

一种利用显著边缘进行图像检索的方法A Method of Image Retrieval Using Salient Edges

所属技术领域:本发明涉及一种利用显著边缘进行图像检索的方法,属于计算机视觉、图像理解以及模式识别等领域。适用于边缘比较清晰的图像,检索边缘容易获取的图像设计的。Technical field: The present invention relates to a method for image retrieval using salient edges, which belongs to the fields of computer vision, image understanding and pattern recognition. It is suitable for images with relatively clear edges, and is designed to retrieve images whose edges are easy to obtain.

背景技术:自90年代以来,随着计算机技术、多媒体技术以及网络技术的飞速发展,越来越多的图像出现在人们的日常生活中。图像数据的爆炸性增长使得对图像的管理和检索成为关键。目前,许多图像检索方法都使用形状来描述图像的特征。形状是表征物体的本质特征之一,在很多情况下,人们往往单凭物体的形状信息就能识别物体,这是形状区别于其它视觉特征如颜色、纹理等的关键所在。目前应用于图像检索中的形状描述方法大致可以分为两类:基于图像边缘和基于区域。基于图像边缘的方法使用物体的边缘信息描述和查询图像,这类方法适用于图像边缘较为清晰,较为容易获取的图像。基于区域的方法主要依靠区域内象素的颜色分布信息来描述图像,这类方法对于区域能够较为准确的分割出来、区域内颜色分布较为均一的图像较为合适。Background Art: Since the 1990s, with the rapid development of computer technology, multimedia technology and network technology, more and more images appear in people's daily life. The explosive growth of image data makes image management and retrieval critical. Currently, many image retrieval methods use shape to characterize images. Shape is one of the essential characteristics of objects. In many cases, people can recognize objects only by their shape information, which is the key to distinguishing shape from other visual features such as color and texture. The shape description methods currently applied in image retrieval can be roughly divided into two categories: image edge-based and region-based. The method based on the edge of the image uses the edge information of the object to describe and query the image. This method is suitable for images with clearer image edges and easier acquisition. The region-based method mainly relies on the color distribution information of the pixels in the region to describe the image. This type of method is more suitable for the image where the region can be segmented more accurately and the color distribution in the region is more uniform.

研究人员和技术人员提出了多种基于图像边缘的图像检索方法,但仍存在很多问题。方法1:首先提取边缘信息,每一条边缘都用一个多边形来近似,近似多边形的顶点来代表图像的形状信息。此方法的缺点在于:它要求边缘曲线闭合,而对于一般图像来说此要求很难达到。方法2:一种形状弹性匹配算法来进行图像检索,首先由人工指定感兴趣区域,在这些区域中采用爬山优化算法获取图像边缘,使用这些感兴趣区域内的边缘代表物体形状。这种方法的优点是对边缘进行了筛选,缺点是需要人工干预,在图像检索中这往往不太现实。方法3:使用草图进行图像检索,在他们的工作中,图像首先经过一系列的处理如尺度规格化、边缘检测、细化,然后简单地将获取的边缘图像和用户的草图根据模板进行匹配。方法4:采用边缘上的拐角点描述形状,其一、在拐点的基础上进行仿射变换,利用仿射不变特征来代表形状。其二、采用边缘点的相位直方图来刻化图像形状特征。其三、提出一种曲率尺度空间方法来描述形状,它对于每一条边缘曲线进行不同尺度下的高斯平滑,在每一尺度下提取曲率较大的点,选取在多尺度下生存时间最长的点来描述边缘曲线。上述的几种方法的共同缺点是:仅考虑了特殊的边缘点的信息,而这些边缘点并不能很好地刻画物体的形状。方法5:一种基于边缘的结构特征来描述形状,它使用“灌水i±(Water-Filling)算法抽取边缘曲线,每一条边缘曲线用一些结构特征如:灌水时间、叉点个数、叉点直方图等来表示,而整幅图像的形状特征用几个“特殊”边缘曲线如:叉点最多边缘、灌水时间最长曲线等来刻化。这种方法的优点是:利用了边缘曲线的结构信息而非单个边缘点信息来表示形状,其缺点是:仅仅使用个别的边缘曲线,这些边缘曲线往往因为噪声或提取边缘过程的误差而不准确,这将会降低检索的准确率。方法6:一种基于傅立叶分析的方法,该方法首先获得一个能够描述形状的特征函数,如基于曲率的特征函数或基于半径的特征函数。然后对此特征函数作离散傅立叶变换,使用变换后的傅立叶系数作为形状特征来检索图像。这种方法对边缘点位置的微小变化和噪声相当敏感,因此,在实际检索中并不能取得很好的效果。方法7:三角形划分,首先选取图像边缘上的角点作为特征点,然后使用Delaunay三角形进行划分,可以记录三角形的形状特征来描述图像的形状特征。这种方法由于也基于边缘上的一些特殊点,所以也对于噪声和点位置的变化较为敏感。Researchers and technicians have proposed a variety of image retrieval methods based on image edges, but there are still many problems. Method 1: First extract the edge information, each edge is approximated by a polygon, and the vertices of the approximate polygon represent the shape information of the image. The disadvantage of this method is that it requires the edge curves to be closed, which is difficult to achieve for general images. Method 2: A shape elastic matching algorithm is used for image retrieval. First, regions of interest are manually specified. In these regions, the hill-climbing optimization algorithm is used to obtain image edges, and the edges in these regions of interest are used to represent the object shape. The advantage of this method is that the edges are screened, and the disadvantage is that it requires manual intervention, which is often not realistic in image retrieval. Method 3: Image retrieval using sketches. In their work, the image first goes through a series of processing such as scale normalization, edge detection, thinning, and then simply matches the acquired edge image with the user's sketch according to the template. Method 4: Use the corner points on the edge to describe the shape. First, perform affine transformation on the basis of the corner points, and use affine invariant features to represent the shape. Second, use the phase histogram of the edge points to characterize the image shape features. Third, a curvature scale space method is proposed to describe the shape. It performs Gaussian smoothing at different scales for each edge curve, extracts points with larger curvature at each scale, and selects the longest survival time under multiple scales. points to describe the edge curve. The common disadvantage of the above methods is that only the information of special edge points is considered, and these edge points cannot describe the shape of the object well. Method 5: An edge-based structural feature to describe the shape, which uses the "water filling i ± (Water-Filling) algorithm to extract edge curves, and each edge curve uses some structural features such as: watering time, number of forks, forks Histogram, etc., and the shape features of the entire image are characterized by several "special" edge curves, such as: the edge with the most forks, the longest irrigation time curve, etc. The advantage of this method is that it uses the edge curve The disadvantage of using structural information rather than single edge point information to represent shapes is that only individual edge curves are used, and these edge curves are often inaccurate due to noise or errors in the edge extraction process, which will reduce the accuracy of retrieval. Method 6 : A method based on Fourier analysis. This method first obtains a characteristic function that can describe the shape, such as a curvature-based characteristic function or a radius-based characteristic function. Then perform a discrete Fourier transform on this characteristic function, and use the transformed Fourier coefficients Retrieve images as shape features. This method is quite sensitive to small changes in edge point positions and noise, so it does not achieve good results in actual retrieval. Method 7: Triangle division, first select the corner points on the edge of the image As feature points, and then use Delaunay triangles to divide, the shape features of the triangles can be recorded to describe the shape features of the image. This method is also sensitive to noise and point position changes because it is also based on some special points on the edge.

目前已有的依靠边缘信息描述图像形状进而检索图像的方法具有以下两个主要的缺陷:其一、在利用边缘提取形状信息之前对边缘不进行分析和选择,大多数算法使用了图像中的所有边缘。图像检索的目的是为了搜索出相似的图像,而在实际处理中,由于边缘提取的不准确性和噪声的影响,并不是所有的边缘都会对描述图像形状和图像匹配产生积极作用;其二、在度量图像间的相似性时,采用了简单的“一对一”匹配策略。这种匹配策略计算相当简单,但是由于噪声的影响和边缘提取的不准确往往会使得抽取出的最长灌水时间边缘和最多叉点边缘不准确,直接导致误匹配的出现,从而影响检索的准确率。The existing methods that rely on edge information to describe the image shape and then retrieve the image have the following two main defects: First, the edge is not analyzed and selected before the edge is used to extract the shape information, and most algorithms use all the information in the image. edge. The purpose of image retrieval is to search for similar images, but in actual processing, due to the inaccuracy of edge extraction and the influence of noise, not all edges will have a positive effect on describing image shape and image matching; second, When measuring the similarity between images, a simple "one-to-one" matching strategy is adopted. The calculation of this matching strategy is quite simple, but due to the influence of noise and the inaccuracy of edge extraction, the extracted edge of the longest watering time and the edge of the most cross point are often inaccurate, which directly leads to the occurrence of false matching, thus affecting the accuracy of retrieval. Rate.

发明内容:为避免现有技术的缺陷,本发明在系统地研究了基于边缘的形状特征的描述方法,及形状特征在图像检索中的应用,提出了一种基于显著边缘的图像检索方法。与其它的方法不同,我们认为最能够代表形状应当是的图像中的显著边缘,并且设计了一个独立边界自增强的算法来提取图像中的显著边缘。然后,我们使用三个特征来描述每一条显著边缘,进而形成图像的特征矢量。在度量图像间的相似度时,我们没有采用传统的“一对一”匹配准则,而是用了一种“多对多”的匹配准则,其目的是为了减少因为图像边缘提取不准对检索造成的不良影响。大量的实验证明,本发明所提出的方法相对于其它方法,具有优良的性能:1、由于使用了显著边缘,剔除短小的边缘,去掉了一个影响检索准确率的不利因素。同时也减小计算量,提高检索速度;2、采用“多对多”的匹配策略,能够从一定程度上减小边缘不准确的影响。Summary of the invention: In order to avoid the defects of the prior art, the present invention systematically studies the description method of edge-based shape features and the application of shape features in image retrieval, and proposes an image retrieval method based on salient edges. Different from other methods, we believe that it can best represent the salient edges in the image where the shape should be, and design a self-enhancement algorithm with independent boundaries to extract the salient edges in the image. Then, we use three features to describe each salient edge, which in turn forms the feature vector of the image. When measuring the similarity between images, we did not use the traditional "one-to-one" matching criterion, but a "many-to-many" matching criterion. adverse effects caused. A large number of experiments prove that the method proposed by the present invention has excellent performance compared with other methods: 1. Due to the use of prominent edges, short and small edges are eliminated, and a disadvantageous factor affecting the retrieval accuracy is removed. At the same time, it also reduces the amount of calculation and improves the retrieval speed; 2. The "many-to-many" matching strategy can reduce the influence of inaccurate edges to a certain extent.

本发明的基本思想是对描述图像特征的边缘有所选择,采用显著边缘。它们对于尺度缩放、噪声、边缘提取不准确等都有一定的鲁棒性。显著边缘是指图像中视觉强度较大且长度较长的的边缘,其特征在于:首先对查询图像进行边缘检测和细化,获取边缘图;其次,使用独立边缘自增强方法,通过对边缘点反复地随即启发式搜索及增强,挑选出图像中的显著边缘;然后,对于每一条显著边缘使用三个典型特征,叉点率、转动频率和角点率来描述,进而生成图像的特征矢量;接着,在匹配时采用综合显著边缘匹配的方法度量图像间的相似程度;最后,根据相似度排序,输出相似图像集合。The basic idea of the present invention is to select the edges describing the features of the image, and to use salient edges. They are robust to scaling, noise, inaccurate edge extraction, etc. The salient edge refers to the edge with greater visual intensity and longer length in the image. It is characterized in that: firstly, edge detection and refinement are performed on the query image to obtain the edge map; secondly, the independent edge self-enhancement method is used to Repeated random heuristic search and enhancement to select the salient edges in the image; then, for each salient edge, use three typical features to describe, and then generate the feature vector of the image; Then, the method of comprehensive salient edge matching is used to measure the similarity between images; finally, according to the similarity sorting, a set of similar images is output.

独立边缘自增强是将独立的边缘点连接成边缘曲线,并对获取的边缘曲线进行适当的处理,为后续的显著边缘选择提供便利。该方法是:以边缘的强度信息作为引导度量,通过反复的随机启发式搜索获得各种可能的图像边缘,然后利用积累器对每一条独立边缘进行自增强,这样就使图像中的显著边缘得到了很大的增强,最后利用增强后的结果就很容易的选择到显著边缘。独立边界自增强方法的最大优点是:边缘增强的幅度与自身的显著程度成正比,因此,增强后的结果更有利于显著边缘的选择。此外,由于多次的随机启发式搜索使得提取边缘的过程受噪声影响较小。Independent edge self-enhancement is to connect independent edge points into edge curves, and properly process the acquired edge curves to provide convenience for subsequent significant edge selection. The method is: take the edge strength information as a guide measure, obtain various possible image edges through repeated random heuristic search, and then use the accumulator to self-enhance each independent edge, so that the salient edges in the image can be obtained It has been greatly enhanced, and finally it is easy to select the significant edge by using the enhanced result. The biggest advantage of the independent boundary self-enhancement method is that the magnitude of edge enhancement is proportional to its own salient degree, so the enhanced result is more conducive to the selection of salient edges. In addition, the process of extracting edges is less affected by noise due to multiple random heuristic searches.

由于Canny算子具有良好的定位和细化性能,所以本发明中的边缘检测采用Canny算子。边缘检测后的图像称之为边缘图(Edge map),图中每一点的亮度代表了其边缘强度,亮度越大意味着边缘强度越大,可以发现灰度在局部发生突变的象素点。Since the Canny operator has good positioning and thinning performance, the edge detection in the present invention adopts the Canny operator. The image after edge detection is called an edge map (Edge map). The brightness of each point in the map represents its edge strength. The greater the brightness, the greater the edge strength, and you can find the pixel point where the gray level changes locally.

图像特征矢量的生成:对于每一条显著边缘,采用三个典型特征,叉点率、转动频率和角点率来描述。Generation of image feature vectors: For each salient edge, three typical features are used to describe the intersection rate, rotation frequency and corner rate.

叉点率:边缘曲线的分叉点数目可以很好地衡量边缘的结构复杂程度。将每一条显著边缘对应到原始的边缘图中,沿着显著边缘的端点,进行“灌水”,定义分叉点数为当水流沿着边缘流动时分叉的总次数。则该条显著边缘的叉点率为:分叉的总次数//显著边缘的长度。对于显著边缘来说,它的叉点率越高说明它的结构越复杂。Fork rate: The number of fork points on the edge curve can be a good measure of the structural complexity of the edge. Correspond each salient edge to the original edge graph, and perform "watering" along the endpoint of the salient edge, and define the number of bifurcation points as the total number of bifurcations when the water flows along the edge. Then the fork rate of this significant edge is: the total number of forks//the length of the significant edge. For a significant edge, the higher its intersection rate, the more complex its structure.

转动频率:曲线的转动频率是用来描述边缘的弯曲程度。每一条显著边缘的转动频率为:该边缘发生转动的总次数//显著边缘的长度。转动频率越高表示此边缘曲线弯曲程度越大。Rotation Frequency: The rotation frequency of the curve is used to describe the curvature of the edge. The rotation frequency of each salient edge is: the total number of times the edge is rotated//the length of the salient edge. The higher the frequency of rotation, the greater the curvature of this edge curve.

角点率:拐角点频率用来衡量边缘曲线的平滑程度。拐角点是边缘曲线上的一类重要的特殊点,拐角点越多说明边缘走向在局部变化越剧烈,边缘在整体上越不平滑。每一条显著边缘的角点率为:拐角点数目//显著边缘的长度。Corner rate: The corner frequency is used to measure the smoothness of the edge curve. The corner point is an important special point on the edge curve. The more corner points, the more severe the local change of the edge direction, and the less smooth the edge is overall. The corner rate of each salient edge is: the number of corner points//the length of the salient edge.

规定在小范围的曲线段中,只能存在一个拐角点,小范围的像素点的数目取为5。It is stipulated that only one corner point can exist in a small-scale curve segment, and the number of small-scale pixel points is set to 5.

确定了每一条显著边缘的原始特征后,就得到一个图像的显著边缘集合,也就得到图像特征矢量。After the original features of each salient edge are determined, a salient edge set of an image is obtained, and an image feature vector is also obtained.

由于采用叉点率、转动频率和角点率作为描述图像的原始特征,从曲线的结构复杂程度、弯曲程度和平滑程度三方面刻画了曲线特征,计算相当简单。这三个原始特征对于平移和旋转都不敏感,即满足平移和旋转不变性。至于尺度不变性,这对于用来进行图像检索的特征矢量来说是相当难满足的,由于我们的三个原始特征均使用了比率,所以能够满足形状描述子应当刻画图像特征准确、算法简单、易操作,还应当对旋转、平移、尺度缩放具有不变性这一性质。Since the cross point rate, rotation frequency and corner point rate are used as the original features to describe the image, the curve characteristics are described from the three aspects of the structure complexity, curvature and smoothness of the curve, and the calculation is quite simple. These three original features are insensitive to translation and rotation, that is, they satisfy translation and rotation invariance. As for scale invariance, this is quite difficult to satisfy for the feature vector used for image retrieval. Since our three original features use ratios, the shape descriptor should be able to describe the image features accurately, the algorithm is simple, It should be easy to operate, and should also have the property of invariance to rotation, translation, and scaling.

在图像匹配时,图像之间的相似度一般由对应特征矢量之间的距离来度量,最终,距离最小的图像集合认为是相似图像。本发明关于图像匹配提出的综合显著边缘匹配方法没有采用传统的“一对一”匹配,而是放松了对于匹配的严格要求,它采用了一种“多对多”的匹配方案,一幅图像的一条显著边缘允许同另一幅图像的多条显著边缘相匹配,具体的匹配策略依靠两个准则来约束,即:重要度满足准则:和最相似最先匹配准则。图像间最终的相似度由所有有效匹配来决定。此方法的突出优点是:减小了因边缘提取不准确造成的误匹配,能够一定程度地提高检索准确率。In image matching, the similarity between images is generally measured by the distance between corresponding feature vectors, and finally, the set of images with the smallest distance is considered as similar images. The comprehensive salient edge matching method proposed by the present invention for image matching does not adopt the traditional "one-to-one" matching, but relaxes the strict requirements for matching. It adopts a "many-to-many" matching scheme. A salient edge of is allowed to match with multiple salient edges of another image. The specific matching strategy relies on two criteria to constrain, namely: the importance meets the criterion and the most similar first matching criterion. The final similarity between images is determined by all valid matches. The outstanding advantages of this method are: it reduces the false matching caused by inaccurate edge extraction, and can improve the retrieval accuracy to a certain extent.

附图说明:Description of drawings:

图1:本发明方法的基本流程图Fig. 1: basic flowchart of the inventive method

图2:用系统进行举例查询的例子Figure 2: An example of a sample query with the system

图3:用系统进行举例查询的例子Figure 3: An example of a sample query with the system

(a)一幅用户手绘的草图(a) A user-drawn sketch

(b)根据用户手绘草图检索的结果(b) Results retrieved from user-drawn sketches

具体实施方式:Detailed ways:

现结合附图对本发明作进一步描述:The present invention will be further described now in conjunction with accompanying drawing:

根据本发明提出的基于显著边缘的图像检索方法,我们用C++语言实现了一个图像检索的原型系统。目前,我们的图像数据库中共有4500幅图像,这些图像包括:建筑物、风景、商标、图标、人脸等。图像的来源有:网上下载、Corel stock photo library抽取、数码照相机拍摄和Yale research Lab face database。我们图像数据库中的图像均为灰度图像且边缘都较为清晰。According to the salient edge-based image retrieval method proposed by the present invention, we implemented a prototype system of image retrieval with C++ language. Currently, there are 4,500 images in our image database, including: buildings, landscapes, trademarks, icons, human faces, etc. The sources of the images are: downloading from the Internet, extraction from Corel stock photo library, digital camera shooting and Yale research Lab face database. The images in our image database are grayscale images with sharp edges.

假设一个待查询图像Q,在图像数据库中检索与Q相似的图像I,即:D(XQ,XI)≤t。上式中D是特征矢量的距离函数,t是由用户设立的阈值,XQ是图像Q的特征矢量,XI是图像I的特征矢量。两幅图像Q和I的相似程度可以用它们的特征矢量XQ和XI的距离来表示,距离越小表示两个图像越相似。查询的结果随着阈值而变化,始终满足与待查询图像的距离小于或等于阈值。用户可也以直接要求系统输出与待查询图像最类似的图像集合,如输出与待查询图像距离最近的20幅图像。Assuming an image Q to be queried, search for an image I similar to Q in the image database, ie: D(X Q , X I )≤t. In the above formula, D is the distance function of the feature vector, t is the threshold set by the user, X Q is the feature vector of image Q, and X I is the feature vector of image I. The similarity between two images Q and I can be expressed by the distance between their feature vectors X Q and X I , the smaller the distance is, the more similar the two images are. The result of the query varies with the threshold, and the distance to the image to be queried is always less than or equal to the threshold. The user can also directly request the system to output a collection of images most similar to the image to be queried, for example, output the 20 images closest to the image to be queried.

首先对图像Q进行边缘检测和细化,获取边缘图。然后用独立边缘自增强方法:即通过对边缘点反复地随即启发式搜索及增强,挑选出图像中的显著边缘。计算每一条显著边缘的叉点率、转动频率和角点率。假设一条显著边缘Ci,它的长度为li,由“灌水”算法计算出的分叉点数目为fci。则Ci的叉点率fri=fci/li;转动频率rfC=rnT/li,其中rnT为边缘显著边缘Ci发生转动的总次数;当它的拐角点数目为cni时,则拐点率cfi=cni/liFirst, edge detection and refinement are performed on the image Q to obtain an edge map. Then use the independent edge self-enhancement method: that is, through repeated random heuristic search and enhancement of the edge points, the significant edges in the image are selected. Calculate the intersection rate, turning frequency and corner rate of each salient edge. Assuming a significant edge C i , its length is l i , and the number of bifurcation points calculated by the "watering" algorithm is f ci . Then the cross point rate fr i =f ci /l i of C i ; the rotation frequency rf C =rn T /l i , where rn T is the total number of rotations of significant edge C i ; when the number of its corner points is cn i , then the inflection point rate cf i =cn i /l i .

确定了每一条显著边缘的原始特征后,我们就可以得到图像的特征矢量。根据图像Q的显著边缘集合C={c1,c2,...,ci,...,cv,},用f1,f2,...,fi...,fv分别表示显著边缘c1,c2,...,ci,...,cv的特征,则有:After determining the original features of each salient edge, we can get the feature vector of the image. According to the salient edge set C={c 1 , c 2 , ..., c i , ..., c v ,} of image Q, use f 1 , f 2 , ..., f i ..., f v represent the features of salient edges c 1 , c 2 , ..., ci , ..., c v respectively, then:

f1=(fr1,rf,cf1),f2=(fr2,rf2,cf3),...,fi=(fri,rfi,cfi),...,fL=(frv,rfv,cfv)f 1 =(fr 1 ,r f ,cf 1 ), f 2 =(fr 2 ,rf 2 ,cf 3 ),..., f i =(fr i ,rf i ,cf i ),..., f L = (fr v , rf v , cf v )

于是,图像Q的特征矢量 为: f ‾ Q = [ f 1 , f 2 , . . . f i , . . . f v ] . Then, the feature vector of image Q for: f ‾ Q = [ f 1 , f 2 , . . . f i , . . . f v ] .

进行图像匹配,采用综合显著边缘匹配方法,一幅图像的一条显著边缘允许同另一幅图像的多条显著边缘相匹配的“多对多”的匹配方案进行图像匹配。图像Q的特征矢量

Figure C0313442500081
为: f - Q = [ f 1 , f 2 , . . . f i , . . . f v ] , 那么图像Q’的特征矢量fQ’为:fQ’=[f1’,f2’,...,fj’...,fv]’。以对应特征矢量之间的距离来度量,最终,距离最小的图像集合认为是相似图像。For image matching, the comprehensive salient edge matching method is adopted. One salient edge of one image is allowed to match with multiple salient edges of another image in a "many-to-many" matching scheme for image matching. The feature vector of image Q
Figure C0313442500081
for: f - Q = [ f 1 , f 2 , . . . f i , . . . f v ] , Then the feature vector f Q ' of the image Q' is: f Q '=[f 1 ', f 2 ', . . . , f j '..., f v ]'. It is measured by the distance between the corresponding feature vectors, and finally, the set of images with the smallest distance is considered as similar images.

本发明所实施的系统支持用户进行两种查询:举例查询(Query by example)和草图查询(Query by sketch)。举例查询是指由用户提供一个待查询图像,由系统自动输出与之相似的若干幅图像,相似图像的数目可以由用户指定,范围在0到100之间。草图查询是指由用户画出一幅草图提交给系统查询,同样地,用户可以指定系统输出若干数目的相似图像。在查询过程中,用户可以通过“双击”系统的输出图像来查看它的尺寸、来源等相关信息,用户也可以以某一幅查询结果图像作为例子图像进行新的查询。The system implemented by the present invention supports users to perform two kinds of queries: query by example and query by sketch. For example, query means that the user provides an image to be queried, and the system automatically outputs several images similar to it. The number of similar images can be specified by the user, and the range is between 0 and 100. Sketch query means that the user draws a sketch and submits it to the system for query. Similarly, the user can specify the system to output a certain number of similar images. During the query process, the user can "double-click" the output image of the system to view its size, source and other related information, and the user can also use a certain query result image as an example image to conduct a new query.

图2给出了本章检索系统进行举例查询结果较好的一个例子,图像左上角的第一幅图像为查询图像,打“√”的表示正确的检索结果,而打“×”的表示错误的检索结果。图3给出了一个本章检索系统进行草图查询结果较好的一个例子,(a)中显示的图像是用户手绘的草图,(b)中的图像是检索的结果。Figure 2 shows an example of a good query result of the retrieval system in this chapter. The first image in the upper left corner of the image is the query image. The one marked with "√" indicates the correct retrieval result, while the one marked with "×" indicates the wrong one. Search Results. Figure 3 shows an example of a good sketch query result of the retrieval system in this chapter. The image shown in (a) is the sketch drawn by the user, and the image in (b) is the retrieval result.

从实验结果看出:本方法提取的显著边缘比较符合人的主观判断;相对于其它方法检索准确率较高;由于使用了显著边缘和“多对多”的匹配策略,因此具有较高的检索准确率。From the experimental results, it can be seen that the salient edges extracted by this method are more in line with human subjective judgment; compared with other methods, the retrieval accuracy is higher; due to the use of salient edges and the "many-to-many" matching strategy, it has a high retrieval accuracy. Accuracy.

Claims (8)

1, a kind of method of utilizing prominent edge to carry out image retrieval is characterized in that: at first query image is carried out rim detection and refinement, obtain outline map; Secondly, use the separate edge self-strengthening method,, pick out the prominent edge in the image by to marginal point heuristic search immediately and enhancing repeatedly; Then, use three characteristic features for each bar prominent edge, crunode rate, rotational frequency and angle point rate are described, and then generate the eigenvector of image; Then, the time adopt similarity degree between comprehensive prominent edge Matching Algorithm dimensioned plan picture in coupling; At last, according to sequencing of similarity, the set of output similar image.
2, a kind of method of utilizing prominent edge to carry out image retrieval according to claim 1, it is characterized in that: the separate edge self-strengthening method: the strength information with the edge is measured as guiding, heuristic search at random by repeatedly obtains various possible image borders, utilize integrator that each bar separate edge is carried out self-enhancement then, utilize the result after strengthening just to choose prominent edge easily at last.
3, a kind of method of utilizing prominent edge to carry out image retrieval according to claim 1, it is characterized in that: comprehensive prominent edge matching process, adopted the matching scheme of a kind of " multi-to-multi ", a prominent edge of piece image allows to be complementary with many edges of another width of cloth image; Concrete matching strategy relies on two criterions to retrain, that is: importance degree satisfies criterion and the most similar matching criterior at first, and similarity final between image is decided by all effective couplings.
4, a kind of method of utilizing prominent edge to carry out image retrieval according to claim 1 is characterized in that: rim detection adopts the Canny operator.
5, a kind of method of utilizing prominent edge to carry out image retrieval according to claim 1, it is characterized in that: each bar prominent edge is corresponded in the original outline map, end points along prominent edge, carry out " pouring water ", the definition bifurcated is counted and is the total degree of the time-division fork that flows along the edge when current, and then the crunode rate of this prominent edge is: the length of the total degree/prominent edge of bifurcated.
6, a kind of method of utilizing prominent edge to carry out image retrieval according to claim 1, it is characterized in that: the rotational frequency of each bar prominent edge is: this boundary curve degree of crook of the high more expression of the length of total degree/prominent edge that this edge rotates, rotational frequency is big more.
7, a kind of method of utilizing prominent edge to carry out image retrieval according to claim 1, it is characterized in that: the angle point rate of each bar prominent edge is: the length of corner point number/prominent edge.
8, a kind of method of utilizing prominent edge to carry out image retrieval according to claim 7 is characterized in that: be defined in the segment of curve among a small circle, can only have a corner point, the number of pixel among a small circle is taken as 5.
CN 03134425 2003-07-23 2003-07-23 An image retrieval method using marked edge Expired - Fee Related CN1290061C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03134425 CN1290061C (en) 2003-07-23 2003-07-23 An image retrieval method using marked edge

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03134425 CN1290061C (en) 2003-07-23 2003-07-23 An image retrieval method using marked edge

Publications (2)

Publication Number Publication Date
CN1570973A CN1570973A (en) 2005-01-26
CN1290061C true CN1290061C (en) 2006-12-13

Family

ID=34470195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03134425 Expired - Fee Related CN1290061C (en) 2003-07-23 2003-07-23 An image retrieval method using marked edge

Country Status (1)

Country Link
CN (1) CN1290061C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799828A (en) * 2010-03-11 2010-08-11 南昌航空大学 Book lookup method based on perspective transformation for video point reading machine

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101276363B (en) 2007-03-30 2011-02-16 夏普株式会社 Document image retrieval device and document image retrieval method
WO2008137708A1 (en) 2007-05-04 2008-11-13 Gesturetek, Inc. Camera-based user input for compact devices
CN100589520C (en) * 2007-09-14 2010-02-10 西北工业大学 A Color Image Edge and Corner Feature Detection Method
CN101287133B (en) * 2007-09-14 2010-06-23 西北工业大学 Digital Symmetry Azimuth Tensor Filtering Method
CN101493936B (en) * 2008-05-30 2011-03-23 内蒙古科技大学 Multi- resolution non-rigid head medicine image registration method based on image edge
CN101621710B (en) * 2009-07-21 2012-07-11 深圳市融创天下科技股份有限公司 Method and system for evaluating video quality based on edge detection
US9449026B2 (en) * 2010-08-31 2016-09-20 Microsoft Technology Licensing, Llc Sketch-based image search
CN102902807B (en) * 2011-10-18 2016-06-29 微软技术许可有限责任公司 Use the visual search of multiple vision input mode
US8589410B2 (en) 2011-10-18 2013-11-19 Microsoft Corporation Visual search using multiple visual input modalities
IN2014CN04659A (en) * 2011-12-27 2015-09-18 Sony Corp
CN102609911B (en) * 2012-01-16 2015-04-15 北方工业大学 Edge-based image significance detection
CN104243821B (en) * 2014-09-10 2018-07-03 广东欧珀移动通信有限公司 A kind of acquisition methods and device of big visual angle photo
CN108733749A (en) * 2018-04-08 2018-11-02 天津大学 A kind of image search method based on sketch

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799828A (en) * 2010-03-11 2010-08-11 南昌航空大学 Book lookup method based on perspective transformation for video point reading machine

Also Published As

Publication number Publication date
CN1570973A (en) 2005-01-26

Similar Documents

Publication Publication Date Title
CN1290061C (en) An image retrieval method using marked edge
CN104200240B (en) A kind of Sketch Searching method based on content-adaptive Hash coding
Guo et al. Rotation invariant texture classification using LBP variance (LBPV) with global matching
CN101763429B (en) Image retrieval method based on color and shape features
CN108875813B (en) A 3D mesh model retrieval method based on geometric images
CN101996245B (en) Form feature describing and indexing method of image object
Wang et al. Generalizing edge detection to contour detection for image segmentation
CN101789005A (en) Image searching method based on region of interest (ROI)
TW201331772A (en) Image index generation method and apparatus
CN108009986B (en) Fragment splicing method and device based on edge information
CN108830888B (en) Coarse matching method based on improved multi-scale covariance matrix characteristic descriptor
CN110097537A (en) A kind of meat quantitative analysis evaluation method based on three-D grain feature
CN106934455B (en) Method and system for selecting optical adaptation structure of remote sensing images based on CNN
CN101526955B (en) A method and system for automatically extracting network primitives based on sketches
CN111739073A (en) Efficient and rapid image registration optimization method for handheld device
CN109242854A (en) A kind of image significance detection method based on FLIC super-pixel segmentation
CN118570596B (en) Method for extracting ground objects based on remote sensing images
CN108304588B (en) Image retrieval method and system based on k neighbor and fuzzy pattern recognition
Lian et al. 3D-SIFT point cloud registration method integrating curvature information
CN105956581B (en) A kind of quick human face characteristic point initial method
CN113191443B (en) Clothing classification and attribute identification method based on feature enhancement
CN103871084B (en) Indigo printing fabric pattern recognition method
CN111354076A (en) Single-image three-dimensional part combined modeling method based on embedding space
CN109299295B (en) Blue printing layout database searching method
CN115375891A (en) Cultural relic fragment similarity identification and transformation matching method based on machine learning

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20061213