Abstract
We propose a fast and reliable corner detector that can detect corners under non-uniform illumination and fuzzy mineshaft images effectively. First, we presented an inner mask that used only four pixels to determine the flat and corner regions of an image, which could eliminate unnecessary computation of flat regions, thus reducing computing cost. Second, we separated the corner regions into background and foreground and computed the separate corner threshold to settle non-uniform illumination. Third, we proposed a fast corner-detection algorithm to compute the nucleus continuous contributive segment based on the corner state. Finally, we proposed two effective methods to remove the false corners. Experimental results showed that our approach has a better detection quality and is less time consuming than three other algorithms on an artificial image, a noisy image, and non-uniform images and could meet the real-time requirement of mineshaft applications.
1 Introduction
The main fault-detection component of the mineshaft equipment [13] includes steel structures, ventilating shafts, drain lines, communication facilities, etc., and the checking processes are now dependent on manual checks using a winding cage. With the development of imaging technology, automatic scene mosaic and intelligent fault detection of mineshaft images are attracting more and more attention. Therefore, corners, which have the most useful information, are used as a basis of mineshaft image mosaic, scene reconstruction, and fault detection [19].
Moravec [12] developed the idea of using interest points, which brought an upsurge in interest in corner-detection research. Harris and Stephens [5] used only the first and second derivatives of an image to detect corners – the method performed well under rotation and various illuminations, but it is not well localized. The curvature scale space (CSS) corner detector is based on the edge and is one of the classical and effective algorithms that are based on the edge detector [11]. Ray and Pandyan [14] proposed a multiscale approach. Mokhtarian and Mohanna [10] proposed two CSS corner detectors. Meanwhile, He and Yung [6] detected both fine and coarse features. They all performed well in certain images and are robust to noise, but the speed of the CSS corner detector is highly dependent on the edge detector. Lowe [9] proposed a scale-invariant feature transform (SIFT), based on the difference of Gaussian kernel, to deal with the effects of multiple scales, rotation, and illumination, but its detection speed is very slow because of complex computation. PCA-SIFT [7] and SURF [1] were developed from the SIFT algorithm to reduce computing cost.
Smith and Brady [17] proposed that the smallest univalue segment assimilating nucleus (SUSAN) operators were better than the previous algorithms in localization and noise robustness. SUSAN, which used small circular region pixels belonging to a given object, have relatively uniform brightness. It was used to computed the number of pixels with brightness similar to that of the detected pixel (the nucleus) at the center of the mask. These pixels comprise the univalue segment assimilating nucleus (USAN) of the mask. Corners are detected using USAN areas. Trajkovic and Hedley [18] proposed that at the corners, the variation will be high in all directions. Lan and Zhang [8] presented a double-circle mask to calculate the variances of the outside and inside circle pixels to get the maximum of the two and detected the corners using the continuous pixels that are similar to the detected pixel on the mask.
Based on this, a large number of corner detectors have been developed to meet the specific requirements of many applications [2, 3, 15, 16]. Most of the present corner detectors work well with high-quality images but not with mineshaft images, such as the detector proposed by Rosten and Drummond [15], which, although a fast corner detector, does not perform not well on mineshaft images. There are two reasons for this insufficient performance: (i) because of the use of artificial lights, mineshaft images are non-uniform, with low contrast in the background and high contrast in the foreground; (ii) the object’s edges in mineshaft images are fuzzy because the videos are generally captured on a moving cage in a complex mineshaft environment.
In this article, we proposed a fast and reliable corner detector for non-uniform and fuzzy mineshaft images based on the SUSAN algorithm. Our objective was to enhance the performance of the detector when processing mineshaft images with less time requirement. First, it determines the flat regions of an image to avoid unnecessary computation. Second, it separates the corner regions into a low-contrast background and a high-contrast foreground and used different thresholds for the background and the foreground, respectively. Finally, it displays the state of the corner regions and put a circular mask over the detected pixel (the nucleus) for the computation of the continuous contributive segment to the nucleus (CCSN) on the mask. Experimental results show that the proposed detector performed well and reliably when processing noise and non-uniform illumination mineshaft images. It took the least time compared with the detectors of SUSAN [18], Harris [5], and Lan and Zhang [8], thus meeting the real-time requirement of the applications.
The rest of our article is organized as follows: the corner and flat regions are recognized and the corner region states are computed in Section 2. Our corner approach is proposed, and some false corner-removal methods are given in Section 3. The experimental results are displayed and analyzed in Section 4, and then the conclusion is summarized in Section 5.
2 Corner Region Recognition
2.1 Corner Region Detection
Corner detection is the most time-consuming process in image processing [17]. Trajkovic and Hedley [18] advanced that there should be an obvious variety of gray values in a neighborhood of corners. Moreover, most images are mainly composed of regions with similar intensity and brightness, which are defined as flat regions, and the other regions are defined as corner regions. To avoid unnecessary detection and calculation, a mask with four pixels will scan the nucleus first and then go directly to the next pixel if the nucleus is located on the flat region. As a result, only the corner regions are detected, which will drastically improve the efficiency.
We presented a new mask in this article to determine the corner and flat regions in an image. In Figure 1, assume X is the nucleus and then a mask is put on X. We found that the use of only four pixels, P, P′, Q, and Q′, of the mask could fulfill the requirements of both time consumption and classification quality. According to the geometrical characteristics of the corners, if X is a corner candidate, at most two of the four pixels of the mask will be similar to X; otherwise, X is located on a flat region. The difference between X and P is defined as

