CN108710690A - Medical image search method based on geometric verification - Google Patents
Medical image search method based on geometric verification Download PDFInfo
- Publication number
- CN108710690A CN108710690A CN201810494757.9A CN201810494757A CN108710690A CN 108710690 A CN108710690 A CN 108710690A CN 201810494757 A CN201810494757 A CN 201810494757A CN 108710690 A CN108710690 A CN 108710690A
- Authority
- CN
- China
- Prior art keywords
- image
- visual
- sub
- feature points
- geometric
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000012795 verification Methods 0.000 title claims abstract description 18
- 206010006187 Breast cancer Diseases 0.000 claims abstract description 37
- 208000026310 Breast neoplasm Diseases 0.000 claims abstract description 37
- 230000000007 visual effect Effects 0.000 claims description 70
- 239000013598 vector Substances 0.000 claims description 15
- 238000003064 k means clustering Methods 0.000 claims description 7
- 230000008569 process Effects 0.000 claims description 5
- 238000000605 extraction Methods 0.000 claims description 3
- 238000005259 measurement Methods 0.000 claims description 3
- 230000001174 ascending effect Effects 0.000 claims description 2
- 238000004364 calculation method Methods 0.000 claims 1
- 238000012545 processing Methods 0.000 abstract description 6
- 238000004590 computer program Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 210000000481 breast Anatomy 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000011160 research Methods 0.000 description 4
- 238000004195 computer-aided diagnosis Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 238000003745 diagnosis Methods 0.000 description 2
- 238000009607 mammography Methods 0.000 description 2
- 238000000691 measurement method Methods 0.000 description 2
- 238000011002 quantification Methods 0.000 description 2
- 238000011524 similarity measure Methods 0.000 description 2
- 206010006272 Breast mass Diseases 0.000 description 1
- 201000011510 cancer Diseases 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 201000007741 female breast cancer Diseases 0.000 description 1
- 201000002276 female breast carcinoma Diseases 0.000 description 1
- 238000002595 magnetic resonance imaging Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000002604 ultrasonography Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
- G06F18/232—Non-hierarchical techniques
- G06F18/2321—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
- G06F18/23213—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions with fixed number of clusters, e.g. K-means clustering
Landscapes
- Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Probability & Statistics with Applications (AREA)
- Measuring And Recording Apparatus For Diagnosis (AREA)
Abstract
本发明公开了基于几何验证的医学图像检索方法,涉及医学图像处理技术领域,针对现有技术中的问题,在词汇树(Vacabulary Tree)和倒排索引(Inverted Index)的基础上通过获取图像局部特征之间的空间关系编码,然后通过验证空间编码是否符合几何一致性来优化初始检索结果以减少错误匹配出现的几率,提高了乳腺癌图像检索结果的准确度。
The invention discloses a medical image retrieval method based on geometric verification, relates to the technical field of medical image processing, aims at the problems in the prior art, and acquires local The spatial relationship between the features is encoded, and then the initial retrieval results are optimized by verifying whether the spatial encoding conforms to the geometric consistency to reduce the chance of false matching and improve the accuracy of breast cancer image retrieval results.
Description
技术领域technical field
本发明涉及医学图像处理技术领域,特别是涉及基于几何验证的医学图像检索方法。The invention relates to the technical field of medical image processing, in particular to a medical image retrieval method based on geometric verification.
背景技术Background technique
乳腺癌是在我国女性恶性肿瘤中发病率最高的疾病且呈低龄化趋势。然而在其在人体中扩散之前很难对其进行有效治疗。目前有多种乳腺检查技术,如:乳腺X光片、超声波检查术、磁共振成像等。其中乳腺X光片是最常用的检查手段。在此基础上提出了许多计算机辅助诊断(Computer Aided Diagnosis,CAD)方法来提高在乳腺X光片中检测肿块(乳腺癌的重要指标)的技术水平,基于内容的图像检索是其中之一。广泛使用的检索方法主要包含四个步骤:X光片预处理,乳腺图像区域分割,特征提取,特征聚类和量化,相似性度量。Breast cancer is the disease with the highest incidence rate among female malignant tumors in my country, and it shows a trend of younger age. However, it is difficult to treat it effectively until it has spread in the human body. There are a variety of breast examination techniques, such as: mammography, ultrasonography, magnetic resonance imaging and so on. Among them, mammography is the most commonly used examination method. On this basis, many Computer Aided Diagnosis (CAD) methods have been proposed to improve the technical level of detecting masses (important indicators of breast cancer) in mammograms, and content-based image retrieval is one of them. The widely used retrieval method mainly consists of four steps: X-ray film preprocessing, breast image region segmentation, feature extraction, feature clustering and quantification, and similarity measurement.
随着图像检索方法在医学诊断中的广泛应用和研究的深入,这些方法可以提供更多的临床依据,一些由于医生临床经验不足所导致的误诊率有所下降并且诊断效率更高。因此在女性乳腺癌治疗领域,乳腺癌图像检索方法引起了广泛关注。With the wide application of image retrieval methods in medical diagnosis and the deepening of research, these methods can provide more clinical basis, and the misdiagnosis rate caused by doctors' lack of clinical experience has decreased and the diagnosis efficiency is higher. Therefore, breast cancer image retrieval methods have attracted extensive attention in the field of female breast cancer treatment.
在乳腺癌图像检索方法研究中,许多检索思路被提出来。Tourassi G D于2003年提出了基于互信息(mutual information)模板匹配方法来判断乳腺图像中的ROI(RegionOf Interest)是否描述了一个真正的肿块。该方法是一种基于知识的方法,计算机辅助诊断系统依据已知的参考标准建立了一个乳腺图像ROI的知识数据库,把数据库中每一个ROI看成是一个模板,计算机辅助系统遵循一套模板匹配算法,将互信息作为相似性度量,匹配查询图像和乳腺癌数据库图像。以此来确定查询图像的ROI是否描述了一个真正的肿块。根据它们的信息内容,对数据库中所有的相似ROI进行检索和秩排序,然后根据查询到的最佳匹配结果计算出决策索引(decision index),决策索引高效地将相似性度量和最佳匹配模板的参考标准融合到查询乳腺图像ROI中是否存在肿块的判断中。In the study of breast cancer image retrieval methods, many retrieval ideas have been proposed. Tourassi G D proposed a template matching method based on mutual information (mutual information) in 2003 to judge whether the ROI (RegionOf Interest) in the breast image describes a real mass. This method is a knowledge-based method. The computer-aided diagnosis system establishes a breast image ROI knowledge database based on known reference standards. Each ROI in the database is regarded as a template, and the computer-aided system follows a set of template matching methods. Algorithm, using mutual information as a similarity measure, to match query images with breast cancer database images. This is used to determine whether the ROI of the query image describes a real mass. According to their information content, all similar ROIs in the database are retrieved and ranked, and then the decision index is calculated according to the best matching result of the query. The decision index efficiently combines the similarity measure and the best matching template The reference standard of is fused into the judgment of whether there is a mass in the ROI of the query breast image.
为提高检索结果准确度,Tourassi于2007年将更多的相似性度量方法加入到乳腺癌图像ROI模板匹配中,研究表明一些相似性度量方法有更高的准确度而另一些的检索效率更高。Narzaez于2012年提出对乳腺肿块图像的ROI进行曲率转换,然后通过它的边际分布来描述ROI。为提高检索方法的可扩展性和检索效率,Jiang在乳腺癌图像检索的研究中加入了词汇树和倒排索引的方法。以上介绍的方法在乳腺癌图像检索方法的研究中有着突出贡献,但由于缺乏可扩展性或没有考虑图像特征的空间属性信息影响了检索系统的性能。In order to improve the accuracy of retrieval results, Tourassi added more similarity measurement methods to breast cancer image ROI template matching in 2007. The research shows that some similarity measurement methods have higher accuracy and others have higher retrieval efficiency. . Narzaez proposed in 2012 to perform curvature transformation on the ROI of breast mass images, and then describe the ROI through its marginal distribution. In order to improve the scalability and retrieval efficiency of the retrieval method, Jiang added the method of vocabulary tree and inverted index in the research of breast cancer image retrieval. The methods introduced above have made outstanding contributions in the research of breast cancer image retrieval methods, but the performance of the retrieval system is affected due to the lack of scalability or the lack of consideration of the spatial attribute information of image features.
发明内容Contents of the invention
本发明实施例提供了基于几何验证的医学图像检索方法,可以解决现有技术中存在的问题。The embodiment of the present invention provides a medical image retrieval method based on geometric verification, which can solve the problems existing in the prior art.
本发明提供了基于几何验证的医学图像检索方法,该方法包括以下步骤:The invention provides a medical image retrieval method based on geometric verification, the method comprising the following steps:
步骤1,对乳腺癌图像数据库中所有图像提取SIFT特征,存入图像特征数据库;Step 1, extract SIFT features to all images in the breast cancer image database, and store them in the image feature database;
步骤2,对提取到的所有数据库图像的SIFT特征进行分层K-means聚类,生成乳腺癌图像视觉词汇树;Step 2, performing hierarchical K-means clustering on the SIFT features of all extracted database images to generate a breast cancer image visual vocabulary tree;
步骤3,为生成的乳腺癌图像视觉词汇树建立倒排索引;Step 3, establishing an inverted index for the generated breast cancer image visual vocabulary tree;
步骤4,将所有乳腺癌数据库图像通过乳腺癌图像视觉词汇树中视觉单词描述出来;Step 4, describe all breast cancer database images through the visual words in the breast cancer image visual vocabulary tree;
步骤5,接收到查询图像后提取查询图像的SIFT特征,根据已建立的基于倒排索引的视觉词汇树对查询图像特征量化,以视觉单词向量的形式描述查询图像;Step 5, after receiving the query image, extract the SIFT feature of the query image, quantify the feature of the query image according to the established visual vocabulary tree based on the inverted index, and describe the query image in the form of a visual word vector;
步骤6,基于倒排索引,将量化的查询图像与数据库中已量化的图像进行相似性度量,形成初始检索结果;Step 6, based on the inverted index, measure the similarity between the quantified query image and the quantified image in the database to form an initial retrieval result;
步骤7,分别以查询图像和初始检索结果图像中相匹配的视觉单词为基准点划定两个相同半径的局部圆形邻域;Step 7, taking the matching visual words in the query image and the initial retrieval result image as reference points to delineate two local circular neighborhoods with the same radius;
步骤8,对两个局部圆形邻域内的相关特征点进行几何验证,排除错误匹配的特征点,得到最终检索结果。Step 8: Carry out geometric verification on the relevant feature points in the two local circular neighborhoods, eliminate the wrongly matched feature points, and obtain the final retrieval result.
本发明实施例中的基于几何验证的医学图像检索方法针对以上问题,在词汇树(Vacabulary Tree)和倒排索引(Inverted Index)的基础上通过获取图像局部特征之间的空间关系编码,然后通过验证空间编码是否符合几何一致性来优化初始检索结果以减少错误匹配出现的几率,提高了乳腺癌图像检索结果的准确度。The medical image retrieval method based on geometric verification in the embodiment of the present invention aims at the above problems, on the basis of the vocabulary tree (Vacabulary Tree) and the inverted index (Inverted Index), by obtaining the spatial relationship code between the local features of the image, and then by Verify that the spatial encoding conforms to the geometric consistency to optimize the initial retrieval results to reduce the probability of false matching and improve the accuracy of breast cancer image retrieval results.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是本发明实施例中基于几何验证的医学图像检索方法的流程图。Fig. 1 is a flowchart of a medical image retrieval method based on geometric verification in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
参照图1,本发明实施例提供了基于几何验证的医学图像检索方法,该方法包括以下步骤:With reference to Fig. 1, the embodiment of the present invention provides the medical image retrieval method based on geometric verification, and this method comprises the following steps:
步骤1,对乳腺癌图像数据库中所有图像提取SIFT特征,存入图像特征数据库。Step 1, extract SIFT features from all images in the breast cancer image database, and store them in the image feature database.
步骤2,对提取到的所有数据库图像的SIFT特征进行分层K-means聚类,生成乳腺癌图像视觉词汇树。Step 2: Hierarchical K-means clustering is performed on the extracted SIFT features of all database images to generate a visual vocabulary tree for breast cancer images.
步骤3,为生成的乳腺癌图像视觉词汇树建立倒排索引。Step 3: Establish an inverted index for the generated visual vocabulary tree of breast cancer images.
步骤4,将所有乳腺癌数据库图像通过乳腺癌图像视觉词汇树中视觉单词描述出来。Step 4, describe all breast cancer database images through the visual words in the breast cancer image visual vocabulary tree.
步骤5,接收到查询图像后提取查询图像的SIFT特征,根据已建立的基于倒排索引的视觉词汇树对查询图像特征量化,以视觉单词(Visual Words)向量的形式描述查询图像。Step 5: After receiving the query image, extract the SIFT features of the query image, quantify the features of the query image according to the established visual vocabulary tree based on the inverted index, and describe the query image in the form of a visual word (Visual Words) vector.
步骤6,基于倒排索引,将量化的查询图像与数据库中已量化的图像进行相似性度量,形成初始检索结果。Step 6, based on the inverted index, perform similarity measurement between the quantified query image and the quantified image in the database to form an initial retrieval result.
步骤7,分别以查询图像和初始检索结果图像中相匹配的视觉单词为基准点划定两个相同半径的局部圆形邻域。Step 7, taking the matching visual words in the query image and the initial retrieval result image as reference points to define two local circular neighborhoods with the same radius.
步骤8,对两个局部圆形邻域内的相关特征点进行几何验证,排除错误匹配的特征点,得到最终检索结果。Step 8: Carry out geometric verification on the relevant feature points in the two local circular neighborhoods, eliminate the wrongly matched feature points, and obtain the final retrieval result.
其中,步骤2具体包括以下子步骤:Wherein, step 2 specifically includes the following sub-steps:
子步骤201,设定参数:首先为要创建的视觉词汇树设定一个高度L和非叶子节点子树个数K,即每层的聚类中心个数。Sub-step 201, setting parameters: first, set a height L and the number K of non-leaf node subtrees for the visual vocabulary tree to be created, that is, the number of cluster centers at each level.
子步骤202,生成子树:对提取到的乳腺癌图像SIFT特征数据集进行K-means聚类,得到K个聚类中心,则这K个聚类中心即为根节点的K个子节点,数据集也相应的被划分为K个子集。Substep 202, generate a subtree: perform K-means clustering on the extracted breast cancer image SIFT feature data set to obtain K cluster centers, then these K cluster centers are the K child nodes of the root node, and the data The set is correspondingly divided into K subsets.
子步骤203,递归过程:对得到的K个子集分别进行K-means聚类操作,得到每个子集的K个聚类中心,即词汇树该层节点的子节点,迭代进行本步操作,直至词汇树的高度达到L。Sub-step 203, recursive process: perform K-means clustering operation on the obtained K subsets respectively, and obtain K cluster centers of each subset, that is, the child nodes of the node in this layer of the vocabulary tree, iteratively carry out this step operation until The height of the vocabulary tree reaches L.
经过以上步骤,最终生成一棵乳腺癌图像图的视觉词汇树,树的所有叶子节点即为视觉单词,每一个视觉单词都是一个SIFT特征描述子。After the above steps, a visual vocabulary tree of the breast cancer image graph is finally generated. All the leaf nodes of the tree are visual words, and each visual word is a SIFT feature descriptor.
为了量化地表达出不同视觉单词对图像相思性度量的作用大小,使用TF-IDF方法对词汇树中每个视觉单词进行加权。通过给视觉单词赋予不同的TF-IDF权值可以提升检索系统的性能。In order to quantitatively express the effect of different visual words on the measure of image lovesickness, the TF-IDF method is used to weight each visual word in the vocabulary tree. The performance of the retrieval system can be improved by assigning different TF-IDF weights to visual words.
TF-IDF的工作原理如下:TF-IDF works as follows:
首先假设视觉词汇树中共有k个视觉单词,那么可以将乳腺癌图像数据库中的第d幅图像Id表示成一个k维向量:First, assuming that there are k visual words in the visual vocabulary tree, the d-th image I d in the breast cancer image database can be expressed as a k-dimensional vector:
vi=(t1,t2,…,tk)T (1)v i =(t 1 ,t 2 ,…,t k ) T (1)
向量vi的第i个向量元素ti表达式为:The i-th vector element t i expression of vector v i is:
ti=tfi,d×idfi (2)t i =tf i,d ×idf i (2)
公式(2)中,tfi,d表示视觉词典中第i个视觉单词在图像数据库里第d幅图像中出现的频率,idfi表示视觉词典中第i个视觉单词在图像数据库里所有图像中的逆向文件频率(Inverse Document Frequency),tfi,d和idfi计算公式为:In formula (2), tf i,d represent the frequency of the i-th visual word in the visual dictionary appearing in the d-th image in the image database, and idf i represents the i-th visual word in the visual dictionary in all images in the image database The Inverse Document Frequency (Inverse Document Frequency), tf i, d and idf i are calculated as:
式(3)中ni,d表示视觉词典中第i个视觉单词在图像数据库第d幅图像中出现的次数,nd表示在数据库第d幅图像中统计出的所有视觉单词出现的总数。式(4)中N是图像数据库图像的总数,Ni表示第i个视觉单词在图像数据库图像中出现的总次数。因此,图像向量vi中的第i个向量元素表达式如下:In formula (3), n i,d represent the number of occurrences of the i-th visual word in the visual dictionary in the d-th image of the image database, and n d represents the total number of occurrences of all visual words counted in the d-th image of the database. In formula (4), N is the total number of images in the image database, and N i represents the total number of times the i-th visual word appears in the image database images. Therefore, the i-th vector element expression in the image vector v i is as follows:
从表达式(5)中可以看出TF-IDF加权算法的运算机制,当视觉词典中某个视觉单词在一幅图像中出现的频率越高,即ni,d值越大,则词频tfi,d越大,这就表示该视觉单词的代表性越强;同时当该视觉单词在使图像数据库中其他图像中出现的次数越少,即Ni值越小,则逆向文件频率idfi值越大,进而该视觉单词的区分度就越高。From the expression (5), we can see the operation mechanism of the TF-IDF weighting algorithm. When a visual word in the visual dictionary appears more frequently in an image, that is, the greater the value of n i,d , the word frequency tf The larger i and d are, the stronger the representativeness of the visual word is; at the same time, when the visual word appears less often in other images in the image database, that is, the smaller the value of N i is, the reverse document frequency idf i The larger the value, the higher the discrimination of the visual word.
经过对数据库中乳腺癌图像创建视觉词汇树并对词汇树中视觉单词进行加权操作以后,数据库图像和查询图像都可以用视觉单词向量表达出来,每个向量元素是该视觉单词在图像中出现频率加权后值,完成了乳腺癌图像的特征量化。After creating a visual vocabulary tree for breast cancer images in the database and weighting the visual words in the vocabulary tree, both the database image and the query image can be expressed by visual word vectors, and each vector element is the frequency of occurrence of the visual word in the image The weighted value completes the feature quantification of the breast cancer image.
步骤7具体包括以下子步骤:Step 7 specifically includes the following sub-steps:
子步骤701,将查询图像的ROI定义为Iq,将一幅初始检索结果图像的ROI定义为Id,Q和D分别代表查询图像和初始检索结果图像ROI上的SIFT特征点集,可以得到匹配特征点对(后面简称为匹配对)的集合M(Q,D)={(qi,di)|qi∈Q,di∈D},qi和di分别代表查询图像和初始检索结果图像ROI上相互匹配的特征点,选择其中一对匹配特征点作为基准特征点对(qi,di)来验证该匹配对是不是错误的匹配。Sub-step 701, define the ROI of the query image as I q , define the ROI of an initial retrieval result image as I d , Q and D represent the SIFT feature point sets on the query image and initial retrieval result image ROI respectively, and we can get The set of matching feature point pairs (hereinafter referred to as matching pairs) M(Q,D)={(q i ,d i )|q i ∈Q,d i ∈D}, q i and d i represent the query image and For the matching feature points on the ROI of the initial retrieval result image, select a pair of matching feature points as the reference feature point pair (q i , d i ) to verify whether the matching pair is a wrong match.
子步骤702,选择好匹配对以后,划定匹配对的局部圆形邻域,两个对应圆形区域的半径定义如下:Sub-step 702, after the matching pair is selected, the local circular neighborhood of the matching pair is defined, and the radius of the two corresponding circular areas is defined as follows:
其中scli和scli'代表匹配对中查询图像特征点和初始检索结果图像特征点的尺度参数,δ是为控制该局部圆形邻域范围所设定的参数。Among them, scl i and scl i ' represent the scale parameters of the feature points of the query image in the matching pair and the feature points of the initial retrieval result image, and δ is a parameter set to control the range of the local circular neighborhood.
步骤8具体包括以下子步骤:Step 8 specifically includes the following sub-steps:
子步骤801,排除子步骤702中圆形邻域外的不相关特征点,如下公式:Sub-step 801, exclude irrelevant feature points outside the circular neighborhood in sub-step 702, the following formula:
其中,和分别代表处在查询图像和初始检索图像ROI上位于局部圆形邻域内的特征点集合,dist(,)代表相关特征点与基准特征点之间的欧几里德距离。in, and Represents the set of feature points located in the local circular neighborhood on the ROI of the query image and the initial retrieval image, and dist(,) represents the Euclidean distance between the relevant feature point and the reference feature point.
子步骤802,提取两个局部圆形邻域内相匹配的相关特征点,提取方式如下:Sub-step 802, extracting relevant feature points matched in two local circular neighborhoods, the extraction method is as follows:
子步骤803,由于选择的基准特征点的方向不一定与坐标轴方向平行,因此需要做出旋转调整,以基准特征点的方向作为新的坐标轴,这样相关特征点的位置发生了旋转。旋转调整以后相关特征点的位置计算如下:In sub-step 803, since the direction of the selected reference feature point is not necessarily parallel to the direction of the coordinate axis, a rotation adjustment needs to be made, and the direction of the reference feature point is used as the new coordinate axis, so that the positions of the relevant feature points are rotated. After the rotation adjustment, the position of the relevant feature points is calculated as follows:
其中,θi代表基准特征点SIFT的主梯度方向。Among them, θi represents the main gradient direction of the reference feature point SIFT.
子步骤804,为了衡量相关特征点的几何一致性,相关特征点旋转调整以后在分割的四等分圆上对每一对匹配的相关特征点相对于各自基准特征点的几何位置关系进行编码以验证其是否落在同一个分割区域中。计算公式如下:Sub-step 804, in order to measure the geometric consistency of the relevant feature points, after the relevant feature points are rotated and adjusted, the geometric positional relationship of each pair of matching relevant feature points relative to their respective reference feature points is encoded on the divided quadrant circle to Verify that it falls within the same segmented region. Calculated as follows:
如果相关特征点落在基准特征点的左侧,则C1_LR(qi,qj)值为0,相反落在右侧,C1_LR(qi,qj)值为1。同理,如果相关特征点落在基准特征点的下方,则C1_UD(qi,qj)值为0,相反落在上方,C1_UD(qi,qj)值为1。If the relevant feature point falls on the left side of the reference feature point, the value of C1_LR(q i , q j ) is 0, otherwise it falls on the right side, and the value of C1_LR(q i , q j ) is 1. Similarly, if the relevant feature point falls below the reference feature point, the value of C1_UD(q i , q j ) is 0; otherwise, the value of C1_UD(q i , q j ) is 1.
子步骤805,为了在局部圆形邻域产生另外4个等分扇形区域,将局部圆形区域以基准特征点为中心顺时针旋转π/4的角度,则相关特征点新的位置变为:Sub-step 805, in order to generate another four equally divided fan-shaped areas in the local circular neighborhood, the local circular area is rotated clockwise by an angle of π/4 around the reference feature point, and the new position of the relevant feature point becomes:
则计算出两个新的编码C2_LR(qi,qj)和C2_UD(qi,qj):Then two new codes C2_LR(q i ,q j ) and C2_UD(q i ,q j ) are calculated:
以上计算出了在查询图像已提取ROI中相关特征点相对于基准特征点的几何编码,以同样的方式在初始检索结果乳腺癌图像中也可以计算出其中相关特征点相对于基准特征点的几何编码:C1_LR(di,dj),C1_UD(di,dj),C2_LR(di,dj)和C2_UD(di,dj)。The geometric encoding of the relevant feature points relative to the reference feature points in the extracted ROI of the query image is calculated above. In the same way, the geometry of the relevant feature points relative to the reference feature points can also be calculated in the initial retrieval result breast cancer image. Coding: C1_LR(d i ,d j ), C1_UD(d i ,d j ), C2_LR(d i ,d j ) and C2_UD(d i ,d j ).
子步骤806,对几何编码过程中得到的8个几何编码分别进行异或运算:Sub-step 806, XOR operation is performed on the 8 geometric codes obtained in the geometric coding process:
其中⊕为异或运算,以(17)为例,假设在查询图像ROI中基准特征点的局部圆形邻域内的某个相关特征点位于该基准特征点的左方扇形分割区域,如果初始检索结果乳腺癌图像中与之相匹配的相关特征点也位于其基准特征点的相同方位的扇形分割区域中,则V1_LR((qi,qj),(di,dj))值为0,否则值为1。where ⊕ is an XOR operation, taking (17) as an example, assuming that a relevant feature point in the local circular neighborhood of the reference feature point in the query image ROI is located in the left fan-shaped segmented area of the reference feature point, if the initial retrieval As a result, the matching related feature points in the breast cancer image are also located in the fan-shaped segmented area in the same orientation as the reference feature point, so the value of V1_LR((q i ,q j ),(d i ,d j )) is 0 , otherwise the value is 1.
然后,分别对基准特征点局部圆形区域内所有相关特征点的V1_LR((qi,qj),(di,dj))和V2_LR((qi,qj),(di,dj))以及和做累加然后求和,对基准特征点的几何关系合理性进行评分,表示如下:Then, V1_LR((q i ,q j ),(d i ,d j )) and V2_LR((q i ,q j ),(d i , d j )) and and Accumulate and then sum, and score the rationality of the geometric relationship of the reference feature points, expressed as follows:
子步骤807,通过对S_LR(qi,di)和S_UD(qi,di)求和得出基准点几何关系合理性的最终评分,表示如下:Sub-step 807, by summing S_LR(q i , d i ) and S_UD(q i , d i ), the final score of the rationality of the geometric relationship of the reference point is obtained, expressed as follows:
Sco(qi,di)=S_LR(qi,di)+S_UD(qi,di) (23)Sco(q i ,d i )=S_LR(q i ,d i )+S_UD(q i ,d i ) (23)
此时,设定一个阈值将Sco(qi,di)与其进行比较来排除错误的匹配,表示如下:At this point, set a threshold Compare Sco(q i ,d i ) with it to exclude false matches, expressed as follows:
其中,是基准特征点局部圆形领域内相互匹配的相关特征点个数,ω为加权系数。如果匹配正确则C(qi,di)值为0,否则值为1。in, is the number of relevant feature points that match each other in the local circular area of the reference feature point, and ω is the weighting coefficient. If the match is correct, the value of C(q i ,d i ) is 0, otherwise it is 1.
以上步骤完成了一对相互匹配视觉单词局部圆形邻域内相关特征点几何关系的验证,然后对乳腺癌查询图像ROI和初始检索结果ROI中所有相互匹配的视觉单词局部圆形邻域内的相关特征点几何关系进行验证,并对所有的C(qi,di)进行统计,按照每幅初始检索结果图像ROI的C(qi,di)统计结果对初始检索结果重新升序排序,则匹配准确度高的检索结果会排在靠前位置。The above steps have completed the verification of the geometric relationship of the relevant feature points in the local circular neighborhood of a pair of matching visual words, and then the relevant features in the local circular neighborhood of all matching visual words in the breast cancer query image ROI and the initial retrieval result ROI Verify the geometric relationship of the points, and make statistics on all C(q i , d i ), and sort the initial retrieval results in ascending order according to the C(q i , d i ) statistical results of each initial retrieval result image ROI, then match The search results with high accuracy will be ranked in the top position.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810494757.9A CN108710690A (en) | 2018-05-22 | 2018-05-22 | Medical image search method based on geometric verification |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810494757.9A CN108710690A (en) | 2018-05-22 | 2018-05-22 | Medical image search method based on geometric verification |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108710690A true CN108710690A (en) | 2018-10-26 |
Family
ID=63868614
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810494757.9A Pending CN108710690A (en) | 2018-05-22 | 2018-05-22 | Medical image search method based on geometric verification |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108710690A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110263198A (en) * | 2019-06-27 | 2019-09-20 | 安徽淘云科技有限公司 | A kind of search method and device |
CN111341437A (en) * | 2020-02-21 | 2020-06-26 | 山东大学齐鲁医院 | Auxiliary system for judging digestive tract diseases based on tongue images |
CN113378842A (en) * | 2021-05-18 | 2021-09-10 | 浙江大学 | Recommendation method based on segmented image feature extraction |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104615642A (en) * | 2014-12-17 | 2015-05-13 | 吉林大学 | Space verification wrong matching detection method based on local neighborhood constrains |
CN107045520A (en) * | 2016-11-29 | 2017-08-15 | 江南大学 | A kind of vehicle image search method that words tree is weighted based on positional information |
CN107145829A (en) * | 2017-04-07 | 2017-09-08 | 电子科技大学 | A Palm Vein Recognition Method Fused with Texture Features and Scale Invariant Features |
-
2018
- 2018-05-22 CN CN201810494757.9A patent/CN108710690A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104615642A (en) * | 2014-12-17 | 2015-05-13 | 吉林大学 | Space verification wrong matching detection method based on local neighborhood constrains |
CN107045520A (en) * | 2016-11-29 | 2017-08-15 | 江南大学 | A kind of vehicle image search method that words tree is weighted based on positional information |
CN107145829A (en) * | 2017-04-07 | 2017-09-08 | 电子科技大学 | A Palm Vein Recognition Method Fused with Texture Features and Scale Invariant Features |
Non-Patent Citations (1)
Title |
---|
QINGLIANG LI等: "Computer-aided diagnosis of mammographic masses using geometric verification-based image retrieval", 《MEDICAL IMAGING 2017: COMPUTER-AIDED DIAGNOSIS》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110263198A (en) * | 2019-06-27 | 2019-09-20 | 安徽淘云科技有限公司 | A kind of search method and device |
CN111341437A (en) * | 2020-02-21 | 2020-06-26 | 山东大学齐鲁医院 | Auxiliary system for judging digestive tract diseases based on tongue images |
CN113378842A (en) * | 2021-05-18 | 2021-09-10 | 浙江大学 | Recommendation method based on segmented image feature extraction |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Hu et al. | Unsupervised learning for cell-level visual representation in histopathology images with generative adversarial networks | |
Demyanov et al. | Classification of dermoscopy patterns using deep convolutional neural networks | |
Ma et al. | Automatic segmentation of the prostate on CT images using deep learning and multi-atlas fusion | |
Zheng et al. | An inception module CNN classifiers fusion method on pulmonary nodule diagnosis by signs | |
Zulqarnain Gilani et al. | Shape-based automatic detection of a large number of 3D facial landmarks | |
Mastouri et al. | Deep learning-based CAD schemes for the detection and classification of lung nodules from CT images: A survey | |
Ahmad et al. | [Retracted] Efficient Liver Segmentation from Computed Tomography Images Using Deep Learning | |
Zhang et al. | An appraisal of nodule diagnosis for lung cancer in CT images | |
Kuang et al. | Unsupervised multi-discriminator generative adversarial network for lung nodule malignancy classification | |
de Sousa Costa et al. | Classification of malignant and benign lung nodules using taxonomic diversity index and phylogenetic distance | |
Bhuvaneswari et al. | Classification of lung diseases by image processing techniques using computed tomography images | |
Felix et al. | Using 3D texture and margin sharpness features on classification of small pulmonary nodules | |
CN108710690A (en) | Medical image search method based on geometric verification | |
Zhao et al. | Cavitary nodule segmentation in computed tomography images based on self–generating neural networks and particle swarm optimisation | |
CN105279508A (en) | Medical image classification method based on KAP digraph model | |
Jaffar et al. | Ensemble classification of pulmonary nodules using gradient intensity feature descriptor and differential evolution | |
Zhu et al. | Explainable classification of benign-malignant pulmonary nodules with neural networks and information bottleneck | |
Wang et al. | Multi-view fusion segmentation for brain glioma on CT images | |
Dong et al. | An improved YOLOv5 network for lung nodule detection | |
Guptha et al. | Earth mover's distance-based CBIR using adaptive regularised Kernel fuzzy C-means method of liver cirrhosis histopathological segmentation | |
CN113035334B (en) | Automatic delineation method and device for radiotherapy target area of nasal cavity NKT cell lymphoma | |
Zamanidoost et al. | OMS-CNN: Optimized Multi-Scale CNN for Lung Nodule Detection Based on Faster R-CNN | |
Jiao et al. | MSL-Net: Sharp Feature Detection Network for 3D Point Clouds | |
Junior et al. | A novel fusion-based texture descriptor to improve the detection of architectural distortion in digital mammography | |
Fu et al. | 3D multi‐resolution deep learning model for diagnosis of multiple pathological types on pulmonary nodules |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |