CN104933705A - Slot hole detection method through time-space ring data structure and device thereof - Google Patents

Slot hole detection method through time-space ring data structure and device thereof Download PDF

Info

Publication number
CN104933705A
CN104933705A CN201510288931.0A CN201510288931A CN104933705A CN 104933705 A CN104933705 A CN 104933705A CN 201510288931 A CN201510288931 A CN 201510288931A CN 104933705 A CN104933705 A CN 104933705A
Authority
CN
China
Prior art keywords
point
template
distance
slotted eye
coordinate information
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.)
Granted
Application number
CN201510288931.0A
Other languages
Chinese (zh)
Other versions
CN104933705B (en
Inventor
卢金波
徐地华
许德平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanchang science and Technology Co., Ltd.
Original Assignee
Guangdong Zhengye Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Zhengye Technology Co Ltd filed Critical Guangdong Zhengye Technology Co Ltd
Priority to CN201510288931.0A priority Critical patent/CN104933705B/en
Publication of CN104933705A publication Critical patent/CN104933705A/en
Application granted granted Critical
Publication of CN104933705B publication Critical patent/CN104933705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

The embodiment of the invention discloses a slot hole detection method through a time-space ring data structure and a device thereof, and solves the technical problems that existing slot hole burr length detection cannot perform high-precision and high-efficiency slot hole detection. The method of the embodiment of the invention comprises the steps that S1: an acquisition image including a slot hole to be detected is acquired, and first coordinate information of the slot hole to be detected is confirmed; S2: first distance and first angles corresponding to points to be detected are confirmed according to the first coordinate information, and the slot hole to be detected includes plural points to be detected; and S3: a corresponding template point range is locked according to a second distance interval and a second angle interval confirmed by the first distance and the first angles so that template points closest to the points to be detected are positioned in the template point range, and the shortest distance is confirmed to be burr length of the points to be detected, wherein the template points are acquired by extracting the time-space ring data structure corresponding to a preset template image, and the time-space ring data structure is formed by point sets including plural template points.

Description

A kind of space-time loop data structure carries out method and the device of slotted eye detection
Technical field
The present invention relates to optical technology detection field, particularly relate to method and device that a kind of space-time loop data structure carries out slotted eye detection.
Background technology
Along with the fast development of IC industry, the requirement of PCB also improves day by day, especially the wiring board requirement technically for ultrathin type, small components, high density, thin space is also very high, it directly affects the quality of IC product, therefore, PCB verifier technology is arisen at the historic moment, and PCB verifier is a kind of system and device detected mainly for the slotted eye (comprising circular hole) in PCB (Printed Circuit Board, printed circuit board).
The design of current PCB and level of processing reach the technology that slotted eye aperture is little, position, hole is intensive, the scope of such as 0.1mm to 0.3mm, the detection of the slotted eye burr length of small-bore needs a large amount of calculating just, and accurate optics catches the burr length detection realizing slotted eye.
But, the above-mentioned detection due to slotted eye burr length needs a large amount of calculating, and accurate optics catches the burr length detection realizing slotted eye, detection efficiency being reduced widely when ensureing precision, not having more complete high precision and efficient slotted eye detection technique at present.
Therefore, high precision is carried out about how with regard to the detection of slotted eye burr length and efficient slotted eye detection technique problem becomes those skilled in the art's technical matters urgently to be resolved hurrily.
Summary of the invention
Embodiments provide method and device that a kind of space-time loop data structure carries out slotted eye detection, the detection solving current slotted eye burr length cannot carry out high precision and efficient slotted eye detection technique problem.
A kind of space-time loop data structure provided in the embodiment of the present invention carries out the method for slotted eye detection, comprising:
S1: obtain the collection image including slotted eye to be measured, and determine the first coordinate information of described slotted eye to be measured;
S2: determine first Distance geometry first angle corresponding with tested point according to described first coordinate information, described slotted eye to be measured includes a plurality of described tested point;
S3: the template point range that the second distance that the first angle is determined according to described first Distance geometry is interval and the second angular interval locking phase is corresponding, make the template point that location in described template point range is nearest with described tested point, and determine that nearest described distance is the burr length of described tested point;
Wherein, described template point obtains by extracting the corresponding space-time loop data structure of preset template image, and described space-time loop data structure is made up of the point set including a plurality of template point.
Preferably,
A plurality of described tested point has corresponding tested point grade by the first corresponding with it Distance geometry first angle; A plurality of described template point has corresponding template point grade by second distance corresponding with it and the second angle.
Preferably,
Step S3 specifically comprises:
Corresponding described template point grade is determined according to described tested point grade;
In described template point grade after determining, according to the nearest described template point between described first coordinate information location and described tested point, and determine that nearest described distance is the burr length of described tested point.
Preferably,
Described first distance is the distance of initial point of described tested point and described first coordinate information, described first angle be described tested point to described first coordinate information initial point between distance segment and the two-dimentional angle that formed of the forward X-coordinate axle of described first coordinate information.
Preferably,
Also comprise before step S1:
Obtain the described preset template image including template slotted eye, and determine the second coordinate information of described template slotted eye;
Set up according to described second coordinate information the described space-time loop data structure including the point set of a plurality of template point, a plurality of described template point all has corresponding second distance and the second angle;
Wherein, described second distance is the distance of the initial point of described tested point and described second coordinate information, described second angle be described tested point to described second coordinate information initial point between distance segment and the two-dimentional angle that formed of the forward X-coordinate axle of described second coordinate information.
Preferably,
Also comprise after step S3:
Circulation performs step S1 to step S3, and travel through all described tested points, determine the maximal value burr of the described burr of all described tested points, described maximal value burr is the thorn length that becomes mildewed most of slotted eye.
A kind of space-time loop data structure provided in the embodiment of the present invention carries out the pick-up unit of slotted eye detection, it is characterized in that, comprising:
First acquiring unit, for obtaining the collection image including slotted eye to be measured, and determines the first coordinate information of described slotted eye to be measured;
First determining unit, for first Distance geometry first angle corresponding according to described first coordinate information determination tested point, described slotted eye to be measured includes a plurality of described tested point;
Second determining unit, for the template point range that second distance is interval and the second angular interval locking phase is corresponding that the first angle according to described first Distance geometry is determined, make the template point that location in described template point range is nearest with described tested point, and determine that nearest described distance is the burr length of described tested point;
Wherein, described template point obtains by extracting the corresponding space-time loop data structure of preset template image, and described space-time loop data structure is made up of the point set including a plurality of template point.
Preferably,
Second determining unit specifically comprises:
First determines subelement, for determining corresponding described template point grade according to described tested point grade;
Locator unit, in the described template point grade after determining, according to the nearest described template point between described first coordinate information location and described tested point, and determines that nearest described distance is the burr length of described tested point.
Preferably,
The pick-up unit that space-time loop data structure carries out slotted eye detection also comprises second acquisition unit;
Described second acquisition unit specifically comprises:
3rd obtains subelement, for obtaining the described preset template image including template slotted eye, and determines the second coordinate information of described template slotted eye;
Second sets up subelement, and for setting up according to described second coordinate information the described space-time loop data structure including the point set of a plurality of template point, a plurality of described template point all has corresponding second distance and the second angle;
Wherein, described second distance is the distance of the initial point of described tested point and described second coordinate information, described second angle be described tested point to described second coordinate information initial point between distance segment and the two-dimentional angle that formed of the forward X-coordinate axle of described second coordinate information.
Preferably,
Described first distance is the distance of initial point of described tested point and described first coordinate information, described first angle be described tested point to described first coordinate information initial point between distance segment and the two-dimentional angle that formed of the forward X-coordinate axle of described first coordinate information.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
Method and device that a kind of space-time loop data structure carries out slotted eye detection is provided in the embodiment of the present invention, wherein, the method that space-time loop data structure carries out slotted eye detection comprises: S1: obtain the collection image including slotted eye to be measured, and determine the first coordinate information of slotted eye to be measured; S2: determine first Distance geometry first angle corresponding with tested point according to the first coordinate information, slotted eye to be measured includes a plurality of tested point; S3: the template point range that second distance is interval and the second angular interval locking phase is corresponding determined according to the first Distance geometry first angle, make the template point that location in template point range is nearest with tested point, and determine that nearest distance is the burr length of tested point; Wherein, template point obtains by extracting the corresponding space-time loop data structure of preset template image, and space-time loop data structure is made up of the point set including a plurality of template point.In the present embodiment, by first by first Distance geometry first angle corresponding according to the first coordinate information determination tested point, and the template point that the combination space-time loop data structure corresponding with preset template image obtains, determine the template point nearest with tested point, then determine that nearest described distance is the burr length of described tested point, just achieve high-precision slotted eye to detect, simultaneously, simple first Distance geometry first angle, nearest template point is determined with the comparison of second distance and the second angle, furthermore achieved that efficient slotted eye detects, the detection solving current slotted eye burr length cannot carry out high precision and efficient slotted eye detection technique problem.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 carries out the schematic flow sheet of an embodiment of the method for slotted eye detection for a kind of space-time loop data structure provided in the embodiment of the present invention;
Fig. 2 carries out the schematic flow sheet of another embodiment of the method for slotted eye detection for a kind of space-time loop data structure provided in the embodiment of the present invention;
The space-time loop data structure that Fig. 3 (a) to (d) is Fig. 2 carries out the detection schematic diagram of the method for slotted eye detection;
Fig. 4 carries out the structural representation of an embodiment of the device of slotted eye detection for a kind of space-time loop data structure provided in the embodiment of the present invention;
Fig. 5 carries out the structural representation of another embodiment of the device of slotted eye detection for a kind of space-time loop data structure provided in the embodiment of the present invention.
Embodiment
Embodiments provide method and device that a kind of space-time loop data structure carries out slotted eye detection, the detection solving current slotted eye burr length cannot carry out high precision and efficient slotted eye detection technique problem.
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, the embodiments described below are only the present invention's part embodiments, and the embodiment of not all.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, the embodiment that a kind of space-time loop data structure provided in the embodiment of the present invention carries out the method for slotted eye detection comprises:
S1: obtain the collection image including slotted eye to be measured, and determine the first coordinate information of slotted eye to be measured;
In the present embodiment, when needs carry out slotted eye detection to PCB time, need to obtain the collection image including slotted eye to be measured, and determine the first coordinate information of slotted eye to be measured.
It should be noted that, the collection image that aforesaid acquisition includes slotted eye to be measured can be obtained by camera or other equipment that can collect image, this collection image can be have a plurality of slotted eye to be measured, it is similar to AOI (optics Automatic Measurement Technique) that aforesaid camera or other equipment that can collect image obtain collection image, is no longer described in detail herein.
S2: determine first Distance geometry first angle corresponding with tested point according to the first coordinate information;
When obtaining the collection image including slotted eye to be measured, and after determining the first coordinate information with slotted eye to be measured, need first Distance geometry first angle corresponding according to the first coordinate information determination tested point, slotted eye to be measured includes a plurality of tested point, be understandable that, it is the first Distance geometry first angle that a plurality of tested point all possesses corresponding thereto that aforesaid a plurality of tested point all has the first corresponding Distance geometry first angle, and each first Distance geometry first angle is not for overlap.
S3: the template point range that second distance is interval and the second angular interval locking phase is corresponding determined according to the first Distance geometry first angle, make the template point that location in template point range is nearest with tested point, and determine that nearest distance is the burr length of tested point.
When first Distance geometry first angle corresponding according to the first coordinate information determination tested point, after slotted eye to be measured includes a plurality of tested point, need to determine corresponding second distance and the second angle according to the first Distance geometry first angle, make the template point location nearest with tested point, and determine that tested point is the burr of template point.
In the present embodiment, the template point of locating in aforesaid template point range obtains by extracting the corresponding space-time loop data structure of preset template image, space-time loop data structure is made up of the point set including a plurality of template point, space-time loop data structure will be described in detail in subsequent embodiment, repeat no more herein, be understandable that, aforesaid a plurality of template point can be quantitatively consistent with a plurality of tested point, also can be inconsistent, specifically not limit herein.
Should be noted that, the space-time loop data structure in the present embodiment and space-time loop data structure can be two-dimensional space or hyperspace.
In the present embodiment, by first by first Distance geometry first angle corresponding according to the first coordinate information determination tested point, and the template point that the combination space-time loop data structure corresponding with preset template image obtains, determine the template point nearest with tested point, then determine that nearest distance is the burr length of tested point, just achieve high-precision slotted eye to detect, simultaneously, simple first Distance geometry first angle, nearest template point is determined with the comparison of second distance and the second angle, furthermore achieved that efficient slotted eye detects, the detection solving current slotted eye burr length cannot carry out high precision and efficient slotted eye detection technique problem.
The above is described in detail the method that space-time loop data structure carries out slotted eye detection, be described in detail to the foundation of step S3 and space-time loop data structure below, refer to Fig. 2, another embodiment that a kind of space-time loop data structure provided in the embodiment of the present invention carries out the method for slotted eye detection comprises:
201, obtain the preset template image including template slotted eye, and determine the second coordinate information of template slotted eye;
In the present embodiment, before needs carry out slotted eye detection to PCB, need to set up space-time loop data structure, first need to obtain the preset template image including template slotted eye, and determine the second coordinate information of template slotted eye.
The preset template image that aforesaid acquisition includes template slotted eye can be that camera or other equipment that can collect image gather, or by reading data, then carry out relevant treatment and obtain, this relevant treatment is AOI technology, be technology as well known to those skilled in the art, repeat no more herein.
Aforesaid space-time loop data structure possesses the second coordinate information, can be the two-dimensional space coordinate of template slotted eye, or hyperspace coordinate.
202, set up the space-time loop data structure including the point set of a plurality of template point according to the second coordinate information, a plurality of template point all has corresponding second distance and the second angle;
When obtaining the preset template image including template slotted eye, and after determining the second coordinate information of template slotted eye, need to set up according to the second coordinate information the space-time loop data structure including the point set of a plurality of template point, a plurality of template point all has corresponding second distance and the second angle, aforesaid a plurality of template point can be the point chosen that do not overlap at random, second distance is the distance of the initial point of tested point and the second coordinate information, second angle be tested point to the second coordinate information initial point between distance segment and the two-dimentional angle that formed of the forward X-coordinate axle of the second coordinate information, a plurality of template point has corresponding template point grade by second distance corresponding with it and the second angle, such as shown in Fig. 3 (a), one has the first point set P at two-dimensional space OXY, then can create space-time loop data structure A [M] [N], A [M] [N] has following feature:
A [M] [N] is the array of non-fundamental type, and wherein M represents and the progression that the distance of initial point O (0,0) divides, and N represents the progression of OXY coordinate system angular divisions.
Arbitrary element A [i] [j] (0≤i < M, the 0≤j < N) of A [M] [N] is also set (being likely empty set), and meets following relation:
P=∪ A [i] [j], namely the union of all elements A [i] [j] equals point set P;
wherein θ represents the angle of point (x, y) and initial point O line and forward reference axle OX, and L represents that each distance divides the length represented, k represents the angle that each angular divisions represents.Also namely, the distance of points all in A [i] [j] and initial point O (0,0) must in [j*k, (j+1) * k] interval, simultaneously must in [j*k, (j+1) * k] interval in the angle of OXY coordinate system.
As shown in Fig. 3 (a), all stains and a hollow dots form whole point set, it is 5 that distance divides progression M, angular divisions progression N is 20, then space-time loop data structure A [5] [20], wherein A [3] [2] comprise two stains and a hollow dots, the distance of each point is at [3*L, (3+1) * L) interval, what L represented is that unit divides the distance represented, also the radius of a circle of i.e. most inner face, can be suppose to be exactly 1, be then [3 between distance regions, 4)), angle is at [2*18, (2+1) * 18] in interval, (angle is divided into 20 parts, eachly be divided into 18 °), should be noted that, in fact the space-time loop data structure creating out is by grade classification, each element is a point set, such as A [3] [2] just have 3 points, also be that the distance of 3 some points is between 3 and 4, angle is between 36 ° and 54 ° simultaneously.
Aforesaid point set is efficient index data acquisition, such as, obtain the coordinate of certain template point according to the second coordinate information after, directly determines the index of this template point in space-time loop data structure.If template point is two-dimensional points (2.6,2.4) (the solid line non-filling point in Fig. 3 (a)), the distance being exactly so the initial point distance of distance the second coordinate information in space-time loop data structure is 3.5, the angle of the two dimension corresponding with the initial point of the second coordinate information about 42.71 °, inside point set, because elements A [3] [2] comprise all distances simultaneously angle point between 36 ° to 54 ° between 3 and 4, template point (2.6,2.4) belongs to elements A [3] [2].
203, obtain the collection image including slotted eye to be measured, and determine the first coordinate information of slotted eye to be measured;
In the present embodiment, when needs carry out slotted eye detection to PCB time, need to obtain the collection image including slotted eye to be measured, and determine the first coordinate information of slotted eye to be measured.
It should be noted that, the collection image that aforesaid acquisition includes slotted eye to be measured can be obtained by camera or other equipment that can collect image, this collection image can be have a plurality of slotted eye to be measured, it is similar to AOI (optics Automatic Measurement Technique) that aforesaid camera or other equipment that can collect image obtain collection image, is no longer described in detail herein.
204, first Distance geometry first angle corresponding with tested point is determined according to the first coordinate information;
When obtaining the collection image including slotted eye to be measured, and after determining the first coordinate information of slotted eye to be measured, need to determine first Distance geometry first angle corresponding with tested point according to the first coordinate information, slotted eye to be measured includes a plurality of tested point, be understandable that, it is the first Distance geometry first angle that a plurality of tested point all possesses corresponding thereto that aforesaid a plurality of tested point all has the first corresponding Distance geometry first angle, and each first Distance geometry first angle is not for overlap, a plurality of tested point has corresponding tested point grade by the first corresponding with it Distance geometry first angle, aforesaid first distance is the distance of the initial point of tested point and the first coordinate information, first angle be tested point to the first coordinate information initial point between distance segment and the two-dimentional angle that formed of the forward X-coordinate axle of the first coordinate information, such as shown in Fig. 3 (b), gather the first coordinate information OXY of the slotted eye to be measured of image, by setting up template image space-time loop data structure A [5] [20], gathering image after the positioning searching and coordinate transform of the slotted eye to be measured in early stage, then each tested point of this slotted eye to be measured is processed, be understandable that, aforesaid a plurality of template point can be quantitatively consistent with a plurality of tested point, also can be inconsistent, specifically do not limit herein.
Such as need to detect slotted eye B to be measured, first first registration carried out to collection image according to template image and/or rotate process, the template slotted eye A corresponding with B is found in template image, obtain the coordinate of certain tested point according to the first coordinate information after, directly determine the index of this tested point in space-time loop data structure.(2.8,2.5) (the dotted line non-filling point in Fig. 3 (b)), so in space-time loop data logic, distance the first origin distance is 3.75 exactly, with the initial point line of the first coordinate information and the forward reference X-axis angulation about 48.24 ° of the first coordinate.
205, corresponding template point grade is determined according to tested point grade;
When first Distance geometry first angle corresponding according to the first coordinate information determination tested point, after slotted eye to be measured includes a plurality of tested point, need to determine corresponding template point grade according to tested point grade, as shown in Fig. 3 (a) He Fig. 3 (b), because the first distance is 3.75, first angle is 48.24 °, can determine that second distance interval must comprise distance length 3.75, second angular interval must comprise angle 48.24 °, according to the explanation of 202, interval hunting zone P=∪ A [i] [j] determined with the second angular interval of second distance must comprise A [3] [2] (with reference to figure 3 (a)) of the second coordinate, such as hunting zone can be P=∪ A [i] [j] (2≤i < 4, 1≤j < 3), so P comprises A [2] [1], A [2] [2], A [3] [1] and A [3] [2] totally four elements, here we might as well suppose that P only comprises A [3] [2] elements.
206, in the template point grade after determining, according to the nearest template point between the first coordinate information and tested point, and determine that nearest distance is the burr length of tested point;
After determine corresponding template point grade according to tested point grade, need in the template point grade after determining, according to the nearest template point between the first coordinate information and tested point, and determine that nearest distance is the burr length of tested point, A [3] [2] of such as, A [3] [2] in Fig. 3 (b) and Fig. 3 (a), determine that hunting zone is after A [3] [2], according to the clock loop data structure that template image creates, take out three candidate template points wherein, calculate this three points and tested point (2.8 respectively, 2.5) distance between, nearest point is exactly template point (2.6, 2.4), the burr length of this point is tested point (2.8 simultaneously, 2.5) with template point (2.6, 2.4) distance value ( ( 2.8 - 2.6 ) 2 + ( 2.5 - 2.4 ) 2 ) &ap; 0.22 .
Should be noted that, the space-time loop data structure in the present embodiment can be two-dimensional space or hyperspace.
207, circulation performs step 204 to step 206, and travel through all tested points, determine the maximal value burr of the burr of all tested points, maximal value burr is the burr length of slotted eye to be measured.
When in the template point grade after determining, according to the nearest template point between the first coordinate information and tested point, and after determining that nearest distance is the burr length of tested point, circulation is needed to perform step 204 to step 206, travel through all tested points, determine the maximal value burr of the burr of all tested points, maximal value burr is the burr length of slotted eye to be measured, as shown in Fig. 3 (a) He Fig. 3 (b), obtain tested point (2.8, 2.5) burr is 0.22, if the burr of other tested point of slotted eye is all less than 0.22, then the burr of this slotted eye is exactly 0.22, aforesaid circulation performs step 204 to step 206, travel through all tested points, can be finally realize as shown in Fig. 3 (c) He Fig. 3 (d).
In the present embodiment, by first by first Distance geometry first angle corresponding according to the first coordinate information determination tested point, and the template point that the combination space-time loop data structure corresponding with preset template image obtains, determine the template point nearest with tested point, then determine that nearest distance is the burr length of tested point, just achieve high-precision slotted eye to detect, simultaneously, divide distance level scale and angle grade, effectively can reduce the scope of search pattern point, achieve efficient slotted eye to detect, the detection solving a large amount of slotted eye burr length at present cannot carry out high precision and efficient slotted eye detection technique problem.
Refer to Fig. 4, the embodiment that a kind of space-time loop data structure provided in the embodiment of the present invention carries out the device of slotted eye detection comprises:
First acquiring unit 401, for obtaining the collection image including slotted eye to be measured, and determines the first coordinate information of slotted eye to be measured;
First determining unit 402, for first Distance geometry first angle corresponding according to the first coordinate information determination tested point, slotted eye to be measured includes a plurality of tested point;
Second determining unit 403, for the template point range that second distance is interval and the second angular interval locking phase is corresponding determined according to the first Distance geometry first angle, make the template point that location in template point range is nearest with tested point, and determine that nearest distance is the burr length of tested point;
Wherein, template point obtains by extracting the corresponding space-time loop data structure of preset template image, and space-time loop data structure is made up of the point set including a plurality of template point.
The pick-up unit that space-time loop data structure in the present embodiment carries out slotted eye detection can be verifier, can also be a part for verifier, does not specifically limit herein.
In the present embodiment, by the first Distance geometry first angle that the first determining unit 402 is corresponding according to the first coordinate information determination tested point, slotted eye to be measured includes a plurality of tested point, what the second determining unit 403 combination space-time loop data structure corresponding with preset template image obtained has corresponding second distance and the second angle template point, determine the template point nearest with tested point, then determine that nearest distance is the burr length of tested point, just achieve high-precision slotted eye to detect, simultaneously, simple first Distance geometry first angle, nearest template point is determined with the comparison of second distance and the second angle, furthermore achieved that efficient slotted eye detects, the detection solving the slotted eye burr length of current small-bore cannot carry out high precision and efficient slotted eye detection technique problem.
The above is described in detail each unit that space-time loop data structure carries out the device of slotted eye detection, below sub-unit and extra cell are described in detail, refer to Fig. 5, another embodiment that a kind of space-time loop data structure provided in the embodiment of the present invention carries out the device of slotted eye detection comprises:
First acquiring unit 501, for obtaining the collection image including slotted eye to be measured, and determines the first coordinate information of slotted eye to be measured;
First determining unit 502, for first Distance geometry first angle corresponding according to the first coordinate information determination tested point, slotted eye to be measured includes a plurality of tested point;
Second determining unit 503, for determining corresponding second distance and the second angle according to the first Distance geometry first angle, make the nearest template point location with tested point, and determine that tested point is the burr of template point, first distance is the initial point distance of distance the first coordinate information, and the first angle is the angle of the two dimension corresponding with the initial point of the first coordinate information;
Second determining unit 503 can further include:
First determines subelement 5031, for determining corresponding template point grade according to tested point grade;
Locator unit 5032, in the template point grade after determining, according to the nearest template point between the first coordinate information and tested point, and determines that nearest distance is the burr length of tested point.
Wherein, the first distance is the distance of initial point of tested point and the first coordinate information, the first angle be tested point to the first coordinate information initial point between distance segment and the two-dimentional angle that formed of the forward X-coordinate axle of the first coordinate information.
The pick-up unit that space-time loop data structure carries out slotted eye detection also comprises second acquisition unit 504;
Second acquisition unit 504 specifically comprises:
3rd obtains subelement 5041, for obtaining the preset template image including template slotted eye, and determines the second coordinate information of template slotted eye;
Second sets up subelement 5042, and for setting up the space-time loop data structure including the point set of a plurality of template point according to the second coordinate information, a plurality of template point all has corresponding second distance and the second angle;
Wherein, second distance is the distance of the initial point of tested point and the second coordinate information, the second angle be tested point to the second coordinate information initial point between distance segment and the two-dimentional angle that formed of the forward X-coordinate axle of the second coordinate information.
The pick-up unit that space-time loop data structure in the present embodiment carries out slotted eye detection can be verifier, can also be a part for verifier, does not specifically limit herein.
In the present embodiment, by the first Distance geometry first angle that the first determining unit 502 is corresponding according to the first coordinate information determination tested point, slotted eye to be measured includes a plurality of tested point, what the second determining unit 503 combination space-time loop data structure corresponding with the preset template image that second acquisition unit 504 extracts obtained has corresponding second distance and the second angle template point, determine the template point nearest with tested point, then determine that nearest distance is the burr length of tested point, just achieve high-precision slotted eye to detect, simultaneously, simultaneously, divide distance level scale and angle grade, effectively can reduce the scope of search pattern point, achieve efficient slotted eye to detect, the detection solving a large amount of slotted eye burr length at present cannot carry out high precision and efficient slotted eye detection technique problem.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. space-time loop data structure carries out a method for slotted eye detection, it is characterized in that, comprising:
S1: obtain the collection image including slotted eye to be measured, and determine the first coordinate information of described slotted eye to be measured;
S2: determine first Distance geometry first angle corresponding with tested point according to described first coordinate information, described slotted eye to be measured includes a plurality of described tested point;
S3: the template point range that the second distance that the first angle is determined according to described first Distance geometry is interval and the second angular interval locking phase is corresponding, make the template point that location in described template point range is nearest with described tested point, and determine that nearest described distance is the burr length of described tested point;
Wherein, described template point obtains by extracting the corresponding space-time loop data structure of preset template image, and described space-time loop data structure is made up of the point set including a plurality of template point.
2. space-time loop data structure according to claim 1 carries out the method for slotted eye detection, it is characterized in that,
A plurality of described tested point has corresponding tested point grade by the first corresponding with it Distance geometry first angle;
A plurality of described template point has corresponding template point grade by second distance corresponding with it and the second angle.
3. space-time loop data structure according to claim 2 carries out the method for slotted eye detection, and it is characterized in that, step S3 specifically comprises:
Corresponding described template point grade is determined according to described tested point grade;
In described template point grade after determining, according to the nearest described template point between described first coordinate information location and described tested point, and determine that nearest described distance is the burr length of described tested point.
4. space-time loop data structure according to claim 1 carries out the method for slotted eye detection, it is characterized in that, described first distance is the distance of initial point of described tested point and described first coordinate information, described first angle be described tested point to described first coordinate information initial point between distance segment and the two-dimentional angle that formed of the forward X-coordinate axle of described first coordinate information.
5. space-time loop data structure as claimed in any of claims 1 to 4 carries out the method for slotted eye detection, it is characterized in that, also comprises before step S1:
Obtain the described preset template image including template slotted eye, and determine the second coordinate information of described template slotted eye;
Set up according to described second coordinate information the described space-time loop data structure including the point set of a plurality of template point, a plurality of described template point all has corresponding second distance and the second angle;
Wherein, described second distance is the distance of the initial point of described tested point and described second coordinate information, described second angle be described tested point to described second coordinate information initial point between distance segment and the two-dimentional angle that formed of the forward X-coordinate axle of described second coordinate information.
6. space-time loop data structure as claimed in any of claims 1 to 4 carries out the method for slotted eye detection, it is characterized in that, also comprises after step S3:
Circulation performs step S1 to step S3, and travel through all described tested points, determine the maximal value burr of the described burr of all described tested points, described maximal value burr is the burr length of described slotted eye to be measured.
7. space-time loop data structure carries out a pick-up unit for slotted eye detection, it is characterized in that, comprising:
First acquiring unit, for obtaining the collection image including slotted eye to be measured, and determines the first coordinate information of described slotted eye to be measured;
First determining unit, for determining first Distance geometry first angle corresponding with tested point according to described first coordinate information, described slotted eye to be measured includes a plurality of described tested point;
Second determining unit, for the template point range that second distance is interval and the second angular interval locking phase is corresponding that the first angle according to described first Distance geometry is determined, make the template point that location in described template point range is nearest with described tested point, and determine that nearest described distance is the burr length of described tested point;
Wherein, described template point obtains by extracting the corresponding space-time loop data structure of preset template image, and described space-time loop data structure is made up of the point set including a plurality of template point.
8. space-time loop data structure according to claim 7 carries out the pick-up unit of slotted eye detection, and it is characterized in that, the second determining unit specifically comprises:
First determines subelement, for determining corresponding described template point grade according to described tested point grade;
Locator unit, in the described template point grade after determining, according to the nearest described template point between described first coordinate information location and described tested point, and determines that nearest described distance is the burr length of described tested point.
9. the space-time loop data structure according to claim 7 or 8 carries out the pick-up unit of slotted eye detection, it is characterized in that, the pick-up unit that space-time loop data structure carries out slotted eye detection also comprises second acquisition unit;
Described second acquisition unit specifically comprises:
3rd obtains subelement, for obtaining the described preset template image including template slotted eye, and determines the second coordinate information of described template slotted eye;
Second sets up subelement, and for setting up according to described second coordinate information the described space-time loop data structure including the point set of a plurality of template point, a plurality of described template point all has corresponding second distance and the second angle;
Wherein, described second distance is the distance of the initial point of described tested point and described second coordinate information, described second angle be described tested point to described second coordinate information initial point between distance segment and the two-dimentional angle that formed of the forward X-coordinate axle of described second coordinate information.
10. space-time loop data structure according to claim 7 carries out the pick-up unit of slotted eye detection, it is characterized in that, described first distance is the distance of initial point of described tested point and described first coordinate information, described first angle be described tested point to described first coordinate information initial point between distance segment and the two-dimentional angle that formed of the forward X-coordinate axle of described first coordinate information.
CN201510288931.0A 2015-05-29 2015-05-29 A kind of space-time loop data structure carries out the method and device of slot detection Active CN104933705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510288931.0A CN104933705B (en) 2015-05-29 2015-05-29 A kind of space-time loop data structure carries out the method and device of slot detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510288931.0A CN104933705B (en) 2015-05-29 2015-05-29 A kind of space-time loop data structure carries out the method and device of slot detection

Publications (2)

Publication Number Publication Date
CN104933705A true CN104933705A (en) 2015-09-23
CN104933705B CN104933705B (en) 2018-07-06

Family

ID=54120859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510288931.0A Active CN104933705B (en) 2015-05-29 2015-05-29 A kind of space-time loop data structure carries out the method and device of slot detection

Country Status (1)

Country Link
CN (1) CN104933705B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111583222A (en) * 2020-04-30 2020-08-25 广东正业科技股份有限公司 Test point automatic positioning method, copper thickness automatic detection method and system
CN112529829A (en) * 2019-08-28 2021-03-19 银河水滴科技(北京)有限公司 Training method and device for burr positioning and burr detection model

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101793843A (en) * 2010-03-12 2010-08-04 华东理工大学 Connection table based automatic optical detection algorithm of printed circuit board
CN102202142A (en) * 2010-03-26 2011-09-28 鸿富锦精密工业(深圳)有限公司 Burr detection device and burr detection method
CN102721695A (en) * 2012-05-18 2012-10-10 深圳大学 Method for detecting printed circuit board defect

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101793843A (en) * 2010-03-12 2010-08-04 华东理工大学 Connection table based automatic optical detection algorithm of printed circuit board
CN102202142A (en) * 2010-03-26 2011-09-28 鸿富锦精密工业(深圳)有限公司 Burr detection device and burr detection method
CN102721695A (en) * 2012-05-18 2012-10-10 深圳大学 Method for detecting printed circuit board defect

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
乔闹生 等: "PCB显微图像缺陷圆孔检测方法研究", 《光电子 激光》 *
许德平: "印制电路板检孔机技术及突破", 《印刷电路信息》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112529829A (en) * 2019-08-28 2021-03-19 银河水滴科技(北京)有限公司 Training method and device for burr positioning and burr detection model
CN112529829B (en) * 2019-08-28 2024-04-19 银河水滴科技(北京)有限公司 Training method and device for burr positioning and burr detection model
CN111583222A (en) * 2020-04-30 2020-08-25 广东正业科技股份有限公司 Test point automatic positioning method, copper thickness automatic detection method and system
CN111583222B (en) * 2020-04-30 2024-01-02 广东正业科技股份有限公司 Automatic positioning method for test point, automatic copper thickness detection method and system

