Automatic Feature Region Searching Algorithm for Image Registration in Printing Defect Inspection Systems
Abstract
:1. Introduction
- (1)
- An automatic feature region searching algorithm based on a combination of contour point distribution information and edge gradient direction information for image registration in printing defect detection systems was proposed for the first time. Despite the real-time requirements, the proposed algorithm is not complicated, and it solves the problems in printing defect inspection systems, such as low efficiency and inconsistent standards in the manual selection of registration feature regions.
- (2)
- We innovatively described the elements of a good shape for registration and proposed good feature shape region searching algorithms using contour and edge gradient direction information. The descriptions of good shapes are discussed in Section 2.2.1.
- (3)
- The registration feature region searching algorithm can be implemented on the basis of the region partition of printed images. Doing so can resolve uniform paper deformation, rotation, and registration errors. In the printing process, the paper may show minimal deformation, shift, or rotation. The deformation of each part of the paper after printing varies. In image registration, the adoption of the same transformation parameter in a whole printed image easily results in the partial registration of areas and obvious errors. The method is described in Section 3.2.
- (4)
- This study proposes not only a registration feature region determination strategy for subregions based on region partition but also a feature region searching method associated with neighborhood subregions. In the actual automatic feature region searching process, some subregions may not have stable registration feature regions. The proposed feature region searching method associated with neighborhood subregions can address this problem.
2. Methodology
2.1. Description of the Problem
2.2. Shape Feature Analysis and Flow of Feature Shape Region Searching Algorithm
2.2.1. Shape Feature Analysis
- (1)
- The ideal shape should be a completely closed contour, that is, the contour points should be distributed in all direction bins.
- (2)
- The closed shape contour should include approximately vertical and horizontal line points, that is, the gradient directions of 0°, 90°, 180°, and 270° have abundant edge points.
- (3)
- Aside from the vertical and horizontal edge points, a good shape contour should have rich edge gradient information. In addition to the edge points in the horizontal and vertical directions, the shape contour should have many changes in contour edge direction and shape. The distribution of edge points in each gradient direction should be uniform.
2.2.2. Flow of Proposed Feature Shape Region Searching Algorithm for Image Registration
- (1)
- Prior to the implementation of the good shape searching algorithm, all shapes in the printed image should be extracted. The step is called the preliminary shape extraction. In this step, all the shapes are preprocessed, and the shape with the appropriate size is selected. The shape regions that are too small or too large are removed because excessively small shape feature affects the accuracy of image registration and an oversized shape greatly reduces the speed of the process. During the preliminary shape extraction process, we implement a series of processes on the printed images captured online. First, the adaptive segmentation of the captured image is performed, and a connected region analysis is conducted to remove the regions that are excessively small and large. Second, the shape extraction method similar to Canny edge detection is performed, and a high and low threshold idea similar to the hysteresis threshold method is used to exclude the partially inconspicuous edge contour shape. At the same time, the initially extracted shapes are recorded, and each shape is given a label number for the subsequent steps of further searching for a good shape region.
- (2)
- The shape feature region is searched on the basis of the contour point distribution information (Section 2.3). In this step, the shape, including the edge points in several direction bins, is retained, and the shape contours that do not satisfy the judgment condition are eliminated.
- (3)
- The shape feature region is searched on the basis of the histogram information of the edge gradient direction (Section 2.4). In this step, the shape that includes several contour edge points in four main gradient directions and contour edge points that are evenly distributed in other gradient directions is retained. The shape contours that do not satisfy the judgment condition are eliminated.
- (4)
- The contour point distribution information and the edge gradient histogram information are combined to propose an improved automatic feature region searching algorithm for image registration in printing defect inspection systems. The detailed description is provided in Section 2.5.
2.3. Shape searching Algorithm Based on Contour Point Distribution Information
2.3.1. Algorithm Description
2.3.2. Experimental Results and Analysis
2.4. Shape Searching Algorithm Based on Edge Gradient Direction
2.5. Shape Search Algorithm Based on Combination of Contour Point Distribution and Edge Gradient Direction
3. Experimental Results and Analysis
3.1. Results of Automatic Feature Region Searching for Image Registration
3.2. Results of Automatic Feature Region Searching for Subregion Image Registration
- (1)
- The detection zone is divided automatically according to the size of the printed image, which is mainly based on the appropriate number of partition lines and columns. One registration feature shape region is selected in each subregion of the large printed image.
- (2)
- As described above, the setting of the subregion detection is no longer done by manually drawing a rectangular box. It is instead performed by an automatic division method, which can conveniently increase the number of detection areas on the detected sample image and greatly improve the automation of the modeling of the standard template reference image. As shown in Figure 13, the printed images adopt a 3 × 2 partition mode.
- (3)
- The index of the detection of subregions and feature shape regions adopts the method of automatic nearby index, that is, each detected subregion selects the feature region closest to its own center point as its own index of the registration shape feature region.
- (4)
- If the feature region is not searched in the current detected subregion, then the method of searching for the feature region associated with the adjacent subregion is adopted. That is, the feature region closest to the current subregion among all neighboring regions is selected as the registration feature region.
3.3. Shape Search Parameter
4. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- Ren, R.; Huang, T.; Chen, T.K. A generic deep-learning-based approach for automated surface inspection. IEEE Trans. Cybern. 2018, 48, 929–940. [Google Scholar] [CrossRef] [PubMed]
- Kang, X.; Zhang, E. A universal defect detection approach for various types of fabrics based on the Elo-rating algorithm of the integral image. Text. Res. J. 2019, 89, 4766–4793. [Google Scholar] [CrossRef]
- Vilas, H.G.; Yogesh, V.H.; Vijander, S. An efficient similarity measure approach for PCB surface defect detection. Pattern Anal. Appl. 2018, 21, 277–289. [Google Scholar]
- Haddad, B.M.; Lina, S.Y.; Karam, L.J.; Ye, J.; Patel, N.S.; Braun, M.W. Multifeature, sparse-based approach for defects detection and classification in semiconductor units. IEEE Trans. Autom. Sci. Eng. 2018, 15, 145–159. [Google Scholar] [CrossRef]
- Zhang, E.; Chen, Y.; Gao, M.; Duan, J.; Jing, C. Automatic defect detection for web offset printing based on machine vision. Appl. Sci. 2019, 9, 3598. [Google Scholar] [CrossRef]
- Zhang, E.; Zhang, Y.; Duan, J. Color Inverse Halftoning Method with the Correlation of Multi-Color Com-ponents Based on Extreme Learning Machine. Appl. Sci. 2019, 9, 841. [Google Scholar] [CrossRef]
- Cao, G.; Ruan, S.; Peng, Y.; Huang, S.; Kwok, N. Large-complex-surface defect detection by hybrid gradient threshold segmentation and image registration. IEEE Access 2018, 6, 36235–36246. [Google Scholar] [CrossRef]
- Guo, F. Image Registration and Defect Inspection Algorithms and Their Application in Printing System; Beijing Jiaotong University: Beijing, China, 2011. [Google Scholar]
- Yoo, J.C.; Han, T.H. Fast normalized cross-correlation. Circuits Syst. Signal Process. 2009, 28, 819–843. [Google Scholar] [CrossRef]
- Gonzalez, R.C.; Woods, R.E. Digital Image Processing, 4th ed.; Pearson: London, UK, 2017. [Google Scholar]
- Yamazaki, S.; Ikeuchi, K.; Shinagawa, Y. Plausible image matching: Determining dense and smooth mapping between images without a prior knowledge. Int. J. Pattern Recognit. Artif. Intell. 2005, 19, 565–583. [Google Scholar] [CrossRef]
- Harris, C.G.; Stephens, M.J. A Combined Corner and Edge Detector. In Proceedings of the 4th Alvey Vision Conference, Manchester, UK, 31 August–2 September 1988; pp. 147–151. [Google Scholar]
- Förstner, W.; Gülch, E. A Fast Operator for Detection and Precise Location of Distinct Points, Corners and Circular Features. In Proceedings of the ISPRS Intercommission Conference on Fast Processing of Photogrammetric Data, Interlaken, Switzerland, 2–4 June 1987; pp. 281–305. [Google Scholar]
- Lowe, D.G. Distinctive image features from scale-invariant keypoints. Int. J. Comput. Vis. 2004, 60, 91–110. [Google Scholar] [CrossRef]
- Bay, H.; Ess, A.; Tuytelaars, T.; Gool, L.V. Speeded-up robust features (SURF). Comput. Vis. Image Underst. 2008, 110, 346–359. [Google Scholar] [CrossRef]
- Fularz, M.; Kraft, M.; Schmidt, A.; Kasiński, A. A high-performance FPGA-based image feature detector and matcher based on the FAST and BRIEF algorithms. Int. J. Adv. Robot. Syst. 2015, 12, 1–15. [Google Scholar] [CrossRef]
- Yan, K.; Sukthankar, R. PCA-SIFT: A More Distinctive Representation for Local Image Descriptors. In Proceedings of the 2004 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Washington, DC, USA, 27 June–2 July 2004; IEEE: Piscataway, NJ, USA, 2004; pp. 506–513. [Google Scholar]
- Dellinger, F.; Delon, J.; Gousseau, Y.; Michel, J. SAR-SIFT: A SIFT-Like Algorithm for SAR Images. IEEE Trans. Geosci. Remote Sens. 2015, 53, 453–466. [Google Scholar] [CrossRef]
- Sedaghat, A.; Ebadi, H. Remote Sensing Image Matching Based on Adaptive Binning SIFT Descriptor. IEEE Trans. Geosci. Remote Sens. 2015, 53, 5283–5293. [Google Scholar] [CrossRef]
- Raza, S.; Sanchez, V.; Prince, G.; Clarkson, J.P.; Rajpoot, N.M. Registration of thermal and visible light images of diseased plants using silhouette extraction in the wavelet domain. Pattern Recognit. 2015, 48, 2119–2128. [Google Scholar] [CrossRef]
- Xu, Z.; Su, X. Sequence image registration based on wavelet decomposition and multi-constraint improvement. Chin. J. Sci. Instrum. 2011, 32, 2261–2266. [Google Scholar]
- Xie, H.; Hicks, N.; Keller, G.R.; Huang, H.; Kreinovich, V. An IDL/ENVI implementation of the FFT-based algorithm for automatic image registration. Comput. Geosci. 2003, 29, 1045–1055. [Google Scholar] [CrossRef]
- Niu, H.; Chen, E.; Qi, L.; Guo, X. Image registration based on Fractional Fourier Transform. Optik. 2015, 126, 3889–3893. [Google Scholar] [CrossRef]
- Chelbi, S.; Mekhmoukh, A. Features based image registration using cross correlation and Radon transform. Alex. Eng. J. 2018, 57, 2313–2318. [Google Scholar] [CrossRef]
- Sun, H.; Li, Z.; Sun, L.; Lang, X. Sub-pixel registration of special and frequency domains for video sequences. Chin. Opt. 2011, 4, 154–160. [Google Scholar]
- Nasihatkon, B.; Fejne, F.; Kahl, F. Globally Optimal Rigid Intensity Based Registration: A Fast Fourier Domain Approach. In Proceedings of the 2016 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 5936–5944. [Google Scholar]
- Madian, N.; Jayanthi, K.B.; Somasundaram, D.; Suresh, S. Identifying Centromere Position of Human Chromosome Images using Contour and Shape based Analysis. Measurement 2019, 144, 243–259. [Google Scholar] [CrossRef]
- Zeng, X.; Ren, L. Algorithm for image retrieval based on coherence edge orientation. Comput. Eng. Appl. 2012, 48, 205–209. [Google Scholar]
- Yuan, X.; Hao, X.; Chen, H.; Wei, X. Robust Traffic Sign Recognition Based on Color Global and Local Oriented Edge Magnitude Patterns. IEEE Trans. Intell. Transp. Syst. 2014, 15, 1466–1477. [Google Scholar] [CrossRef]
25 | 0.035 | 0.01 | 0.07 | 32 |
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Chen, Y.; He, P.; Gao, M.; Zhang, E. Automatic Feature Region Searching Algorithm for Image Registration in Printing Defect Inspection Systems. Appl. Sci. 2019, 9, 4838. https://doi.org/10.3390/app9224838
Chen Y, He P, Gao M, Zhang E. Automatic Feature Region Searching Algorithm for Image Registration in Printing Defect Inspection Systems. Applied Sciences. 2019; 9(22):4838. https://doi.org/10.3390/app9224838
Chicago/Turabian StyleChen, Yajun, Peng He, Min Gao, and Erhu Zhang. 2019. "Automatic Feature Region Searching Algorithm for Image Registration in Printing Defect Inspection Systems" Applied Sciences 9, no. 22: 4838. https://doi.org/10.3390/app9224838
APA StyleChen, Y., He, P., Gao, M., & Zhang, E. (2019). Automatic Feature Region Searching Algorithm for Image Registration in Printing Defect Inspection Systems. Applied Sciences, 9(22), 4838. https://doi.org/10.3390/app9224838