KR101681149B1 - Apparatus and method for generating calibration element that is used to correct alignment of products - Google Patents
Apparatus and method for generating calibration element that is used to correct alignment of products Download PDFInfo
- Publication number
- KR101681149B1 KR101681149B1 KR1020150044336A KR20150044336A KR101681149B1 KR 101681149 B1 KR101681149 B1 KR 101681149B1 KR 1020150044336 A KR1020150044336 A KR 1020150044336A KR 20150044336 A KR20150044336 A KR 20150044336A KR 101681149 B1 KR101681149 B1 KR 101681149B1
- Authority
- KR
- South Korea
- Prior art keywords
- image
- product
- angle
- standard pattern
- processing unit
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/26—Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
Abstract
The present invention can be used to correct the alignment of a product, which can increase the processing speed and reduce the error rate of the alignment by quickly and accurately generating the corrective elements necessary for alignment by selecting the position or standard position of the marker imprinted on the product And a method thereof. An apparatus for generating a correction factor used for correcting alignment of a product according to the present invention includes an image input unit configured to receive an image of a product through a camera and generate a digital image; (Histogram) of a standard pattern by inputting an image of a product whose position and angle are corrected from the image input unit, receiving an image of a product to be corrected for position and angle, receiving an image of a product to be corrected for position and angle, An image processing unit configured to calculate a correction element for correction (coordinates and angle of a standard pattern); And an image position selection unit configured to select a position of an image processed in the image processing unit.
Description
The present invention relates to an apparatus and a method for generating a correction element (i.e., an angle and a coordinate of a standard pattern) used for alignment of a product used before and after a production process of a product, A correction factor generating device used for correcting an alignment of a product, which can improve the processing speed and reduce the error rate of the alignment by quickly and accurately generating the correction factor necessary for alignment by selecting the position of the marker or the standard position ≪ / RTI >
As the industry develops, the production system is also developing. The core technologies of the production system are machine vision technology, industrial robot control technology, industrial PC technology, PLC (programmable logic controller) technology and sensor technology . ≪ / RTI > Among them, machine vision technology is an important technology that can reduce production cost of production system or improve productivity. Machine vision technology can be categorized into two technologies before and after product production. The first is the technology that corrects the position of the product used in the production process, and the second is the technology that identifies the failure of the product. The common core technology of both technologies is the alignment correction technique, which utilizes markers on the product or corrects the angle and position of the product using a unique pattern (standard position) present in the product Technology. An important factor in alignment technology is accuracy and processing speed. Accuracy is to determine the exact angle and position of the input product, and in the case of processing speed it is time to determine the exact angle and position.
The conventional alignment calculation method includes, for example, a method of averaging the alignment mark measurement values of each layer, a method of converting the alignment mark measurement values of each layer into a certain ratio, And a method of selectively selecting only a specific axis value of the alignment mark.
However, in such a conventional alignment calculation method, in order to reduce the error rate, a large number of mark measurement values should be averaged to increase the accuracy. As the number of mark measurement values increases, the calculation speed of the alignment becomes slower and ultimately, Causing it to deteriorate.
SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a method and apparatus for correcting alignment of a product, And a method for generating the same.
According to an aspect of the present invention, there is provided an apparatus for generating a correction factor used for correcting alignment of a product according to an embodiment of the present invention includes an image input unit configured to receive an image of a product through a camera and generate a digital image; (Histogram) of a standard pattern by inputting an image of a product whose position and angle are corrected from the image input unit, receiving an image of a product to be corrected for position and angle, receiving an image of a product to be corrected for position and angle, An image processing unit configured to calculate a correction element for correction (coordinates and angle of a standard pattern); And an image position selection unit configured to select a position of an image processed in the image processing unit.
The correction factor generating device used for correcting the alignment of the product according to the embodiment may further include a display unit configured to display the correction factor calculated by the image processing unit.
The correction factor generation device used for correcting the alignment of the product according to the embodiment may further include a communication module configured to interface with the image processing part and the LAN or the USB port.
In the correction factor generation device used for correcting the alignment of the product according to the embodiment, the image processing unit may be configured to receive the image of the product whose position and angle are corrected through the image input unit, When the standard position or the position of the marker is selected, the coordinates and size of the selected position and the image arrangement are generated and the characteristic of the standard pattern is extracted while rotating the selected image a plurality of times in the setting angle range in the setting angle range, When an image of a product to be corrected for position and angle is input, a plurality of candidates are selected using a Naive Template Matching method, and the representative coordinates of each cluster are obtained by clustering the selected plurality of candidates , The feature (histogram) of the extracted standard pattern among the representative coordinates, A coordinate having a high degree of similarity to the coordinates of the selected standard pattern among the feature vectors of the extracted plurality of standard patterns may be selected and selected as an angle of the standard pattern have.
According to another aspect of the present invention, there is provided a correction element generation method for correcting an alignment of a product according to another embodiment of the present invention, A feature extraction step of extracting a feature (histogram) of a standard pattern; A correction element calculating step of calculating a correction element (coordinate and angle of a standard pattern) for alignment correction by using an image of a product to be corrected in position and angle from the image input unit by using the feature of the extracted standard pattern, ; And a display step of displaying the correction factor through a display unit.
In the correction element generating method used for correcting the alignment of the product according to the another embodiment, the feature pattern extracting step of the standard pattern includes a step of inputting an image of a product whose position and angle are corrected from the image inputting section, Selecting a standard position or a marker position in the image by the position selection unit, generating the coordinates and size of the selected position and the image arrangement, and the image processing unit selecting the selected image in the set angle range Determining whether the selected image position is within the set angle range; and determining whether the selected image position is within the set angle range; If the selected image position is within the set angle range, the controller proceeds to the rotating step. Otherwise, the controller proceeds to the correction element calculating step if the selected image position is not within the set angle range.
The correcting element calculating step may include a step of inputting an image of a product to be corrected in position and angle through the image input unit, Selecting a plurality of candidates using a processing unit nave template matching method, the image processing unit clustering the selected plurality of candidates to obtain representative coordinates of clusters, and the image processing unit extracts the representative coordinates Selecting a coordinate having a high degree of similarity with the feature of the standard pattern and selecting the coordinate having the high degree of similarity with the coordinates of the standard pattern, And selecting an angle of the standard pattern.
According to the correction-element generating apparatus and method used for correcting the alignment of the product according to the embodiments of the present invention, in calculating the correction factor for alignment correction, the candidate selected from the image to be corrected is clipped, Since the correction factor (coordinates and angle of the standard pattern) is selected after acquiring the representative coordinates, the correction factor required for alignment can be generated quickly and accurately, so that the error rate of the alignment can be increased while maintaining a low value have.
1 is a detailed circuit diagram showing a correction element generating apparatus used for correcting alignment of a product according to an embodiment of the present invention.
FIGS. 2A and 2B are flowcharts for explaining a correction element generating method used to correct alignment of a product according to an embodiment of the present invention.
FIG. 3 is a diagram showing a case where candidate candidates having high similarity are used at one point when all n candidates are used.
4 is a diagram showing a clustering process of candidates.
5 is a table showing the processing speed and the error rate when the correction elements are selected without clustering the candidates selected from the image to be corrected.
6 is a graph showing average processing time when clustering is applied to 20 candidates.
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
1 is a detailed circuit diagram showing a correction element generating apparatus used for correcting alignment of a product according to an embodiment of the present invention.
1, the correction-element generating apparatus used for correcting alignment of a product according to an exemplary embodiment of the present invention includes an
The
The
The video
The
The
Although the
A method of generating a correction element using a correction element generating apparatus used for correcting alignment of a product according to an embodiment of the present invention will be described with reference to the drawings.
2A and 2B are flowcharts for explaining a correction element generating method used for correcting alignment of a product according to an embodiment of the present invention, where S denotes a step.
The correction factor generation method used for correcting the alignment of the product according to the embodiment of the present invention is a correction factor generation method in which the
[Feature extraction step of standard pattern]
The
Next, the user selects a standard position (e.g., a position of a unique pattern) or a marker position in the image using the image position selection unit 110 (S20).
The
Subsequently, the
If it is determined in step S60 that the image position is within the set angle range (YES), the process proceeds to step S40, whereas if the image position is outside the set angle range (NO), the process proceeds to the next step.
[Calculation element calculating step]
The
Subsequently, the plurality of candidates selected in step S80 are clustered to obtain the representative coordinates of each cluster (S100).
The clustering process will be described in more detail. As shown in FIG. 4, if the x-axis distance and the y-axis distance of each candidate are calculated and included in the same cluster if the distance is smaller than the threshold value, If they are larger, they are assigned to different clusters. For example, assuming that there are k candidates in one cluster, there are k co-ordinates due to k candidates in one cluster. The degree of similarity is used to select representative coordinates from the k coordinates. If a cluster is composed of two coordinates, the coordinates of the first candidate are (10, 10) and the similarity of the second candidate is (11, 11) is 95% Since the similarity is better, the representative coordinate of the cluster is (10, 10).
Next, the
Then, the
[Display step]
The
FIG. 5 is a table showing the accuracy when correcting elements are selected without clustering selected candidates in the image to be corrected. When the number of candidates is 20, the processing time is 7s 203ms and the average error rate is 0.00. Meanwhile, FIG. 6 is a graph showing the average processing time when clustering is applied to 20 candidates, and the average processing time is 0.75 to 4 s. Thus, it can be seen that the average error rate is significantly reduced while maintaining the pre-clustering value.
According to the correction element generation apparatus and method used for correcting the alignment of the product according to the embodiment of the present invention, in calculating the correction factor for alignment correction, the candidates selected from the images to be corrected are clipped, (Coordinates and angles of the standard pattern) after acquiring the coordinates, it is possible to quickly and accurately generate the correction elements required for alignment, thereby improving the processing speed while maintaining a low error rate of the alignment .
Although the best mode has been shown and described in the drawings and specification, certain terminology has been used for the purpose of describing the embodiments of the invention and is not intended to be limiting or to limit the scope of the invention described in the claims. It is not. Therefore, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the scope of the present invention. Accordingly, the true scope of the present invention should be determined by the technical idea of the appended claims.
100: image input unit 110: image position selection unit
200: image processing unit 310:
320: Communication module
Claims (7)
The image of the product for which the position and the angle are corrected is extracted from the image input unit, the feature of the standard pattern is extracted, the image of the product to be corrected for the position and the angle is input, An image processing unit configured to calculate a correction factor; And
And a video position selection unit configured to select a position of an image to be processed in the image processing unit, the correction factor generation device being used for correcting the alignment of the product.
And a display unit configured to display a correction factor calculated by the image processing unit, wherein the correction unit is used to correct the alignment of the product.
Further comprising a communication module configured to interface the image processing unit with a LAN or a USB port, wherein the calibration module is used to correct alignment of the product.
Wherein the image processing unit comprises:
When an image of a product whose position and angle are corrected through the image input unit is input and the standard position or the position of the marker is selected by the image position selection unit, coordinates and size of the selected position and an image arrangement are generated, Extracting a feature of a standard pattern while rotating a plurality of times in a set unit in an angle range, selecting a plurality of candidates using a nave template matching method when an image of a product to be corrected for position and angle is input through the image input unit, Selecting representative coordinates of representative clusters by selecting a coordinate having a high degree of similarity with the extracted characteristic of the standard pattern and selecting the coordinates as a standard pattern coordinate by clustering the selected plurality of candidates, A vector having a similarity to the coordinate of the selected standard pattern is selected A correction factor generator configured to select an angle of the standard pattern to correct an alignment of the product.
A correction element calculating step of calculating a correction factor for alignment correction using a feature of the extracted standard pattern, the image processing part receiving an image of a product to be corrected in position and angle from the image input part; And
And a display step of displaying the correction factor through a display unit, wherein the correction factor is used to correct an alignment of a product.
Wherein the step of extracting features of the standard pattern comprises:
A step of inputting an image of a product whose position and angle are corrected from the image input unit,
Selecting a standard position or a marker position in the image by a video position selection unit,
The image processing unit generates coordinate and size of the selected position and an image arrangement,
The image processing unit rotating the selected image in a setting unit in a set angle range, and
Wherein the image processing unit determines whether the selected image position is within the set angle range;
In the determining step, if the selected image position is within the set angle range, the process proceeds to the rotating step, while if the selected image position is not within the set angle range, the process proceeds to the correction factor calculating step. A method of creating a correction factor for use.
Wherein the correcting element calculating step includes:
Inputting an image of a product to be corrected in position and angle through the image input unit,
Selecting a plurality of candidates using the image template matching method,
The image processing unit clustering the selected plurality of candidates to obtain representative coordinates of each cluster,
Wherein the image processing unit selects a coordinate having a high degree of similarity with a feature of the extracted standard pattern among the representative coordinates and selects the coordinate as a standard pattern,
Wherein the image processing unit selects a vector having a degree of similarity with the coordinates of the selected standard pattern among the extracted feature vectors of the plurality of standard patterns to select an angle of the standard pattern. A method of generating a correction factor to be used.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150044336A KR101681149B1 (en) | 2015-03-30 | 2015-03-30 | Apparatus and method for generating calibration element that is used to correct alignment of products |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150044336A KR101681149B1 (en) | 2015-03-30 | 2015-03-30 | Apparatus and method for generating calibration element that is used to correct alignment of products |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20160117690A KR20160117690A (en) | 2016-10-11 |
KR101681149B1 true KR101681149B1 (en) | 2016-12-15 |
Family
ID=57161946
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150044336A KR101681149B1 (en) | 2015-03-30 | 2015-03-30 | Apparatus and method for generating calibration element that is used to correct alignment of products |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101681149B1 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100679054B1 (en) | 2006-02-15 | 2007-02-06 | 삼성전자주식회사 | Apparatus and method for displaying three-dimensional image |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101253283B1 (en) * | 2011-08-16 | 2013-04-10 | 한국과학기술연구원 | Method and system for reconstructing zoom-in image having high resolution |
-
2015
- 2015-03-30 KR KR1020150044336A patent/KR101681149B1/en active IP Right Grant
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100679054B1 (en) | 2006-02-15 | 2007-02-06 | 삼성전자주식회사 | Apparatus and method for displaying three-dimensional image |
Also Published As
Publication number | Publication date |
---|---|
KR20160117690A (en) | 2016-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106097361B (en) | Defect area detection method and device | |
CN111028213A (en) | Image defect detection method and device, electronic equipment and storage medium | |
JP2017091079A5 (en) | ||
US8780223B2 (en) | Automatic determination of compliance of a part with a reference drawing | |
US10430650B2 (en) | Image processing system | |
CN108573471B (en) | Image processing apparatus, image processing method, and recording medium | |
CN105424190A (en) | Grayscale detection method of product appearance | |
CN106815444B (en) | Method for automatically measuring distance between PCB (printed circuit board) drawing components | |
TW201516969A (en) | Visual object tracking method | |
JP5914732B2 (en) | Image verification method, image verification apparatus, and program | |
CN105823504A (en) | Zero-point-crossing processing method of encoder | |
JP5469532B2 (en) | Image processing apparatus, image processing method, and computer program | |
Zhang et al. | A new algorithm for accurate and automatic chessboard corner detection | |
CN108627103A (en) | A kind of 2D laser measurement methods of parts height dimension | |
CN111199533B (en) | Image processing apparatus and method | |
KR101681149B1 (en) | Apparatus and method for generating calibration element that is used to correct alignment of products | |
CN111507949A (en) | Chip identification method based on vision | |
KR102099112B1 (en) | Method of teaching for electronic parts information | |
US20150227811A1 (en) | Image processing device, image processing method, and image processing program | |
CN111380474A (en) | Aperture detection method based on binocular vision | |
KR101559941B1 (en) | A system for detecting fault of print pattern | |
US10599710B2 (en) | System and method for generating digital information and altering digital models of components with same | |
US20150317779A1 (en) | Image processing system, image processing method, and computer program product | |
CN116894939B (en) | Regional positioning method and device for special-shaped screen, electronic equipment and storage medium | |
KR20170094709A (en) | Apparatus and method for detecting feature of circle object |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
FPAY | Annual fee payment |
Payment date: 20190905 Year of fee payment: 4 |