CN1766907A - Multi-target image recognition method based on cluster genetic algorithm - Google Patents
Multi-target image recognition method based on cluster genetic algorithm Download PDFInfo
- Publication number
- CN1766907A CN1766907A CN 200510200637 CN200510200637A CN1766907A CN 1766907 A CN1766907 A CN 1766907A CN 200510200637 CN200510200637 CN 200510200637 CN 200510200637 A CN200510200637 A CN 200510200637A CN 1766907 A CN1766907 A CN 1766907A
- Authority
- CN
- China
- Prior art keywords
- cluster
- fitness
- image
- individuality
- target image
- 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 12
- 230000002068 genetic effect Effects 0.000 title claims 9
- 239000004744 fabric Substances 0.000 claims 3
- 230000000295 complement effect Effects 0.000 claims 1
- 230000008878 coupling Effects 0.000 claims 1
- 238000010168 coupling process Methods 0.000 claims 1
- 238000005859 coupling reaction Methods 0.000 claims 1
- 231100000219 mutagenic Toxicity 0.000 claims 1
- 230000003505 mutagenic effect Effects 0.000 claims 1
- 230000035772 mutation Effects 0.000 claims 1
Images
Landscapes
- Image Analysis (AREA)
Abstract
The invention relates to a multi-aim image identifying method based on clustering genetic computing which comprises the following steps: a. storing a group of template image in the storage of the computer; b. positioning the carrier with multi-aim sub image on the CCD video image gather lens; c. transmitting the gathered video signal to the image card, processing the signal by computer, applying grey degree template matching method and adaptation degree chart structure clustering rule and analogy degree to measure the matching degree of the images; d. repeating until obtaining the absolute coordinate location of each aim sub image which is matched with the template image assign degree value.
Description
(1) technical field
The invention belongs to a kind of target image search recognition methods of Vision Builder for Automated Inspection, particularly a kind of localization method of multiple goal image.
(2) background technology
Traditional genetic algorithm is applied to image recognition, nearly all search for optimization fast at the single goal image, and just rely on matching degree simply to weigh to the traditional algorithm of multiple goal problem of image recognition, and in fact this multi-modal optimization problem, the multi-modal optimization problem that particularly a plurality of local extremums are more or less the same, algorithm drifts about between a plurality of local solutions easily, so speed of convergence is slow, and is absorbed in local extremum easily.Cause to determine target numbers automatically, common utility software need manually be informed the target numbers of its image to be identified, efficient is lower, accuracy is not high, and Search Results is stronger to the dependence of initial population, the recognition result that different search starting points obtains is often different, and need carry out conversion to fitness, and consumed time is more, it is bigger that the knowledge probability is known, leaked to mistake, and reliability is lower.
(3) summary of the invention
The purpose of this invention is to provide a kind of multi-target image recognition method, solve the coupling of existing multiple goal image, the automatic lower problem of recognition efficiency based on cluster genetic algorithm; Also solve determine automatically, rapidly the target image number, once accurately discern several target images in the scene image, reduce the problem of single image recognition time.
Technical scheme of the present invention:
This multi-target image recognition method based on cluster genetic algorithm is characterized in that the steps include:
A, in the storer of computing machine, store one group of template image in advance based on gray scale;
B, the carrier that will contain the multiple goal subimage place under the CCD video image acquisition camera lens;
C, the vision signal that obtains is passed to image card, central processing unit by computing machine is handled this signal, application is based on the template matching method and the fitness view structure clustering rule of gray scale, weigh matching degree between the image with similarity, make this group subimage genetic group cluster be divided into the different microhabitats that fitness is shared; Then the gray scale of these microhabitats with the template image that prestores compared, sorts out; If the distance between two width of cloth coupling subimage can think then that greater than template image two width of cloth images are different target images; Otherwise, think that then two width of cloth images only are the response of same target image at the different points of proximity; Select the bigger new one group of subimage of similarity;
D, circulation repeatedly, up to drawing the absolute location coordinates position of specifying each target subimage that gray-scale value is complementary with template image.
Above-mentioned template matching method based on gray scale, formula is as follows:
Wherein, S is given scene image; P is a template image, and size is M * M; S
I, jBe the subimage of desiring among the S to mate with T, (i j) is S
I, jThe coordinate of the upper left corner in S; L is an image gray levels.
The step of above-mentioned fitness view structure clustering rule:
1), writes down with set I that all do not sort out individuality in the current colony;
2), from I, select the highest individual c={i of fitness, j};
3), if f (c) 〉=δ-g (t), then should individuality as new cluster centre, do not sort out individual c '={ i ', j ' } for all, if | i-i ' |<M﹠amp; ﹠amp; | j-j ' |<M, then c ' is classified as such, upgrade I;
4), repeat 2-3, up to f (c)<δ-g (t);
5), with all do not sort out individuality among the I, by distance classification nearby.
The step of above-mentioned fitness view structure clustering rule:
Whether step 1: detecting has the cluster individuality; If then carry out step 2; If not, then export individuality in each cluster centre and the cluster;
Step 2, never select the highest individual c of fitness in the cluster individuality;
Step 3, if f (c) 〉=δ-g (t), then be cluster centre with c, form new cluster; If not, with all not the individuality of cluster sort out nearby by distance;
Step 4:, travel through individuality in the colony in order; If traversal finishes, then return step 1, if not, obtain waiting to travel through individual c '={ i ', j ' };
Step 5: judge that c ' is cluster individuality not? if then will join with c is in the cluster at center, if not, then repeat traversal.
This multi-target image recognition method based on cluster genetic algorithm is characterized in that step is as follows:
(1), setup parameter: population size N; Select, intersect and mutation operator the operator parameter; Fitness threshold value δ; Maximum optimum individual keeps generation number T
MaxMake that T is that optimum individual keeps generation number; B gathers for the highest fitness;
(2), at random produce initial population, calculate fitness, make t=O, B=φ;
(3), colony is carried out cluster; Independently select in each class, intersect, the new individual fitness that produces is calculated in variation, write down the highest all kinds of fitness, form set B ', as if B '==B, T++ then, otherwise B=B ', T=O;
(4), all kinds of optimum individual enters the next generation with probability 1, other individuality is chosen from the old and new colony according to the roulette wheel method;
(5), if T>T
Max, then export the individuality of all fitness>δ among the B, algorithm stops.Otherwise change step (3).
The application of this multi-target image recognition method based on cluster genetic algorithm is characterized in that:
On full-automatic bonding machine, obtain vision signal with CCD; The vision signal that obtains is passed to image card; Handle based on the multi-target image recognition method of cluster genetic algorithm by computer utility, for colony, at first utilize this rule to carry out cluster and form different microhabitats for each; Utilize in each microhabitat then and select, intersect, it is individual that mutagenic factor generates a new generation; Whole process iterates up to the absolute location coordinates that obtains chip bonding pad; Signal to motion controller then; Motion controller drives the high speed and precision motion of servomotor control X-Y worktable again, forms a closed-loop control system.
The present invention adopts the template matching method based on gray scale, weighs matching degree between the image with similarity.Adopt this criterion, correct or all can produce good response near correct position.Therefore, distinguishing two width of cloth coupling subimage is that different target image or same target images is keys of finding the solution multiple goal images match problem in the response of the different points of proximity.
The images match result is observed and can find, containing following semantic information in the template: template size is to distinguish effective criterion of two width of cloth coupling subimage.If the distance between two width of cloth coupling subimage can think that then two width of cloth images are different target images, otherwise two width of cloth images only is the response of same target image at the different points of proximity greater than template size.
The present invention utilizes the semantic information of template, determines clustering rule according to the fitness information of obtaining in template size and the evolutionary process., at first utilize this rule to carry out cluster and form different microhabitats for colony for each, utilize in each microhabitat then and select, intersect, it is individual that mutagenic factor generates a new generation.The abort criterion that whole process iterates and sets up to satisfying.
Use validity check of the present invention: move this method on computers and test, in the test, selection operation employing scale is 2 league matches selection, and recombination method in the middle of interlace operation is adopted carries out the centre reorganization again for the invalid individuality that produces, till generating legal individuality, mutation operation adopts real-valued mutagenic factor, and with algorithm independent repetition operation 100 times, algorithm all can accurately be discerned six width of cloth target images in the scene, average 23.37ms consuming time, recognition result is seen Fig. 8.
The present invention introduces cluster thought in the search mechanisms of genetic algorithm, and the fitness view structure clustering rule in conjunction with forming in template semanteme and the genetic algorithm evolutionary process effectively is divided into different microhabitats with genetic group.This niche technique of sharing based on fitness has been utilized the fitness information that obtains in the semantic information of template and the evolutionary process, effectively differentiates the target numbers that exists in the scene image automatically.Practical application shows, the present invention has effectively solved the problem of determining the target image number automatically, once can accurately discern several target images in the scene image, has reduced the recognition time of single image, improve system effectiveness, realized the robotization of multiple goal image recognition.
The present invention utilizes template image information and the fitness view information that produces of evolving is carried out cluster to colony, once operation just can be determined clusters number, cluster centre, efficiency of algorithm is greatly improved, and, to the division of colony, multi-modal optimization problem is reduced to a plurality of single mode optimization problems, reduced the search volume of each problem, help convergence of algorithm, improved the reliability of location.The Vision Builder for Automated Inspection that can be used for semiconductor equipment and other automation equipments comprises application such as framing and defects detection.
(4) description of drawings
Fig. 1 is the example of a width of cloth template image;
Fig. 2 is giving an example of the real-time chip scene image of taking.
Fig. 3 is the process flow diagram of the inventive method;
Fig. 4 is the method step block diagram of clustering rule of the present invention;
Fig. 5 is three kinds of different function curves.
Fig. 6 is system's formation synoptic diagram that the present invention is applied to the bonding machine;
Fig. 7 is that the software of Vision Builder for Automated Inspection constitutes synoptic diagram;
Fig. 8 is the synoptic diagram that explanation the present invention discerns locating effect.
(5) embodiment
Embodiment is referring to Fig. 1, Fig. 2, and Fig. 1 is a width of cloth template image, and Fig. 2 is real-time chip image.The target image that full-automatic bonding machine chips image identification system requires in the scene image of location all and template image to be complementary.Adopt the multiple goal image identification system, but several target images of one-time positioning, thus reduce the time of discerning the single width target image, improve system effectiveness, this is necessary to the real-time handling property that improves system.Because in the process of bonding die, constantly have chip to be removed, therefore, the number of the target image that comprises in the scene image is uncertain.This just requires algorithm must determine the number of target image automatically.
The basic procedure of clustering rule is referring to Fig. 3:
Setup parameter: population size N; Select, intersect and mutation operator the operator parameter; Fitness threshold value δ; Maximum optimum individual keeps generation number T
MaxMake that T is that optimum individual keeps generation number; B gathers for the highest fitness.
Produce initial population at random, calculate fitness, make T=O, B=φ.
Colony is carried out cluster.Independently select in each class, intersect, the new individual fitness that produces is calculated in variation, write down the highest all kinds of fitness, form set B ', as if B '==B, T++ then, otherwise B=B ', T=O.
All kinds of optimum individuals enter the next generation with probability 1, and other individualities are chosen from the old and new colony according to the roulette wheel method.
If T>T
Max, then export the individuality of all fitness>δ among the B, algorithm stops.Otherwise change 3).
This rule adopts real coding, with the architectural feature of the maintenance problem of being asked itself, and avoids problem space and GA space are carried out required the assessing the cost of numeral system conversion.Owing to may produce invalid code, therefore, should introduce the validity check mechanism of coding.Definition chromosome is c={i, j}.Wherein (i j) represents subimage S to be matched
I, jIn (i, j).The individual fitness of definition is the subimage of individual representative and the similarity between the template image, that is:.
The clustering rule process is referring to Fig. 4:
1) writes down with set I that all do not sort out individuality in the current colony.
2) from I, select the highest individual c={i of fitness, j}.
3), if f (c) 〉=δ-g (t), then should individuality as new cluster centre, do not sort out individuality for all.
Claims (6)
1. the multi-target image recognition method based on cluster genetic algorithm is characterized in that the steps include:
A, in the storer of computing machine, store one group of template image in advance based on gray scale;
B, the carrier that will contain the multiple goal subimage place under the CCD video image acquisition camera lens;
C, the vision signal that obtains is passed to image card, central processing unit by computing machine is handled this signal, application is based on the template matching method and the fitness view structure clustering rule of gray scale, weigh matching degree between the image with similarity, make this group subimage genetic group cluster be divided into the different microhabitats that fitness is shared; Then the gray scale of these microhabitats with the template image that prestores compared, sorts out; If the distance between two width of cloth coupling subimage can think then that greater than template image two width of cloth images are different target images; Otherwise, think that then two width of cloth images only are the response of same target image at the different points of proximity; Select the bigger new one group of subimage of similarity;
D, circulation repeatedly, up to drawing the absolute location coordinates position of specifying each target subimage that gray-scale value is complementary with template image.
2. according to the multi-target image recognition method based on cluster genetic algorithm of claim 1, it is characterized in that: above-mentioned template matching method based on gray scale, formula is as follows:
Wherein, S is given scene image; P is a template image, and size is M * M; S
I, jBe the subimage of desiring among the S to mate with T, (i j) is S
I, jThe coordinate of the upper left corner in S; L is an image gray levels.
3. according to the multi-target image recognition method based on cluster genetic algorithm of claim 1, it is characterized in that the wherein step of fitness view structure clustering rule:
1), writes down with set I that all do not sort out individuality in the current colony;
2), from II, select the highest individual c={i of fitness, j}c={i, j};
3), if f (c) 〉=δ-g (t) f (c) 〉=δ-g (t), then should individuality as new cluster centre, do not sort out individual c '={ i ', j ' } c '={ i ', j ' } for all, if | i-i ' |<M﹠amp; ﹠amp; | j-j ' |<M|i, i ' |<M﹠amp; ﹠amp; | j-j ' |<M, then c ' c ' is classified as such, upgrade II;
4), repeat 2-3, up to f (c)<δ-g (t) f (c)<δ-g (t);
5), with all do not sort out individuality among the I, by distance classification nearby.
4. according to the multi-target image recognition method based on cluster genetic algorithm of claim 1, it is characterized in that the wherein step of fitness view structure clustering rule:
Whether step 1: detecting has the cluster individuality; If then carry out step 2; If not, then export individuality in each cluster centre and the cluster;
Step 2, never select the highest individual c of fitness in the cluster individuality;
Step 3, if f (c) 〉=δ-g (t) f (c) 〉=δ-g (t) f (c) 〉=δ-g (t) f (c) 〉=δ-g (t), then be cluster centre with c, form new cluster; If not, with all not the individuality of cluster sort out nearby by distance;
Step 4:, travel through individuality in the colony in order; If traversal finishes, then return step 1, if not, obtain waiting to travel through individual c '={ i ', j ' } c '={ i ', j ' } c '={ i ', j ' } c '={ i ', j ' };
Step 5: judge that c ' c ' c ' c ' is cluster individuality not? if then c ' c ' c ' c ' being joined with c is in the cluster at center, if not, then repeat traversal.
5. multi-target image recognition method based on cluster genetic algorithm is characterized in that step is as follows:
(1), setup parameter: population size N; Select, intersect and mutation operator the operator parameter; Fitness threshold value δ; Maximum optimum individual keeps generation number T
MaxMake that T is that optimum individual keeps generation number; B gathers for the highest fitness;
(2), at random produce initial population, calculate fitness, make T=O, B=φ;
(3), colony is carried out cluster; Independently select in each class, intersect, the new individual fitness that produces is calculated in variation, write down the highest all kinds of fitness, form set B ', as if B '==B, T++ then, otherwise B=B, T=O;
(4), all kinds of optimum individual enters the next generation with probability 1, other individuality is chosen from the old and new colony according to the roulette wheel method;
(5), if T>T
Max, then export the individuality of all fitness>δ among the B, algorithm stops.Otherwise change step (3).
6. according to the application based on the multi-target image recognition method of cluster genetic algorithm of claim 1, it is characterized in that:
On full-automatic bonding machine, obtain vision signal with CCD; The vision signal that obtains is passed to image card; Handle based on the multi-target image recognition method of cluster genetic algorithm by computer utility, for colony, at first utilize this rule to carry out cluster and form different microhabitats for each; Utilize in each microhabitat then and select, intersect, it is individual that mutagenic factor generates a new generation; Whole process iterates up to the absolute location coordinates that obtains chip bonding pad; Signal to motion controller then; Motion controller drives the high speed and precision motion of servomotor control X-Y worktable again, forms a closed-loop control system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510200637 CN1766907A (en) | 2005-10-24 | 2005-10-24 | Multi-target image recognition method based on cluster genetic algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510200637 CN1766907A (en) | 2005-10-24 | 2005-10-24 | Multi-target image recognition method based on cluster genetic algorithm |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1766907A true CN1766907A (en) | 2006-05-03 |
Family
ID=36742781
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200510200637 Pending CN1766907A (en) | 2005-10-24 | 2005-10-24 | Multi-target image recognition method based on cluster genetic algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1766907A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101882308A (en) * | 2010-07-02 | 2010-11-10 | 上海交通大学 | Method of Improving the Accuracy and Stability of Image Stitching |
CN101739566B (en) * | 2009-12-04 | 2012-01-04 | 重庆大学 | Self-adapting projection template method-based automobile plate positioning method |
CN102855473A (en) * | 2012-08-21 | 2013-01-02 | 中国科学院信息工程研究所 | Image multi-target detecting method based on similarity measurement |
CN104303193A (en) * | 2011-12-28 | 2015-01-21 | 派尔高公司 | Cluster-based Object Classification |
CN106022293A (en) * | 2016-05-31 | 2016-10-12 | 华南农业大学 | Pedestrian re-identification method of evolutionary algorithm based on self-adaption shared microhabitat |
CN110033027A (en) * | 2019-03-15 | 2019-07-19 | 深兰科技(上海)有限公司 | A kind of item identification method, device, terminal and readable storage medium storing program for executing |
CN110504176A (en) * | 2019-07-05 | 2019-11-26 | 长江存储科技有限责任公司 | Matching process, preparation method and the Related product of middle corresponding wafer is made in three-dimensional storage wafer bonding |
CN111597980A (en) * | 2018-12-17 | 2020-08-28 | 北京嘀嘀无限科技发展有限公司 | Target object clustering method and device |
CN112014409A (en) * | 2020-10-25 | 2020-12-01 | 西安邮电大学 | Method and system for detecting defects of semiconductor etching lead frame die |
-
2005
- 2005-10-24 CN CN 200510200637 patent/CN1766907A/en active Pending
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739566B (en) * | 2009-12-04 | 2012-01-04 | 重庆大学 | Self-adapting projection template method-based automobile plate positioning method |
CN101882308A (en) * | 2010-07-02 | 2010-11-10 | 上海交通大学 | Method of Improving the Accuracy and Stability of Image Stitching |
CN104303193B (en) * | 2011-12-28 | 2018-01-12 | 派尔高公司 | Target classification based on cluster |
CN104303193A (en) * | 2011-12-28 | 2015-01-21 | 派尔高公司 | Cluster-based Object Classification |
CN102855473B (en) * | 2012-08-21 | 2016-03-02 | 中国科学院信息工程研究所 | A kind of image multi-target detection method based on similarity measurement |
CN102855473A (en) * | 2012-08-21 | 2013-01-02 | 中国科学院信息工程研究所 | Image multi-target detecting method based on similarity measurement |
CN106022293A (en) * | 2016-05-31 | 2016-10-12 | 华南农业大学 | Pedestrian re-identification method of evolutionary algorithm based on self-adaption shared microhabitat |
CN106022293B (en) * | 2016-05-31 | 2019-05-07 | 华南农业大学 | A Pedestrian Re-identification Method Based on Adaptive Shared Niche Evolutionary Algorithm |
CN111597980A (en) * | 2018-12-17 | 2020-08-28 | 北京嘀嘀无限科技发展有限公司 | Target object clustering method and device |
CN111597980B (en) * | 2018-12-17 | 2023-04-28 | 北京嘀嘀无限科技发展有限公司 | Target object clustering method and device |
CN110033027A (en) * | 2019-03-15 | 2019-07-19 | 深兰科技(上海)有限公司 | A kind of item identification method, device, terminal and readable storage medium storing program for executing |
CN110504176A (en) * | 2019-07-05 | 2019-11-26 | 长江存储科技有限责任公司 | Matching process, preparation method and the Related product of middle corresponding wafer is made in three-dimensional storage wafer bonding |
CN110504176B (en) * | 2019-07-05 | 2020-05-12 | 长江存储科技有限责任公司 | Matching method and preparation method of corresponding wafers in bonding manufacture of three-dimensional memory wafers and related products |
CN112014409A (en) * | 2020-10-25 | 2020-12-01 | 西安邮电大学 | Method and system for detecting defects of semiconductor etching lead frame die |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1275187C (en) | Finger-print identifying method base on global crest line | |
CN101576956A (en) | On-line character detection method based on machine vision and system thereof | |
CN101079106A (en) | Different fingerprint sensor image information compatible fingerprint identification method | |
CN116630301A (en) | Strip steel surface small target defect detection method and system based on super resolution and YOLOv8 | |
CN1766907A (en) | Multi-target image recognition method based on cluster genetic algorithm | |
US6690819B1 (en) | Method and apparatus for recognizing components | |
CN113869418B (en) | Small sample ship target identification method based on global attention relation network | |
CN105574161A (en) | Trademark graph element identification method, device and system | |
CN1300833C (en) | Integrated circuit chips visual aligning method | |
CN112338898B (en) | Image processing method and device of object sorting system and object sorting system | |
CN110826571B (en) | Image traversal algorithm for rapid image identification and feature matching | |
CN105139508B (en) | A kind of method and device of detection bank note | |
Zheng et al. | GBCD-YOLO: A high-precision and real-time lightweight model for wood defect detection | |
CN1279600C (en) | On-line quality detection parameter analysis method | |
CN113808129B (en) | Effective detection method for confusing defects | |
CN118229609A (en) | Wafer defect detection method, device, equipment and system and storage medium | |
CN110866577B (en) | Two-dimensional code generation and identification method, storage medium, terminal and warehousing system | |
CN111604281A (en) | Part sorting method and system for rail transit | |
CN1035844C (en) | Method of sorting out candidate characters in character recognition system | |
CN108052587B (en) | Big data analysis method based on decision tree | |
CN109978844A (en) | One kind being based on the modular intelligent analysis method of deep learning and system | |
Liu et al. | Deep learning for picking point detection in dense cluster | |
CN110852995B (en) | Discrimination method of robot sorting system | |
CN118596124B (en) | Steel bottle inner wall processing robot | |
CN118735917B (en) | Intelligent food package defect detection system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |