Next Article in Journal
Effects of Individual and Environmental Factors on GPS-Based Time Allocation in Urban Microenvironments Using GIS
Next Article in Special Issue
Improving Bearing Fault Diagnosis Using Maximum Information Coefficient Based Feature Selection
Previous Article in Journal
Real-Time Whole-Body Imitation by Humanoid Robots and Task-Oriented Teleoperation Using an Analytical Mapping Method and Quantitative Evaluation
Previous Article in Special Issue
Dynamic Pressure Analysis of Hemispherical Shell Vibrating in Unbounded Compressible Fluid
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Sparse Haar-Like Feature and Image Similarity-Based Detection Algorithm for Circular Hole of Engine Cylinder Head

1
School of Automation Engineering, University of Electronic Science and Technology of China, Chengdu 611731, China
2
Institute of Electric Vehicle Driving System and Safety Technology, University of Electronic Science and Technology of China, Chengdu 611731, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2018, 8(10), 2006; https://doi.org/10.3390/app8102006
Submission received: 18 September 2018 / Revised: 10 October 2018 / Accepted: 18 October 2018 / Published: 22 October 2018
(This article belongs to the Special Issue Fault Detection and Diagnosis in Mechatronics Systems)

Abstract

:
If the circular holes of an engine cylinder head are distorted, cracked, defective, etc., the normal running of the equipment will be affected. For detecting these faults with high accuracy, this paper proposes a detection method based on feature point matching, which can reduce the detection error caused by distortion and light interference. First, the effective and robust feature vectors of pixels are extracted based on improved sparse Haar-like features. Then we calculate the similarity and find the most similar matching point from the image. In order to improve the robustness to the illumination, this paper uses the method based on image similarity to map the original image, so that the same region under different illumination conditions has similar spatial distribution. The experiments show that the algorithm not only has high matching accuracy, but also has good robustness to the illumination.

1. Introduction

If faults, such as distortion, cracks and defects, occur in engine parts, it will damage mechanical equipment and cause trouble for engineering applications. Many kinds of signals have been used for mechanical fault diagnosis, such as vibration signals [1] and acoustic signals [2]. In recent years, in order to quickly and accurately detect faults, image detection, on-line monitoring, infrared thermography [3] and automatic target recognition have been proposed. Among them, the feature point matching algorithm is the key algorithm in image detection for the faults of cylinder head hole.
In this algorithm, feature selection is an important issue. Image features can be roughly divided into color, texture, shape and spatial relationships. The methods for extracting color features include: color coherence vector, color set, color histogram and color correlogram. The methods for extracting texture features include: statistical methods, such as gray-level co-occurrence matrix [4], geometric methods, such as Voronio chessboard characteristic method and structure method [5], model methods, such as Markov random field [6] and conditional random field, and signal processing methods. The methods for extracting shape features include: boundary feature extraction methods, such as Hough transform [7] and Canny method [8], geometric parameter methods and shape invariant moments methods. The methods for extracting shape features include region segmentation and object segmentation.
Based on the combination of color, texture, shape and space features, some feature matching detection algorithms which are more efficient have been developed. The classic methods among them are: determinant of Hessian (DOH) features [9], Haar features [10], features from accelerated segment test (FAST) [11], local binary pattern (LBP) features [12], scale-invariant feature transform (SIFT) [13] and speeded-up robust features (SURF) [14].
The SIFT algorithm has strong scale invariance and rotation invariance, as well as robustness in transform of blur, view angle, illuminance and image compression. It was improved by Lowe in 2004 [13]. However, this algorithm is not in real time. Bay and Tuytelaars improved SIFT to SURF, which greatly improved the efficiency of the algorithm [14]. First, this algorithm uses different scales Hessian matrices to generate the key points of image stabilization, and then uses the determinant of Hessian to extract local maxima points as the interest points. Then, all the interest points obtained by Hessian matrix are compared with 26 points in its three-dimensional space neighborhood, and the largest interest point in its three-dimensional space neighborhood is selected as the primary key point, so that the key points of weak energy are filtered out. Finally, the direction corresponding to the maximum value in the direction histogram is selected as the main direction of the feature point, and the feature point descriptors are obtained. Both SIFT and SURF are highly robust, but do not have excellent real-time performance. SURF is not as complex and time-consuming as SIFT, but SURF still requires a lot of calculation to obtain the main direction and feature descriptors.
In order to improve the speed of extracting the features and obtaining feature descriptors to meet the requirements of practical tasks, more algorithms have been proposed, such as Haar, FAST, binary robust independent elementary features (BRIEF), Oriented FAST and Rotated BRIEF (ORB) [15], LBP, etc.
In 2002, Lienhart and Maydt extended the Haar feature library using diagonal characteristics [16]. In 2014, Zhang et al. proposed a pedestrian detector based on Haar-like features, which has good robustness in many situations [17]. Furthermore, Rubbe et al. proposed a fast feature extraction algorithm, ORB, based on FAST and BRIEF [15]. The algorithm is widely used in many fields that need feature point matching because of its fast computing speed. Then, Kral et al. proposed a method for breast tumor detection based on LBP in 2016 [18]. Although the LBP operator is good in real time, its robustness is poor.
In addition to those mentioned above, there are many algorithms that have strong robustness of scale and rotation transformation or fast real-time performance too, such as the nonlinear feature detection algorithm named KAZE [19], and the center-symmetric local binary pattern (CS-LBP) [20]. In recent years, algorithms based on deep learning have also made achievements in image similar block detection. For example, aiming at the problem of optical flow estimation, Bailer and Varanasi proposed a matching network based on pixel blocks [21]. Si and Xiaodan proposed a multi-column convolutional neural (M-CNN) network to predict the confidence and displacement of an optimal matching region in the test image of a particular semantic region in the k-Nearest Neighbor (KNN) image [22].
For detecting the faults of the circular hole on the surface of engine cylinder head, this paper proposes a detection method based on feature point matching, which can reduce the large detection error caused by distortion and light interference. First, improved sparse Haar-like features are used to reduce the effect of scratches and speckles on the same feature in Haar. Then we combine Euclidean distance and activation number to calculate the similarity of feature vectors. Next, we use image similarity to map the images of different brightness into the same gray space, to reduce the influence of external light on local texture. Finally, this paper compares the results of the improved Haar-like features with those of the traditional Haar features in detail, and shows the anti-light-interference capability based on image similarity and the detection results of the surface of the engine cylinder head. Experimental results show that the algorithm proposed in this paper can overcome the texture difference caused by the camera angle and illumination, and has high detection accuracy.

2. Methods

The workflow of the feature-matching algorithm based on sparse Haar-like feature and similarity calculation is shown in Algorithm 1. In the basic feature-matching process, feature selection and similarity calculation are the most critical parts. Moreover, a robustness enhancement method of illumination is added to the algorithm.
Algorithm 1: Flow of feature-matching algorithm based on sparse Haar-like feature and similarity calculation.
Input: Model image Im, test image It, key point loc in the model image, image pyramid layer number Np and scaling factor Zp, convolution kernel layer number Nc and scaling factor Zc, similarity adjustment factor k, adjustment factor α.
Output: The similarity point Ps in the test image It which is most similar to the key points loc in the model image Im.
1. The brightness-enhanced images It and Im of It and Im are respectively obtained according to Equation (11).
2. Construct the image pyramid on It and Im according to Np and Zp; construct the sparse Haar-like feature detection operator pyramid according to Nc and Zc.
3. Extract the features of each pixel of each layer of the pyramid according to Equation (1), and then merge them by inverse pyramid scaling to obtain the sparse Haar feature F of each pixel of It and Im.
4. Normalizing the features according to Equation (2). F ˜ is gotten.
5. The heat map H i , j s of the key point loc in Im and It is obtained according to Equation (7). The maximum point of the heat map is the similarity point Ps in It that is most similar to loc in Im.

2.1. Improved Sparse Haar-Like Features