A Mineshaft Image and the Neighborhood of a Corner.
where fP and fX are the gray values of P and X, respectively, and Td is the threshold of difference. If nP is 1, there will be a big difference between P and X; otherwise, P is similar to X.
The value of Td has a strong effect on the accuracy and efficiency of the algorithm in that oversized values will possibly cause the algorithm to miss the true corners and the undersized value may lower down computation efficiency.
The corner regions are defined as
If the value of FCorner is 1, pixel X is located on the corner region, which requires further detection. Figure 2 shows the corner regions of two mineshaft images. The corner regions are marked black in Figure 2. The areas of the corner regions in the two mineshaft images accounted for are 20.59% and 28.69%, respectively. We have investigated 15 non-uniform illumination mineshaft images, and the percentage of the area of the corner regions is 26.32%.

The Corner Regions: (A) One Non-Uniform Illumination Image, (B) The Corner Region of (A) with Td = 5, (C) Another Image, and (D) The Corner Region of (C) With Td = 5.
2.2 Corner Region State
Mineshaft images are fuzzy because they are captured on a moving cage by artificial illumination, and the gradient of gray level changes slowly on the edge of the object. In Figure 1, X relative to the pixels of the mask can have one of three states [15]:
where TC is the corner threshold. The other three pixels on the mask are similarly defined as P. Let SX be the corner region state of X, and each corner region state of the nucleus on corner regions can be computed as
SX can be positive, zero, or negative. Positive and negative values represent a corner located on a bright region and a dark region, respectively. If SX is 0, the mask needs to be rotated by 45° for state recomputation.
3 Corner-Detection Algorithm
3.1 Corner Detection
We presented a circular mask, including 32 pixels for corner region scan. The circular mask only includes the boundary pixels to reduce the time consumption. The diameter of the circle can be 9, 11, 13, and 15 pixels, of which the 13-pixel diameter mask was found to have the detection performance. Figure 3 shows the circular corner mask proposed in this article.
Let X1, X2, X3, . . . , X32 be the pixels covered by the mask. When the corner state is bright, there is a set of n-continuous pixels in the mask that are brighter than the intensity of X or that have similar intensity as X. When the corner state is dark, there is a set of n-continuous pixels in the mask that are darker than X or that have similar intensity as X, as shown in Figure 3. The set of n-continuous pixels in the mask is defined as the CCSN. The contribution function point P to X is defined as follows:

The Circle Corner Mask.
The shape of the corner can be X, Y, etc., and the number of CCSN is >1. Let CCSNk represent the kth CCSN, and it is given by
In CCSNk, each FS(Xm, X) (m = i, i + 1, . . . , j) should be equal to 1. Considering the resistance to noise, at most, only two FS(Xm, X) can be 0.
Let NC represent the largest number of CCSN, which means
where the function num computes the number of pixels in CCSNk.
According to the shape of the corner, the corner response function is given by
The shaper the corner angle is, the stronger the detector response will be. Besides, a non-maximum suppression has been performed to enhance corner detection.
3.2 Threshold Processing
The background of mineshaft images has low contrast, and the foreground has high contrast. Therefore, using a common threshold, background will miss corners and the foreground will detect too many false corners. In this article, we separated the corner regions into background and foreground, and low and high thresholds will be used for the background and foreground, respectively [4].
The separation was carried out based on the maximum entropy algorithm because the maximum entropy is insensitive to initial condition and has good feasibility in the separation of mineshaft images. A and B denote the background and the foreground, respectively, and the algorithm is as follows:
Record the histogram of the gray image and the probability of each gray value pi.
Smooth the image histogram, with GVL and GVH as the smallest and the highest gray values, respectively.
Compute the region probability of A and B:
Define the evaluation function according to the maximum entropy algorithm:
The separation threshold T is obtained when FH reaches the maximum.
The gray value of mineshaft video images changes little during the same interval. To reduce time consumption, the mean threshold can only be obtained in the first few frames. Experimental results showed that the value of TC in Eq. (3) can be computed using
3.3 Removal of False Corners
In this section, the false corners will be removed, and the examples of three main types of false corners are given in Figure 4:
A false corner with a nucleus located on a noisy pixel, as shown in Figure 4A;
A false corner with a nucleus located on a salient pixel, as shown in Figure 4B;
A false corner with a nucleus located on a thin band, as shown in Figure 4C.

Three Types of False Corner with a Nucleus on a (A) Noisy Point, (B) Salient Point, and (C) Thin-Band Point.
Next, we present some corresponding methods to determine and remove these false corners.
3.3.1 Removal of the Noisy and Salient Points
The nucleus in Figure 4A is a noisy point, whereas the nucleus in Figure 4B is a salient point, but they are both falsely detected as corner regions. Suppose X1 and X2 are two endpoints of the maximum CCSN. n1 stands for the number of pixels on line XX1 and nS1 stands for the number of pixels with FS = 1. Similarly, n2 stands for the number of pixels on line XX2 and nS2 is the number of pixels with FS = 1. If X is a true corner, then n1 should be equal to nS1 and n2 should be equal to nS2. Considering the influence of the noise, the discrimination function between the noisy and salient points is defined as
where 1 means that X is a noisy point and 0 means X is a salient point.
3.3.2 Removal of the Thin-Band Point
The nucleus in Figure 4C is located on a thin band, but it is falsely detected as a corner region. If there are two CCSNs and there is a difference in the numbers of pixels in the two CCSN, then there will be a possibility that the nucleus is located on a thin band. Assume that CCSNk is the larger one of the two CCSNs and G is the gravity of CCSNk.
In Figure 4C, a straight line ZXZ′ is perpendicular to vector Let M0, M1, M2, and M3 be the four points in the straight line ZXZ′ and we can define
If there is more than one point in the four, the nucleus is detected to be located in a thin band, which can be removed as a false corner.
4 Experiments and Analysis
4.1 Performance Analysis
In this section, the proposed algorithm is tested and compared with the existing corner detectors developed by SUSAN [17], Harris [5], and Lan and Zhang [8]. The SUSAN algorithm is a classical corner detector. The FAST detector uses machine learning to derive a very fast, high-quality corner detector. Recently, Lan and Zhang produced a fast corner detector. An artificial image, a noisy image, and mineshaft images were chosen to obtain the best results for each detector and to evaluate the performance of the algorithm proposed in this article. Tables 1–4 present the quantitative results of each algorithm in the test images. Four parameters, including the number of detected true corners (TDC), missed corners (MC), false corners (FC), and detecting accuracy (Da), were used for image evaluation.
Results on the Artificial Image (Figure 5).
Detector | TDC | FC | MC | Da |
---|---|---|---|---|
SUSAN | 75 | 16 | 4 | 0.756 |
Harris | 67 | 0 | 12 | 0.736 |
Lan and Zhang | 79 | 3 | 0 | 0.963 |
Proposed Method | 79 | 1 | 0 | 0.988 |
This Image Contains 79 Reference Corners.
Results on the Noisy Image (Figure 6).
Detector | TDC | FC | MC | Da |
---|---|---|---|---|
SUSAN | 29 | 11 | 5 | 0.58 |
Harris | 29 | 3 | 5 | 0.690 |
Lan and Zhang | 22 | 151 | 12 | 0.112 |
Proposed Method | 30 | 0 | 4 | 0.789 |
This Image Contains 34 Reference Corners.
The Results on the Mineshaft Image (Figure 7).
Detector | TDC | FC | MC | Da |
---|---|---|---|---|
SUSAN | 2 | 52 | 17 | 0.023 |
Harris | 1 | 17 | 18 | 0.019 |
Lan and Zhang | 5 | 78 | 14 | 0.045 |
Proposed Method | 15 | 7 | 4 | 0.5 |
This Image Contains 19 Reference Corners.
Time Consuming (in milliseconds).
SUSAN Detector | Harris Detector | Lan and Zhang Detector | Proposed Method | |
---|---|---|---|---|
Artificial Image | 57 | 40 | 21 | 8 |
Noisy image | 53 | 49 | 15 | 6 |
Average Time Cost of 15 Mineshaft Images | 49 | 40 | 17 | 8 |
The detection accuracy is defined as
where TC stands for the number of all the true corners of each image.
Figure 5 is an artificial image that has a good quality with some obvious corners, and it has a size of 256×256 pixels at 256 gray levels. Table 1 gives the corresponding results obtained for this image. We found that the SUSAN algorithm mainly detects the area of USAN and results in the largest number of false corners, especially on the circumference; it also cannot detect some cross-shaped corners. The Harris algorithm detects the least number of true corners, with only 67, but there was no false corner detection because the result is sensitive to the threshold. A small threshold obtains a large number of true corners but makes a larger number of false corners. The method of Lan and Zhang uses an outer mask to detect corners and an inner circle mask to remove false corners; it performs well in true corner detection, and there were only three false corner detections. The method proposed in this article detects all the true corners, with only one round false corner. The proposed method obtains a detecting accuracy of 0.988 and gives the best performance among the four algorithms.

Corner-Detection Results on an Artificial Image Obtained with the Use of (A) SUSAN, (B) Harris, (C) Lan and Zhang, and (D) The Proposed Method.
Figure 6 is a noisy synthetic image with a size of 320×240 pixels on which we checked the performance of the four detectors. Table 2 shows that the SUSAN and Harris algorithms detect the same number of true corners, but the Harris algorithm detects fewer false corners and has a higher noise resistance than the SUSAN algorithm. Lan and Zhang’s method falsely detects the least number of true corners and the most number of false corners, resulting in a detection accuracy of only 0.112, which is much lower than the other three algorithms. The reason is that the detector only uses the margins of the two circle masks but has no effective method in reducing noise. The method proposed in this article takes some measures to reduce the effects of noise, detects the most number of true corners, and has no false detections. The experiment on five noisy images shows that the proposed method has the best performance and is resistant to noise.

Corner-Detection Results on a Noisy Image Obtained with the Use of (A) SUSAN, (B) Harris, (C) Lan and Zhang, and (D) The Proposed Method.
Figure 7 is a mineshaft image of a well rope with obvious corners, and the size is 350×190 pixels. The results show that the detectors of SUSAN, Harris, and Lan and Zhang could hardly detect the true corners and obtain false corners. The reason is that they only use a single threshold on the non-illumination images and take no measure to settle the fuzzy problems. The detecting accuracies of the SUSAN, Harris, and Lan and Zhang detectors are all very small (0.023, 0.019, and 0.045, respectively). Although the proposed method detects several false corners in Figure 7, a reasonable quantity of true corners is detected. The detection accuracy on this mineshaft images is 0.5.

Corner-Detection Results on a Mineshaft Image Obtained with the Use of (A) SUSAN, (B) Harris, (C) Lan and Zhang, and (D) The Proposed Method.
An in-depth detection of the performance of the four algorithms is carried out on a large number of mineshaft images, and the results are basically consistent with the above experimental results. We provided the results of 15 images in this article. Figure 8 gives the detection results on five images that detect pulley and derrick. Figure 9 gives the results on five cable images, and Figure 10 gives the detection results on five ventilating shaft, wall, and drain line images. We found that SUSAN, Harris, and Lan and Zhang detectors all failed on the non-illumination and fuzzy mineshaft images. They detected many thin-band false corners and noisy false corners, with detecting accuracies of <0.2; meanwhile, our proposed method performed well. It is robust to noisy and non-uniform illumination, and the detecting accuracy is >0.45. The reason is that we used a separate threshold on low- and high-contrast regions and computed the continuous contributive segment based on corner region state; in addition, we adopted some measures to remove the false corners.