Also Published As

Publication number Publication date
CN104933705B (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN103994786B (en) Image detecting method for arc ruler lines of pointer instrument scale
WO2022151658A1 (en) Defect detection method and apparatus, and computer device and computer-readable storage medium
CN105654507B (en) A kind of vehicle overall dimension measurement method based on the tracking of image behavioral characteristics
CN103645890A (en) Method and device for positioning control part in graphical user interface
CN112336342B (en) Hand key point detection method and device and terminal equipment
JP2019145085A (en) Method, device, and computer-readable medium for adjusting point cloud data acquisition trajectory
CN109583504B (en) Visual sense-based method for quickly and accurately identifying circular positioning hole of PCB
US20220163686A1 (en) Method and Apparatus for Identifying Location Spectrum, and Computer Storage Medium
US20200096638A1 (en) Method and apparatus for acquiring depth image, and electronic device
US11536866B2 (en) Diffracted wave imaging method, device and electronic apparatus
KR102224936B1 (en) Learning apparatus and method for detecting features in an extended region for object recognition and computer readable medium having computer program recorded therefor
CN104050660A (en) Method for measuring workpiece round edges
CN104933705A (en) Slot hole detection method through time-space ring data structure and device thereof
CN112991327B (en) Steel grid welding system, method and terminal equipment based on machine vision
CN105631846A (en) Detection method for circular figure
CN117495891A (en) Point cloud edge detection method and device and electronic equipment
CN112200838A (en) Projectile trajectory tracking method, device, equipment and storage medium
CN108427110A (en) Distance measuring method, device and electronic equipment
CN104637781A (en) Method of generating process for positioning wafer on processing machine table
CN105809694A (en) Image data processing method and device
CN111929694B (en) Point cloud matching method, point cloud matching equipment and storage medium
CN105427328B (en) The mutual information method for registering images and device of a kind of DNA sequencing
CN113538384A (en) Feature positioning method and device
JP7138473B2 (en) Label extraction program and label extraction device
CN110647826A (en) Method and device for acquiring commodity training picture, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180321

Address after: 331722 Industrial Road No. 16, Nanchang, Jinxian County, Jinxian County, Jiangxi

Applicant after: Nanchang science and Technology Co., Ltd.

Address before: Science and technology Songshan Lake Science and Technology Industrial Park in Guangdong province Dongguan City nine road 523808 No. 2

Applicant before: Guangdong Zhengye Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant