CN101556695A - Image matching method - Google Patents
Image matching method Download PDFInfo
- Publication number
- CN101556695A CN101556695A CNA200910039491XA CN200910039491A CN101556695A CN 101556695 A CN101556695 A CN 101556695A CN A200910039491X A CNA200910039491X A CN A200910039491XA CN 200910039491 A CN200910039491 A CN 200910039491A CN 101556695 A CN101556695 A CN 101556695A
- Authority
- CN
- China
- Prior art keywords
- image
- matching
- template
- matched
- sigma
- 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
Images
Landscapes
- Image Analysis (AREA)
Abstract
The invention relates to an image matching method, comprising the following steps: (1) collecting images to be matched by an image collector and extracting template images from an image processor; (2) reducing the images to be matched and template images by half in the directions of width and height; (3) repeating step (2) until the images to be matched and template images reach specified sizes and carrying out gray scale normalization cross correlation matching on the reduced images to obtain the optimal matching positions (x, y); (4) returning to the previous images which are reduced by half and carrying out further matching on 9 search positions within the range of ((2x-1)-(2x+1), (2y-1)-(2y+1)) to obtain new optimal matching positions (x, y); (5) repeating step (2) until returning to the primary image, namely the original image, and carry out final matching to obtain the optimal matching positions and matching values. The method features shorter matching time and smaller amount of calculation.
Description
Technical field
The invention belongs to graphic processing method, relate in particular to a kind of image matching method.
Background technology
Along with science and technology development, images match has become very important technology in the Image Information Processing field.Need to use image matching technology in about 40% the machine vision applications now, automatic monitoring, resource analysis, weather forecast, medical diagnosis, traffic administration, literal identification and the image retrieval etc. of the image tracking of terrain match, optics and the radar of related application from the industrial detection to the guided missile, the automatic monitoring of industrial flow-line, industrial instrument.Images match research has related to image acquisition, image pre-service, image segmentation, feature extraction etc., and combines closely with computer vision, multi-dimensional signal processing and numerical computation method etc.It also is some other image analysis technology, basis as stereoscopic vision, motion analysis, data fusion etc.: just because of the popularity of its application, new application and new requirement progressively produce, make the research of matching algorithm progressively move towards deeply the matching algorithm that occurred fast, stablize, robustness is good.Therefore, existing matching algorithm deployment analysis is had very important significance for actual engineering raising quality of image processing and accuracy of identification.
The normalized crosscorrelation matching algorithm is by the gray scale normalization cross-correlation coefficient of calculation template and image to be matched, and promptly cross correlation value is determined the degree of coupling.Cross-correlation method can overcome because tonal distortion that image acquisition and systematic error are brought and geometric distortion (translation distortion and rotation).
There is oversize shortcoming match time in traditional gray scale normalization cross-correlation coefficient matching algorithm.Its coupling and search position fixing process are all searching positions on the traversal detected image, calculate the correlation of each position, and the position of correlation maximum is a matched position.Be the product of two numerical value match time, and one is the number of pixels of hunting zone, and another is to calculate the time that the searching position related coefficient is spent, and the latter is depended on the size of template image, i.e. the number of pixels of template image.The shortcoming of this method is that the matching process calculated amount is big, needs the cost plenty of time, and the big more or detected image hunting zone of template image is big more, and the needed time is k
2l
2Multiple increase, k and l are respectively the increase multiple of template image and detected image.If all increasing, hunting zone and template image be that original twice, match time will be original 16 times.
Summary of the invention
Problem at prior art exists the invention provides the image matching method that a kind of match time is shorter, calculated amount is littler.
For achieving the above object, technical scheme of the present invention is: a kind of image matching method, and it may further comprise the steps: (1) utilizes image acquisition device to gather image to be matched, and accesses template image from image processor; (2) image to be matched and template image are all dwindled one times at width and short transverse; (3) repeating step (2) reaches the size of appointment up to matching image and template image, on the image that dwindles, use gray scale normalization simple crosscorrelation coupling obtain best match position (x, y); (4) turn back on the image that upper level dwindles a times (2x-1~2x+1,9 searching positions in the scope of 2y-1~2y+1) further mate again, obtain new best match position (x, y); (5) repeating step (4), up to turning back to first order image, promptly original image carries out last coupling, the best match position of acquisition and matching value.
In the above-mentioned steps (3), gray scale normalization simple crosscorrelation coupling is the gray matrix with a certain size each pixel of image to be matched, with template image might window the gray scale array, search for comparison by default method for measuring similarity, and carry out the cross correlation value coupling.
The computing formula of the place normalization cross-correlation coefficient of search window determining positions template image in image to be matched when cross correlation value is maximum is shown below,
(i j) is illustrated on the detected image that (i is the image in the search window of initial point and the normalized crosscorrelation coefficient value of template image j), and image is meant the image block that has identical size on image to be detected with template image in the above-mentioned search window with point to R; (x+i is that coordinate is (x+i, y+j) gray values of pixel points on the detected image y+j) to C; (i is that (i j) is the average gray of image of the search window of initial point to some j) to C; (x is that coordinate is (x, y) gray values of pixel points on the template image y) to P; P is the average gray value of template image; The value of x and y is the coordinate figure of all pixels of template image; The span of i and j is the coordinate figure of all pixels of hunting zone.
The present invention is with respect to the advantage of prior art:
The match time of tradition gray scale normalization simple crosscorrelation matching algorithm is very big, the calculating that is cross correlation value on the one hand need use the gray-scale value of template image and all pixels of search window image to calculate, and is on the other hand to want interior all pixels of traversal search scope to calculate the cross correlation value of each searching position.This makes along with the increase of image, sharp increase match time.It is less that the present invention dwindles the back image, and the coupling calculated amount also reduces rapidly, can effectively shorten match time.
Description of drawings
Fig. 1 is stacked two minutes simple crosscorrelation matching algorithm synoptic diagram of the present invention.
Embodiment
The invention provides a kind of image matching method, as shown in Figure 1, it may further comprise the steps:
(1) utilizes image acquisition device to gather image to be matched, and from image processor, access template image;
(2) image to be matched and template image are all dwindled one times at width and short transverse;
(3) repeating step (2) reaches the size of appointment up to matching image and template image, on the image that dwindles, use gray scale normalization simple crosscorrelation coupling obtain best match position (x, y);
(4) turn back on the image that upper level dwindles a times (2x-1~2x+1,9 searching positions in the scope of 2y-1~2y+1) further mate again, obtain new best match position (x, y);
(5) repeating step (4), up to turning back to first order image, promptly original image carries out last coupling, the best match position of acquisition and matching value.
In the above-mentioned steps (3), gray scale normalization simple crosscorrelation coupling is the gray matrix with a certain size each pixel of image to be matched, with template image might window the gray scale array, search for comparison by default method for measuring similarity, and carry out the cross correlation value coupling.
The computing formula of the place normalization cross-correlation coefficient of search window determining positions template image in image to be matched when cross correlation value is maximum is shown below,
(i j) is illustrated on the detected image that (i is the image in the search window of initial point and the normalized crosscorrelation coefficient value of template image j), and image is meant the image block that has identical size on image to be detected with template image in the above-mentioned search window with point to R; (x+i is that coordinate is (x+i, y+j) gray values of pixel points on the detected image y+j) to C; (i is that (i j) is the average gray of image of the search window of initial point to some j) to C; (x is that coordinate is (x, y) gray values of pixel points on the template image y) to P; P is the average gray value of template image; The value of x and y is the coordinate figure of all pixels of template image; The span of i and j is the coordinate figure of all pixels of hunting zone.
The present invention is with stacked two minutes simple crosscorrelation couplings of this method called after, and the meaning of half is repeatedly dwindled in expression.The advantage of stacked two minutes matching algorithms is to have reduced the hunting zone simultaneously and calculated the number of pixels that cross-correlation coefficient relates to, and therefore can Mrs dwindle match time.Suppose the time that the image when prime uses traditional simple crosscorrelation matching algorithm to need is Tt, the number of pixels of whole hunting zone is S, then the image of next stage time of using traditional simple crosscorrelation matching algorithm to need is T/16, then to use stacked two minutes matching methods to carry out two a fens required time when the prime image then is:
Tr(1)=9Tt/S+Tt/16 (2)
Carrying out n two fens required time is:
Tr(n)=9Tt/S+9*(Tt/16)/(S/4)+……+
9*(Tt/24(n-1))/(S/22(n-1))+Tt/24n (3)
Use one time two minutes stacked two minutes algorithms and use difference match time of traditional simple crosscorrelation matching algorithm to be working as prime as can be known by (2) formula:
ΔT=(15/16-9/S)*Tt (4)
S is the number of pixels of the hunting zone when using traditional simple crosscorrelation matching algorithm when the prime image.If two fens number of times increase, the S value of the big more image of progression is more little, and Δ T is more near 0, when 15/16 ≈ 9/S, and promptly during S ≈ 9, Δ T ≈ 0.At this moment reach minimum value match time, promptly in theory, number of times was big more in two minutes, and the match time of algorithm is more little, when S ≈ 9, reaches minimum value.Though two minutes each time, image dwindled half, image dwindles can lose image information,, if comprise the image that will search in the image to be matched, because image and detected image to be matched is to dwindle simultaneously, still there is matching relationship in both.But in order to ensure the accuracy of matching result, the amount of decrease of adding the time when number of times was bigger in two minutes is also more and more littler, therefore can specify the mode of minimum image size to control two fens number of times.
Claims (3)
1, a kind of image matching method is characterized in that may further comprise the steps:
(1) utilizes image acquisition device to gather image to be matched, and from image processor, access template image;
(2) image to be matched and template image are all dwindled one times at width and short transverse;
(3) repeating step (2) reaches the size of appointment up to matching image and template image, on the image that dwindles, use gray scale normalization simple crosscorrelation coupling obtain best match position (x, y);
(4) turn back on the image that upper level dwindles a times (2x-1~2x+1,9 searching positions in the scope of 2y-1~2y+1) further mate again, obtain new best match position (x, y);
(5) repeating step (4), up to turning back to first order image, promptly original image carries out last coupling, the best match position of acquisition and matching value.
2, image matching method according to claim 1, it is characterized in that: in the above-mentioned steps (3), gray scale normalization simple crosscorrelation coupling is the gray matrix with a certain size each pixel of image to be matched, with template image might window the gray scale array, search for comparison by default method for measuring similarity, and carry out the cross correlation value coupling.
3, image matching method according to claim 2 is characterized in that: the computing formula of the place normalization cross-correlation coefficient of search window determining positions template image in image to be matched when cross correlation value is maximum is shown below,
(i j) is illustrated on the detected image that (i is the image in the search window of initial point and the normalized crosscorrelation coefficient value of template image j), and image is meant the image block that has identical size on image to be detected with template image in the above-mentioned search window with point to R; (x+i is that coordinate is (x+i, y+j) gray values of pixel points on the detected image y+j) to C; (i is that (i j) is the average gray of image of the search window of initial point to some j) to C; (x is that coordinate is (x, y) gray values of pixel points on the template image y) to P; P is the average gray value of template image; The value of x and y is the coordinate figure of all pixels of template image; The span of i and j is the coordinate figure of all pixels of hunting zone.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA200910039491XA CN101556695A (en) | 2009-05-15 | 2009-05-15 | Image matching method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA200910039491XA CN101556695A (en) | 2009-05-15 | 2009-05-15 | Image matching method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101556695A true CN101556695A (en) | 2009-10-14 |
Family
ID=41174800
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA200910039491XA Pending CN101556695A (en) | 2009-05-15 | 2009-05-15 | Image matching method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101556695A (en) |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101840570A (en) * | 2010-04-16 | 2010-09-22 | 广东工业大学 | Fast image splicing method |
CN102214307A (en) * | 2011-06-27 | 2011-10-12 | 北京邮电大学 | Image matching method |
CN102566335A (en) * | 2010-12-30 | 2012-07-11 | 上海微电子装备有限公司 | Template image acquisition method |
CN102768726A (en) * | 2011-05-06 | 2012-11-07 | 香港生产力促进局 | Pedestrian detection method for preventing pedestrian collision |
CN103208096A (en) * | 2013-04-26 | 2013-07-17 | 西安电子科技大学 | Fast automatic sorting combination method based on reduced and partial multi-temporal image |
CN103325249A (en) * | 2012-03-22 | 2013-09-25 | 日本电气株式会社 | Capture image processing device and capture image processing method |
CN103617625A (en) * | 2013-12-13 | 2014-03-05 | 中国气象局北京城市气象研究所 | Image matching method and image matching device |
CN103903249A (en) * | 2012-12-27 | 2014-07-02 | 纽海信息技术(上海)有限公司 | Image matching system and method |
CN105894441A (en) * | 2015-12-29 | 2016-08-24 | 乐视云计算有限公司 | Image matching method and device |
CN106407987A (en) * | 2016-08-31 | 2017-02-15 | 中国工程物理研究院激光聚变研究中心 | Image cross correlation matching-based electric light crystal optical axis extend-out point extraction method |
CN108957572A (en) * | 2018-05-18 | 2018-12-07 | 广东工业大学 | A kind of terahertz imaging method, device, equipment and readable storage medium storing program for executing |
CN109084721A (en) * | 2017-06-13 | 2018-12-25 | 睿励科学仪器(上海)有限公司 | Method and apparatus for determining the structural parameters of the object construction in semiconductor devices |
WO2019119453A1 (en) * | 2017-12-22 | 2019-06-27 | 深圳配天智能技术研究院有限公司 | Image matching method and visual system |
CN111192233A (en) * | 2018-11-14 | 2020-05-22 | 长鑫存储技术有限公司 | Preparation method and preparation device of semiconductor structure |
WO2020228022A1 (en) * | 2019-05-16 | 2020-11-19 | 西门子股份公司 | Image matching method and device, and computer readable medium |
CN112155511A (en) * | 2020-09-30 | 2021-01-01 | 广东唯仁医疗科技有限公司 | Method for compensating human eye shake in OCT (optical coherence tomography) acquisition process based on deep learning |
CN115035326A (en) * | 2022-06-09 | 2022-09-09 | 电子科技大学 | Method for accurately matching radar image and optical image |
CN116386074A (en) * | 2023-06-07 | 2023-07-04 | 青岛雅筑景观设计有限公司 | Intelligent processing and management system for garden engineering design data |
-
2009
- 2009-05-15 CN CNA200910039491XA patent/CN101556695A/en active Pending
Cited By (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101840570A (en) * | 2010-04-16 | 2010-09-22 | 广东工业大学 | Fast image splicing method |
CN102566335A (en) * | 2010-12-30 | 2012-07-11 | 上海微电子装备有限公司 | Template image acquisition method |
CN102566335B (en) * | 2010-12-30 | 2014-03-26 | 上海微电子装备有限公司 | Template image acquisition method |
CN102768726A (en) * | 2011-05-06 | 2012-11-07 | 香港生产力促进局 | Pedestrian detection method for preventing pedestrian collision |
CN102214307A (en) * | 2011-06-27 | 2011-10-12 | 北京邮电大学 | Image matching method |
CN102214307B (en) * | 2011-06-27 | 2013-01-16 | 北京邮电大学 | Image matching method |
CN103325249A (en) * | 2012-03-22 | 2013-09-25 | 日本电气株式会社 | Capture image processing device and capture image processing method |
CN103903249B (en) * | 2012-12-27 | 2017-10-13 | 北京京东尚科信息技术有限公司 | Image matching system and method |
CN103903249A (en) * | 2012-12-27 | 2014-07-02 | 纽海信息技术(上海)有限公司 | Image matching system and method |
CN103208096A (en) * | 2013-04-26 | 2013-07-17 | 西安电子科技大学 | Fast automatic sorting combination method based on reduced and partial multi-temporal image |
CN103208096B (en) * | 2013-04-26 | 2016-02-24 | 西安电子科技大学 | Based on reducing and the fast automatic sequence combination method of multi-temporal image locally |
CN103617625A (en) * | 2013-12-13 | 2014-03-05 | 中国气象局北京城市气象研究所 | Image matching method and image matching device |
WO2017113692A1 (en) * | 2015-12-29 | 2017-07-06 | 乐视控股(北京)有限公司 | Method and device for image matching |
CN105894441A (en) * | 2015-12-29 | 2016-08-24 | 乐视云计算有限公司 | Image matching method and device |
CN106407987B (en) * | 2016-08-31 | 2020-04-17 | 中国工程物理研究院激光聚变研究中心 | Electro-optic crystal optical axis exposure point extraction method based on image cross-correlation matching |
CN106407987A (en) * | 2016-08-31 | 2017-02-15 | 中国工程物理研究院激光聚变研究中心 | Image cross correlation matching-based electric light crystal optical axis extend-out point extraction method |
CN109084721B (en) * | 2017-06-13 | 2021-09-21 | 睿励科学仪器(上海)有限公司 | Method and apparatus for determining a topographical parameter of a target structure in a semiconductor device |
CN109084721A (en) * | 2017-06-13 | 2018-12-25 | 睿励科学仪器(上海)有限公司 | Method and apparatus for determining the structural parameters of the object construction in semiconductor devices |
WO2019119453A1 (en) * | 2017-12-22 | 2019-06-27 | 深圳配天智能技术研究院有限公司 | Image matching method and visual system |
CN108957572A (en) * | 2018-05-18 | 2018-12-07 | 广东工业大学 | A kind of terahertz imaging method, device, equipment and readable storage medium storing program for executing |
CN108957572B (en) * | 2018-05-18 | 2020-02-07 | 广东工业大学 | Terahertz imaging method, device and equipment and readable storage medium |
CN111192233A (en) * | 2018-11-14 | 2020-05-22 | 长鑫存储技术有限公司 | Preparation method and preparation device of semiconductor structure |
CN111192233B (en) * | 2018-11-14 | 2022-04-12 | 长鑫存储技术有限公司 | Preparation method and preparation device of semiconductor structure |
WO2020228022A1 (en) * | 2019-05-16 | 2020-11-19 | 西门子股份公司 | Image matching method and device, and computer readable medium |
CN112155511A (en) * | 2020-09-30 | 2021-01-01 | 广东唯仁医疗科技有限公司 | Method for compensating human eye shake in OCT (optical coherence tomography) acquisition process based on deep learning |
CN115035326A (en) * | 2022-06-09 | 2022-09-09 | 电子科技大学 | Method for accurately matching radar image and optical image |
CN115035326B (en) * | 2022-06-09 | 2024-04-12 | 电子科技大学 | Radar image and optical image accurate matching method |
CN116386074A (en) * | 2023-06-07 | 2023-07-04 | 青岛雅筑景观设计有限公司 | Intelligent processing and management system for garden engineering design data |
CN116386074B (en) * | 2023-06-07 | 2023-08-15 | 青岛雅筑景观设计有限公司 | Intelligent processing and management system for garden engineering design data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101556695A (en) | Image matching method | |
CN111401201B (en) | Aerial image multi-scale target detection method based on spatial pyramid attention drive | |
Xiao et al. | Change detection of built-up land: A framework of combining pixel-based detection and object-based recognition | |
CN110969088B (en) | Remote sensing image change detection method based on significance detection and deep twin neural network | |
Yin et al. | Hot region selection based on selective search and modified fuzzy C-means in remote sensing images | |
CN101488185B (en) | Partitioned matrix-based gait recognition method | |
CN102236798B (en) | Image matching method and device | |
CN102629374B (en) | Image super resolution (SR) reconstruction method based on subspace projection and neighborhood embedding | |
CN102436652A (en) | Automatic registering method of multisource remote sensing images | |
CN102122359B (en) | Image registration method and device | |
CN103400388A (en) | Method for eliminating Brisk (binary robust invariant scale keypoint) error matching point pair by utilizing RANSAC (random sampling consensus) | |
Pang et al. | Building discriminative CNN image representations for object retrieval using the replicator equation | |
CN112102294B (en) | Training method and device for generating countermeasure network, and image registration method and device | |
CN101140216A (en) | Gas-liquid two-phase flow type recognition method based on digital graphic processing technique | |
CN104077782A (en) | Satellite-borne remote sense image matching method | |
CN104809724A (en) | Automatic precise registration method for multiband remote sensing images | |
CN105279772A (en) | Trackability distinguishing method of infrared sequence image | |
CN101556694A (en) | Matching method of rotating images | |
CN103854290A (en) | Extended target tracking method based on combination of skeleton characteristic points and distribution field descriptors | |
CN103578105B (en) | A kind of multi-source foreign peoples method for registering images based on provincial characteristics | |
CN113836999A (en) | Tunnel construction risk intelligent identification method and system based on ground penetrating radar | |
Schäfer et al. | Classifying Land Cover from Satellite Images Using Time Series Analytics. | |
CN105096345A (en) | Target tracking method based on dynamic measurement matrix and target tracking system based on dynamic measurement matrix | |
CN113850769B (en) | Hyperspectral change detection method based on Simese space spectrum joint convolution network | |
CN114612883A (en) | Forward vehicle distance detection method based on cascade SSD and monocular depth estimation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20091014 |