Corner-Detection Results on Five Pulley and Derrick Mineshaft Images Obtained with the Use of (A) SUSAN, (B) Harris, (C) Lan and Zhang, And (D) The Proposed Method.

Corner-Detection Results on Five Cable Mineshaft Images Obtained with the Use of (A) SUSAN, (B) Harris, (C) Lan and Zhang, and (D) The Proposed Method.

Corner-Detection Results on Five Ventilating Shaft, Wall, and Drain Line Images Obtained with the Use of (A) SUSAN, (B) Harris, (C) Lan and Zhang, and (D) The Proposed Method.
4.2 Time Consumption
We recorded the time consumption of the SUSAN, Harris, Lan and Zhang detectors and the proposed method with all the algorithms running on a 2.4-GHz Intel Core Duo CPU, Pte. Ltd., China. The time consumption results are shown in Table 4 (in milliseconds).
The SUSAN detector uses a circular template, which means that the larger the template, the more time will be consumed. However, a too small template may result in many false corner detections. In most cases, the SUSAN detector uses a template with a diameter of 7 pixels (37 pixels included) and takes the longest time compared with the other three detectors. The Harris detector uses Gaussian filters and evaluates the second-order derivatives. Therefore, the Harris detector is a time-consuming algorithm. The Lan and Zhang detector adopts a double-circle mask that only involves the boundary and has recently been provide to be a fast corner detector. The proposed method takes the least time among the four algorithms because it only uses four pixels of the inner mask to recognize corner regions and flat regions and detects corners only on corner regions, which are always a small proportion of the whole image. It then only uses the margin pixels of the outer circle mask to detect corners.
5 Conclusion
For real-time mineshaft image mosaic and fault detection, the proposed corner detector could improve the computational efficiency and carry out detections on the non-uniform and fuzzy images. In terms of time consumption, the proposed method quickly detected the flat regions, this avoiding further computation, and only involved a margin of the circle mask, thus reducing time consumption. Then, the images were separated for the continuous contributive segment of the nucleus computation using different thresholds according to the gray values in order to deal with the non-uniform and fuzzy problem. The experimental results showed that the proposed method could detect the corners of the mineshaft images accurately and efficiently with minimal time consumption.
This work was supported by the National Basic Research Program of China (973 Program No. 2011 CB707904), Science and Technology Bureau of Wuhan of China (No. 201150124001), Hubei Province Key Laboratory of Systems Science in Metallurgical Process (No. Y201317), Natural Science Fund of Hubei Province of China, and R&D Special Fund of Public Welfare Industry of China Meteorological Administration (No. GYHY201106047).
Bibliography
[1] H. Bay, A. Ess, T. Tuytelaars and L. van Gool, Speeded-up robust feature, Comput. Vis. Image Understand. 110 (2008), 346–359.10.1016/j.cviu.2007.09.014Search in Google Scholar
[2] G. Caner, A. M. Tekalp and G. Sharma, Local image registration by adaptive filtering, IEEE Trans. Image Process. 10 (2006), 3053–3065.10.1109/TIP.2006.877514Search in Google Scholar
[3] Y. Ding and W. Li, Medical image registration algorithm based on the SAM of multi-scale Harris corner, J. Image Graphics 15 (2010), 1762–1768.Search in Google Scholar
[4] R. C. Gonzalez and R. E. Woods, Digital Image Processing, 3rd ed., pp. 551–587, Prentice Hall, John Wiley and Sons, Inc., USA, 2007.Search in Google Scholar
[5] C. Harris and M. Stephens, A combined corner and edge detector, Proc. Alvey Vision Conf. 15 (1988), 50.10.5244/C.2.23Search in Google Scholar
[6] X. C. He and N. H. C. Yung, A corner detector based on global and local curvature properties, Opt. Eng. 47 (2008).10.1117/1.2931681Search in Google Scholar
[7] Y. Ke and R. Sukthankar, 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, 2004.Search in Google Scholar
[8] J. Lan and M. Zhang, Fast and robust corner detector based on double-circle mask, Opt. Eng. 49 (2011), 127204–127208.10.1117/1.3526330Search in Google Scholar
[9] D. G. Lowe, Distinctive image features from scale-invariant keypoints, Int. J. Comput. Vis. 60 (2004), 91–110.10.1023/B:VISI.0000029664.99615.94Search in Google Scholar
[10] F. Mokhtarian and F. Mohanna, Enhancing the curvature scale space corner detector, in: Scandinavian Conference on Image Analysis, pp. 145–152, 2001.Search in Google Scholar
[11] F. Mokhtarian and R. Suomela, Robust image corner detection through curvature scale space, IEEE Trans. Pattern Anal. 20 (1998), 1376–1381.10.1109/34.735812Search in Google Scholar
[12] H. Moravec, Towards automatic visual obstacle avoidance, in: Proceedings of the IJCAI, pp. 584–587, 1977.Search in Google Scholar
[13] M. G. Raines, D. A. Gunn and D. J. R. Morgan, Refraction microtremor (ReMi) to determine the shear-wave velocity structure of the near surface and its application to aid detection of a backfilled mineshaft, Q. J. Eng. Geol. Hydrogeol. 44 (2011), 211–220.10.1144/1470-9236/09-046Search in Google Scholar
[14] B. K. Ray and R. Pandyan, ACORD – an adaptive corner detector for planar curves, Pattern Recog. (2003), 703–708.10.1016/S0031-3203(02)00084-5Search in Google Scholar
[15] E. Rosten and T. Drummond, Machine learning for high-speed corner detection, in: Proceedings of European Conference on Computer Vision. 3951 (2006), 430–443.Search in Google Scholar
[16] K. Seo and Y. Kim, Automated generation of rotation-robust corner detectors, IEICE Electron. Exp. 7 (2010), 1226–1232.10.1587/elex.7.1226Search in Google Scholar
[17] S. M. Smith and J. M. Brady, SUSAN – a new approach to low level image processing, Int. J. Comput. Vis. 23 (1997), 45–78.10.1023/A:1007963824710Search in Google Scholar
[18] M. Trajkovic and M. Hedley, Fast feature detection and matching for machine vision, in: Proceedings of the 7th BMVC, pp. 93–102, 1996.Search in Google Scholar
[19] S. Zheng, Z. Pan, X. Zhao and G. Wang, A general adaptive variational model for image restoration based on first and second order derivatives, JCIS 8 (2012), 10169–10175.Search in Google Scholar
©2013 by Walter de Gruyter Berlin Boston
This article is distributed under the terms of the Creative Commons Attribution Non-Commercial License, which permits unrestricted non-commercial use, distribution, and reproduction in any medium, provided the original work is properly cited.
Articles in the same Issue
- Masthead
- Masthead
- Passing an Enhanced Turing Test – Interacting with Lifelike Computer Representations of Specific Individuals
- Automatically Detecting the Number of Logs on a Timber Truck
- Request–Response Distributed Power Management in Cloud Data Centers
- A Fast and Reliable Corner Detector for Non-Uniform Illumination Mineshaft Images
- Finding the Trustworthiness Nodes from Signed Social Networks
- Particle Swarm Optimization Neural Network for Flow Prediction in Vegetative Channel
- A Genetic Algorithm for Generating Radar Transmit Codes to Minimize the Target Profile Estimation Error
Articles in the same Issue
- Masthead
- Masthead
- Passing an Enhanced Turing Test – Interacting with Lifelike Computer Representations of Specific Individuals
- Automatically Detecting the Number of Logs on a Timber Truck
- Request–Response Distributed Power Management in Cloud Data Centers
- A Fast and Reliable Corner Detector for Non-Uniform Illumination Mineshaft Images
- Finding the Trustworthiness Nodes from Signed Social Networks
- Particle Swarm Optimization Neural Network for Flow Prediction in Vegetative Channel
- A Genetic Algorithm for Generating Radar Transmit Codes to Minimize the Target Profile Estimation Error