Viola and Jones proposed four Haar-like features [10]. Figure 1 shows the texture features of these four basic directions.
Lienhart et al. proposed an improved Haar-like feature [16], pointed out that the feature D proposed by Viola was invalid, and divided the new Haar-like feature into edge features, linear features, and surround features, as shown in Figure 2, where white means 1 and black means −1.
As for the actual problem of engine cylinder head detection, the area to be detected can be located based on the relationship between a certain point of the circular edge and the eight directions around it, but the accuracy is insufficient, as shown in Figure 3, where the blue points indicate the location to be detected and the green represents the location that is actually detected.
From the above, we can see that Haar-like features are not accurate enough, and are obviously influenced by the illumination. In order to improve the detection accuracy, a sparse Haar-like feature is proposed in this paper, as shown in Figure 4, where green stands for 1, black for −1, and white for 0. In the figure, the first convolution kernel of edge feature and linear feature rotates 90°, 45° and 135° to get the last three.
Let the size of convolution kernel be n × n, the rotation angle be θ, Ωb denote the black region, Ωg denote the green region, pb and pg denote the pixel points of the black and green regions. Thus, the calculation formula of the convolution feature is as follows:
F i , j = p b Ω b s b I ( i , j ) p b + p g Ω g s g I ( i , j ) p g ,
where sb denotes the value of the black region in the convolution kernel, which is −1; and sg denotes the value of the green region in the convolutional kernel, which is 1. Lastly, (i, j) − pg represents the relative position of the convolutional kernel centered on the (i, j) point of the image.
Finally, the convolution features are normalized to ensure that each feature contributes the same to the overall matching.
{ m a = max ( F ) m i = min ( F ) F ˜ = ( F i , j m m i ) / ( m a m i )
Suppose we take two convolution kernels of size 8 and 26, as shown in Figure 5. The convolution kernels in some areas are so small that it is difficult to distinguish certain pixels from the surrounding pixels, which will cause inaccuracy. Larger convolution kernels can suggest more information in the region and improve the detection accuracy, but take a long time to calculate.
Therefore, in order to obtain more regional information and improve the calculating speed, the image pyramid and operator pyramid, which is a convolution kernel pyramid, are used to widen the local area, as shown in Figure 6.

2.2. Calculation of Feature Similarity

For calculating the similarity of feature vectors, let F ˜ s denote the feature map obtained from the model image, and F ˜ t denote the feature map obtained from the test image. Moreover, H and N denote the difference of the features at each pixel point of the model image and the test image, and the number of similar features, respectively. Suppose:
v i , j , k = | F ˜ i , j , k t F ˜ l o c , k t | ,
where F ˜ i , j , k t denotes the k-th feature at the pixel point (i, j) of the test image and F ˜ l o c , k t denotes the k-th feature at the pixel point loc of the model image.
Then, calculate the difference at the k-th feature of the pixel (i, j) of the model image and the test image, which is hi,j,k, and calculate the similarity, which is mi,j,k:
h i , j , k = F ˜ i , j , k t F ˜ l o c , k t 2
m i , j , k = { 1 , v i , j , k < 0.5 0 , v i , j , k 0.5 ,
where “0.5” is the activation threshold, which can be adjusted according to the actual situation.
Next, the heat map H and the similar quantity map N can be obtained:
{ H i , j = k = 0 n h i , j , k N i , j = k = 0 n m i , j , k .
Generally, the smaller Hi,j is, the more similar the test image pixel point (i, j) is to the model image pixel point loc. The larger Ni,j is, the more similar features the test image pixel point (i, j) and the model image pixel point loc have. Thus, the heat map H and the similar quantity map N can be fused into the final matching heat map:
H i , j s = H i , j e k N i , j / n ,
where k is the adjustment factor and n is the number of features. The maximum point of the heat map is the similarity point Ps in the test image that is most similar to the key point loc in the model image.

2.3. Robustness Enhancement Method of Illumination

Similarity calculation has been used in many research fields of image processing [23]. In this paper, the similarity between pixels and the center point in the image is used for the robustness enhancement method of illumination.
Let I denote the input image, w denote the width, and h denote the height. First, subtract the mean value of the image from the input image:
{ u = 1 w × h i w j h I i , j I i , j m = I i , j u .
Then, the image is normalized by calculating maximum value and minimum value:
{ m a = max ( I ) m i = min ( I ) I ˜ = ( I i , j m m i ) / ( m a m i ) .
The difference image is calculated by using the normalized image. Let c be the center of the image and B be the difference image. Thus, the formula is as follows:
B i , j = I i , j I c
Next, the difference image is mapped to [0, 1] space by a sigmoid function. After this, the final similarity image I i . j can be obtained as following, where α is the adjustment factor:
I i . j = 1 1 + e α × B i , j .
For different adjustment factors, the similarity image will also be different. However, by using an adaptive adjustment factor α, the similarity images of the images with different illuminations could be more similar, as shown in Figure 7. In the figure, u denotes the absolute value of the difference between the center point value of the image and the mean value, and v denotes the variance of the pixel values of the image. It is obvious that the images of the same region with different illuminations are very similar, when α = 8 or α = 12.

3. Experimental Results and Analysis

In practical engineering applications, an algorithm based on feature point matching should be used where the detection environment can be guaranteed to be the same at different times. The experimental platform built in this work is shown in Figure 8. In the figure, in red box 1 is an experimental bracket, a nearly sealed iron box with a camera and an illuminant in it. Sealing reduces the impact of the environment on the algorithm. In red box 2 is the host computer. In the experiment, the radius of the circular hole on the surface of engine cylinder head is detected.
First, in this section, the advantages of the improved Haar-like texture feature compared with the traditional Haar feature are analyzed in detail. Secondly, the effect of space mapping method based on image similarity on illumination robustness enhancement is demonstrated. Finally, the detection results of the surface of the engine cylinder head are shown.

3.1. Analysis of Improved Haar-Like Feature

Figure 9 shows the detection results of the circles with different illuminations, using ORB, KAZE, traditional Haar feature, and improved Haar feature, respectively. Model_1, Model_2, and Model_3 on the left side of the dashed line are original circular models for different regions. On the right of the dashed line are the images of three models under two different illumination conditions. The pink line is the connecting line between the original feature point and the center, while the red line is the connecting line between the matching feature point and the center. It is obvious that under different illumination conditions the matching effect of the improved Haar-like feature is better than that of ORB, KAZE, and the traditional Haar feature.
Table 1 compares the average pixel errors of the matching results of three circular model feature points under two illumination conditions, using KAZE, the traditional Haar feature, and the improved Haar-like feature, respectively. It can be found from the table that the average pixel error of traditional Haar feature algorithm is smaller than that of the KAZE algorithm, and the average pixel error of improved Haar-like feature algorithm is much smaller than that of the traditional Haar feature.
Table 2 compares the average pixel errors of circle radii obtained by the matching results of three circular model feature points under two illumination conditions, using KAZE, the traditional Haar feature, and the improved Haar feature, respectively. It can be found from the table that the average pixel error of the improved Haar feature algorithm is much smaller than that of the KAZE algorithm and the traditional Haar feature algorithm, which is approximately 1~2 pixels.

3.2. Analysis of Detection Robustness

Figure 10 shows the matching results of the circles with different illuminations by the method without any light processing and by the method based on image similarity, where “General” indicates that the image has not undergone any light processing. It is obvious that the method based on image similarity can improve the matching effect of the images with different illuminations and enhance the robustness of detection.
Table 3 compares the matching average pixel errors of the circle models with different illuminations by the method without any light processing and by the method based on image similarity. It can be seen from the table that the matching results of the original image with different illuminations have large average errors, and the matching error can be greatly reduced by using similarity mapping to preprocess the original image.
Table 4 compares the average pixel errors of circle radii of three circular models, which are obtained by the method without any light processing and by the method based on image similarity. It can be seen from the table that the average pixel error of image detection method based on similarity mapping is approximately 2 pixels, which means that its detection results are excellent.

3.3. Comprehensive Experimental Results and Analysis

Figure 11 shows the detection results of the circular holes on the surface of the same engine cylinder head. It is clear that the matching line is very close to the actual connecting line.
Figure 12 shows the average pixel errors between the detected radii and the actual radii in eight directions of the detected circles in Figure 11. It is easy to see that the average pixel errors of the detection radii is in the range of [0, 1], which shows that the detection results are excellent.

4. Discussion

According to the algorithm proposed in this paper, the dimension of the cylinder head circular hole can be accurately detected, which means this method is suitable for this specific problem. However, detecting the faults of other cylinder parts still needs further research. Moreover, the models accumulated in the experiment are not sufficient. Thus, there is still some room for development in the engineering practice.

5. Conclusions

In this paper, a detection algorithm based on feature point matching is proposed. First, the feature vectors are obtained based on the improved sparse Haar-like feature. Then, the feature similarity is calculated by Euclidean distance and activation number to obtain the most similar matching point in the region. However, Haar features are easily affected by illumination conditions. In order to improve the robustness of detection, from the point of view of algorithm theory, a method based on image similarity is adopted in this paper, which maps the images with different illuminations to the same space to reduce its interference. In engineering practice, the model index database is established, and model images with different illuminations are added. Experiments show that the improved sparse Haar-like feature has smaller detection errors and the space mapping method based on image similarity has strong illumination robustness.
After accumulating enough data in engineering practice, by using artificial intelligence and deep learning methods, a network model can be trained in the future. It can automatically select valid features without human intervention. In addition, the faults of other parts of the engine will also be taken into account.

Author Contributions

Conceptualization, W.Z. and Y.C.; Methodology, W.Z.; Software, W.Z.; Validation, W.Z., and Y.C.; Formal Analysis, W.Z., and S.L.; Investigation, W.Z.; Resources, W.Z.; Data Curation, W.Z.; Writing—Original Draft Preparation, W.Z., and S.L.; Writing—Review & Editing, Y.C., and S.L.; Visualization, S.L.; Supervision, Y.C.; Project Administration, Y.C.; Funding Acquisition, Y.C.

Funding

This research was funded by the National key R & D Plan Program of China (2018YFB0106100), the National Natural Science Foundation of China (51607027), the Sichuan Science and Technology support Program (2016GZ0395, 2017GZ0395, and 2017GZ0394), and the Central University basic Research Business funds (ZYGX2016J140 and ZYGX2016J146).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Li, Z.; Jiang, Y.; Hu, C.; Peng, Z. Recent progress on decoupling diagnosis of hybrid failures in gear transmission systems using vibration sensor signal: A review. Measurement 2016, 90, 4–19. [Google Scholar] [CrossRef]
  2. Glowacz, A. Acoustic based fault diagnosis of three-phase induction motor. Appl. Acoust. 2018, 137, 82–89. [Google Scholar] [CrossRef]
  3. Laib dit Leksir, Y.; Mansour, M.; Moussaoui, A. Localization of thermal anomalies in electrical equipment using Infrared Thermography and support vector machine. Infrared Phys. Technol. 2018, 89, 120–128. [Google Scholar] [CrossRef]
  4. Tankasala, S.P.; Doynov, P.; Derakhshani, R.R.; Ross, A.; Crihalmeanu, S. Biometric recognition of conjunctival vasculature using GLCM features. In Proceedings of the 2011 International Conference on Image Information Processing, Shimla, India, 3–5 November 2011; pp. 1–6. [Google Scholar]
  5. Liu, Y.J.; Chen, Z.; Tang, K. Construction of Iso-Contours, Bisectors and Voronoi Diagrams on Triangulated Surfaces. IEEE Trans. Pattern Anal. Mach. Intell. 2010, 33, 1502–1517. [Google Scholar] [PubMed]
  6. Zhang, Y.; Brady, M.; Smith, S. Segmentation of brain MR images through a hidden Markov random field model and the expectation-maximization algorithm. IEEE Trans. Med. Imaging 2001, 20, 45–57. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Huang, J.J.; Siu, W.C. Using large color LBP in generalized hough transform. In Proceedings of the 2014 IEEE International Conference on Image Processing (ICIP), Paris, France, 27–30 October 2014; pp. 1584–1588. [Google Scholar]
  8. Bao, P.; Zhang, L.; Wu, X. Canny Edge Detection Enhancement by Scale Multiplication. IEEE Trans. Pattern Anal. Mach. Intell. 2005, 27, 1485–1490. [Google Scholar] [CrossRef] [PubMed]
  9. Lindeberg, T. Feature Detection with Automatic Scale Selection. Int. J. Comput. Vis. 1998, 30, 79–116. [Google Scholar] [CrossRef] [Green Version]
  10. Viola, P.; Jones, M. Rapid object detection using a boosted cascade of simple features. In Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR), Kauai, HI, USA, 8–14 December 2001; p. 511. [Google Scholar]
  11. Rosten, E.; Porter, R.; Drummond, T. Faster and Better: A Machine Learning Approach to Corner Detection. IEEE Trans. Pattern Anal. Mach. Intell. 2009, 32, 105–119. [Google Scholar] [CrossRef] [PubMed]
  12. Ojala, T.; Pietikäinen, M.; Mäenpää, T. Multiresolution Gray-Scale and Rotation Invariant Texture Classification with Local Binary Patterns. IEEE Trans. Pattern Anal. Mach. Intell. 2002, 24, 971–987. [Google Scholar] [CrossRef]
  13. Lowe, D.G. Distinctive Image Features from Scale-Invariant Keypoints. Int. J. Comput. Vis. 2004, 60, 91–110. [Google Scholar] [CrossRef] [Green Version]
  14. Bay, H.; Tuytelaars, T.; Gool, L.V. SURF: Speeded up robust features. In Proceedings of the 9th European Conference on Computer Vision, Graz, Austria, 7–13 May 2006; pp. 404–417. [Google Scholar]
  15. Rublee, E.; Rabaud, V.; Konolige, K.; Bradski, G. ORB: An efficient alternative to SIFT or SURF. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), Barcelona, Spain, 6–13 November 2011; pp. 2564–2571. [Google Scholar]
  16. Lienhart, R.; Maydt, J. An extended set of Haar-like features for rapid object detection. In Proceedings of the International Conference on Image Processing, Rochester, NY, USA, 22–25 September 2002; pp. I-900–I-903. [Google Scholar]
  17. Zhang, S.; Bauckhage, C.; Cremers, A.B. Informed Haar-Like Features Improve Pedestrian Detection. In Proceedings of the 2014 IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA, 23–28 June 2014; pp. 947–954. [Google Scholar]
  18. Král, P.; Lenc, L. LBP features for breast cancer detection. In Proceedings of the 2016 IEEE International Conference on Image Processing (ICIP), Phoenix, AZ, USA, 25–28 September 2016; pp. 2643–2647. [Google Scholar]
  19. Alcantarilla, P.F.; Bartoli, A.; Davison, A.J. KAZE features. In Computer Vision-ECCV 2012; Springer: Berlin/Heidelberg, Germany, 2012; pp. 214–227. [Google Scholar]
  20. Heikkilä, M.; Pietikäinen, M.; Schmid, C. Description of interest regions with local binary patterns. Pattern Recognit. 2009, 42, 425–436. [Google Scholar] [CrossRef] [Green Version]
  21. Bailer, C.; Varanasi, K.; Stricker, D. CNN-Based Patch Matching for Optical Flow with Thresholded Hinge Embedding Loss. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017; pp. 2710–2719. [Google Scholar]
  22. Liu, S.; Liang, X.; Liu, L.; Shen, X.; Yang, J.; Xu, C.; Lin, L.; Cao, X.; Yan, S. Matching-CNN meets KNN: Quasi-parametric human parsing. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, USA, 7–12 June 2015; pp. 1419–1427. [Google Scholar]
  23. Dabov, K.; Foi, A.; Katkovnik, V.; Egiazarian, K. Image denoising by sparse 3-D transform-domain collaborative filtering. IEEE Trans. Image Process. 2007, 16, 2080–2095. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Four Haar-like feature operators. (a) Two-rectangle feature where rectangular regions are horizontally adjacent; (b) Two-rectangle feature where rectangular regions are vertically adjacent; (c) Three-rectangle feature; (d) Four-rectangle feature.
Figure 1. Four Haar-like feature operators. (a) Two-rectangle feature where rectangular regions are horizontally adjacent; (b) Two-rectangle feature where rectangular regions are vertically adjacent; (c) Three-rectangle feature; (d) Four-rectangle feature.
Applsci 08 02006 g001
Figure 2. Improved Haar-like feature operators.
Figure 2. Improved Haar-like feature operators.
Applsci 08 02006 g002
Figure 3. The results of Haar-like feature matching. (a) Low brightness; (b) High brightness.
Figure 3. The results of Haar-like feature matching. (a) Low brightness; (b) High brightness.
Applsci 08 02006 g003
Figure 4. Improved sparse Haar-like feature operators.
Figure 4. Improved sparse Haar-like feature operators.
Applsci 08 02006 g004
Figure 5. The relationship between convolution kernel size and neighborhood texture.
Figure 5. The relationship between convolution kernel size and neighborhood texture.
Applsci 08 02006 g005
Figure 6. Image pyramid and convolution kernel pyramid. (a) Image pyramid; (b) Convolution kernel pyramid.
Figure 6. Image pyramid and convolution kernel pyramid. (a) Image pyramid; (b) Convolution kernel pyramid.
Applsci 08 02006 g006
Figure 7. Similarity images of the images with different illuminations.
Figure 7. Similarity images of the images with different illuminations.
Applsci 08 02006 g007
Figure 8. Experimental platform for visual inspection of engine cylinder head.
Figure 8. Experimental platform for visual inspection of engine cylinder head.
Applsci 08 02006 g008
Figure 9. Matching results of different illumination images by four matching algorithms.
Figure 9. Matching results of different illumination images by four matching algorithms.
Applsci 08 02006 g009
Figure 10. Matching results of different illumination images by robust enhancement algorithm.
Figure 10. Matching results of different illumination images by robust enhancement algorithm.
Applsci 08 02006 g010
Figure 11. Matching results of the circular holes on the surface of engine cylinder head.
Figure 11. Matching results of the circular holes on the surface of engine cylinder head.
Applsci 08 02006 g011
Figure 12. Average pixel errors of the radii of detected circles on the surface of engine cylinder head.
Figure 12. Average pixel errors of the radii of detected circles on the surface of engine cylinder head.
Applsci 08 02006 g012
Table 1. Comparison of average pixel errors under different illuminations by three matching algorithms.
Table 1. Comparison of average pixel errors under different illuminations by three matching algorithms.
ModelKAZEHaarImproved Haar
Model_112.5210.013.124.502.753.75
Model_214.7816.098.1213.254.876.80
Model_311.6213.984.016.6252.653.25
Table 2. Comparison of circle radii average pixel errors under different illuminations by three matching algorithms.
Table 2. Comparison of circle radii average pixel errors under different illuminations by three matching algorithms.
ModelKAZEHaarImproved Haar
Model_13.433.761.481.960.740.90
Model_24.205.591.858.001.521.93
Model_33.353.242.531.790.881.22
Table 3. Comparison of average pixel errors under different illuminations by robust enhancement algorithm.
Table 3. Comparison of average pixel errors under different illuminations by robust enhancement algorithm.
ModelGeneralSimilarity
Model_13.253.001.6251.75
Model_24.875.502.682.75
Model_35.505.633.351.75
Model_414.2210.745.655.48
Table 4. Comparison of circle radii average pixel errors under different illuminations by robust enhancement algorithm.
Table 4. Comparison of circle radii average pixel errors under different illuminations by robust enhancement algorithm.
ModelGeneralSimilarity
Model_11.961.730.830.64
Model_21.473.151.150.74
Model_31.322.640.900.69
Model_49.469.121.931.80

Share and Cite

MDPI and ACS Style

Zhou, W.; Chen, Y.; Liang, S. Sparse Haar-Like Feature and Image Similarity-Based Detection Algorithm for Circular Hole of Engine Cylinder Head. Appl. Sci. 2018, 8, 2006. https://doi.org/10.3390/app8102006

AMA Style

Zhou W, Chen Y, Liang S. Sparse Haar-Like Feature and Image Similarity-Based Detection Algorithm for Circular Hole of Engine Cylinder Head. Applied Sciences. 2018; 8(10):2006. https://doi.org/10.3390/app8102006

Chicago/Turabian Style

Zhou, Wenzhang, Yong Chen, and Siyuan Liang. 2018. "Sparse Haar-Like Feature and Image Similarity-Based Detection Algorithm for Circular Hole of Engine Cylinder Head" Applied Sciences 8, no. 10: 2006. https://doi.org/10.3390/app8102006

APA Style

Zhou, W., Chen, Y., & Liang, S. (2018). Sparse Haar-Like Feature and Image Similarity-Based Detection Algorithm for Circular Hole of Engine Cylinder Head. Applied Sciences, 8(10), 2006. https://doi.org/10.3390/app8102006

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop