Method for positional matching of images and system for testing products by using the same
First Claim
1. A method for positional matching of images, wherein image data of two images of an identical picture pattern are compared by using image data of one of the images as reference data, and positional shifting between the two images is compensated for when determining an identity of the images according to computed differences between them, characterized by that:
- as ahorizontal scan line or a group of horizontal scan lines from an image are sequentally transfered, a positional shifting computing process and a positional matching compensation process based on the computed shifting are performed for each line block such that the position shifting computed by the positional shifting computing process for one line block may be different from the positional shifting computed for another line block, wherein a line block includes a single horizontal scan line or a predetermined number of consecutive horizontal scan lines with respect to the two images of a normally identical image pattern;
wherein if the positional shifting computed for a certain line block is greater than the preceding line block by more than a threshold value, the positional shifting of the certain line block is set equal to predetermined value.
3 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides an image matching method which allows non-ear image positional shifts to be corrected on a real time basis, and an economical product testing system using this method. A two dimensional test image, consisting of pixels arranged as a matrix of bits distributed in both the vertical direction and the horizontal scanning direction, and an associated reference image are subjected to template matching at a cell matching arithmetic unit for each of line blocks consisting of a plurality of scan lines. The result of the template matching are quantitatively evaluated at an evaluation unit as being good or bad, and positional shifts are sequentially computed according to good evaluation results. Based on the positional shifts thus obtained, the comparative pixel addresses are accordingly corrected before the two images are compared at the comparator.
-
Citations
12 Claims
-
1. A method for positional matching of images, wherein image data of two images of an identical picture pattern are compared by using image data of one of the images as reference data, and positional shifting between the two images is compensated for when determining an identity of the images according to computed differences between them, characterized by that:
-
as ahorizontal scan line or a group of horizontal scan lines from an image are sequentally transfered, a positional shifting computing process and a positional matching compensation process based on the computed shifting are performed for each line block such that the position shifting computed by the positional shifting computing process for one line block may be different from the positional shifting computed for another line block, wherein a line block includes a single horizontal scan line or a predetermined number of consecutive horizontal scan lines with respect to the two images of a normally identical image pattern; wherein if the positional shifting computed for a certain line block is greater than the preceding line block by more than a threshold value, the positional shifting of the certain line block is set equal to predetermined value. - View Dependent Claims (2, 3, 4)
-
-
5. A method for positional matching of images, wherein image data of two images of an identical picture pattern are compared by using image data of one of the images as reference data, and positional shifting between the two images is compensated for when determining an identity of the two images according to computed differences between them, characterized by that:
-
as a horizontal scan line or a group of horizontal scan lines from an image are sequentially transferred, a positional shifting computing process and a positional matching compensation process based on the computed shifting are performed for each line block such that the positional shifting computed by the positional shifting computing process for one line block may be different from the positional shifting computed for another line block, wherein a line block includes a single horizontal scan line or a predetermined number of consecutive horizontal scan lines with respect to the two images of a nominally identical image pattern; wherein the positional shifting computing process comprises the steps of; dividing each line block of the reference image into a number of cells; conducting a template matching on the reference image by using the cells as templates; selecting those cells which are effective in computing positional shifting by quantitatively evaluating the results of the template matching; classifying the selected cells into x-, y-, and xy- cells as those which are effective in detecting the shifting in x, y and both x and y directions, respectively, and registering them as such; and conducting a template matching with respect to the other image by using the registered selected cells as templates, and computing positional shifting of the other image according to the result of the template matching. - View Dependent Claims (6)
-
-
7. A system for testing products by positional matching of images, comprising:
-
image capturing means for sequentially entering a horizontal scan line or a group of horizontal scan lines of an image of a product to be tested; positional shifting computing means for computing positional shifting of an image based on cell matching conducted for each line block, each line block consisting of a prescribed number of adjacent horizontal scan lines of a test image and a reference image, the positional shifting computing means computing a positional shifting for each line block which may be different from the positional shifting computed for another line block, wherein if the positional shifting computed for a certain line block is greater than the preceding line block by more than a threshold value, the positional shifting of the certain line block is set equal to a predetermined value; compensating means for compensating the positional shifting of the test image with respect to the reference image according to the positional shifting computed by the positional shifting computing means; difference computing means for comparing the test image, for which the positional shifting was compensated, with the reference image and obtaining differences between them; and judging means for judging whether each product is detective or not by determining the identity of the two images according to the computed differences between them; the positional shifting of each line block being compensated for before determining the identity of the two images. - View Dependent Claims (8, 9, 10)
-
-
11. A system for testing products by positional matching of images, comprising:
-
image capturing means for sequentially entering a horizontal scan line or a group of horizontal scan lines of an image of a product to be tested; positional shifting computing means for computing positional shifting of an image based on cell matching conducted for each line block, each line block consisting of a prescribed number of adjacent horizontal scan lines of a test image and a reference image, the positional shifting computing means computing a positional shifting for each line block which may be different from the positional shifting computed for another line block; compensating means for compensating the positional shifting of the test image with respect to the reference image according to the positional shifting computed by the positional shifting computing means; difference computing means for comparing the test image, for which the positional shifting was compensated, with the reference image and obtaining differences between them; and judging means for judging whether each product is defective or not by determining the identity of the two images according to the computed differences between them; the positional shifting of each line block being compensated for before determining the identity of the two images; wherein the positional shifting computing means comprises; dividing means for dividing each line block of the reference image into a number of cells; reference template pattern matching means for conducting a template matching on the reference image by using the cells as templates; selecting means for selecting those cells which are effective in computing positional shifting by quantitatively evaluating the results of the template matching; classification means for classifying the selected cells into x-, y- and xy- cells as those which are effective in detecting the shifting in x, y and both x and y directions, respectively, and registering them as such; and test template pattern matching means for conducting a template matching with respect to the other image by using the registered selected cells as templates, and computing positional shifting of the other image according to the result of the template matching. - View Dependent Claims (12)
-
Specification