Crack detection in concrete tunnels using a gabor filter invariant to rotation
Abstract
Producción Científica
Full text
sensors Article Crack Detection in Concrete Tunnels Using a Gabor Filter Invariant to Rotation Roberto Medina 1, JoséLlamas 1ID , Jaime Gómez-García-Bermejo 2,*ID , Eduardo Zalama 2and Miguel JoséSegarra 3 1CARTIF Foundation, Parque Tecnológico de Boecillo, 47151 Valladolid, Spain; [email protected] (R.M.); [email protected] (J.L.) 2ITAP-DISA, University of Valladolid, 47002 Valladolid, Spain; [email protected] 3DRAGADOS S.A., Av. Camino de Santiago 50, 28050 Madrid, Spain; [email protected] *Correspondence: [email protected]; Tel.: +34-983-546-504 Received: 14 June 2017; Accepted: 17 July 2017; Published: 20 July 2017 Abstract: In this article, a system for the detection of cracks in concrete tunnel surfaces, based on image sensors, is presented. Both data acquisition and processing are covered. Linear cameras and proper lighting are used for data acquisition. The required resolution of the camera sensors and the number of cameras is discussed in terms of the crack size and the tunnel type. Data processing is done by applying a new method called Gabor filter invariant to rotation, allowing the detection of cracks in any direction. The parameter values of this filter are set by using a modified genetic algorithm based on the Differential Evolution optimization method. The detection of the pixels belonging to cracks is obtained to a balanced accuracy of 95.27%, thus improving the results of previous approaches. Keywords: tunnel inspection; concrete surface; image processing; spatial frequency domain 1. Introduction Traditional methods of tunnel inspection are based on the subjective criteria of a human operator that performs local visual inspection and sensing equipment that usually requires installation and contact with the tunnel surface (plaster indicators, crackmeters, etc.). The visual inspection of 100% of the tunnel surface would be preferred, but this requires the management of a massive amount of information. Therefore, the automatic acquisition and processing of images emerges as the only practical solution. To this end, the development of image processing algorithms capable of detecting the presence of defects in the surface of the tunnel is necessary. In this paper, the automated acquisition and processing of images of 100% of the surface of the tunnel is proposed that improves upon the results obtained with traditional techniques. The management of a large amount of information provided by the image sensors on the entire surface of the tunnel does not allow the manual evaluation of data, so new methods for the automated processing of this data have been developed. The proposed methods allow for the inspecting and detecting of fissures and cracks in the surface of the tunnel. This type of defect is one of the most usual, but also one of the most difficult to detect. The image sensors are mounted onto an inspection platform designed to inspect any rail, highway, or hydraulic tunnel whose surface is made from concrete by tunnel boring machines. The methodology for the inspection of different tunnel typologies and different crack width detection requirements is addressed. A new method based on Gabor filters for the detection of cracks, independently of their direction of growth, is also presented. Sensors 2017,17, 1670; doi:10.3390/s17071670 www.mdpi.com/journal/sensors
Sensors 2017,17, 1670 2 of 16 2. Related Work A number of techniques have focused on the detection of defaults in continuous surfaces by using computer vision-based sensors. Some of these techniques are based on the segmentation of the original image, either by using a fixed threshold as in [ 1 ], a threshold computed from the previous images as in [ 2 , 3 ], or a different threshold for each image column, as in [ 4 ]. Other authors have worked on the previously processed images, as in [ 2 , 5 , 6 ]; some have worked on entropy [ 7 ], where the use of the Hough transform is proposed; or on morphological filters, as in [ 8 ]; or on different edge detection filters, as in [9–11]. More specifically, the detection of cracks has been addressed in many areas, such as the inspection of concrete and asphalt infrastructures. One of the most developed fields is the detection of cracks in roads, these being one of the infrastructures with the largest surface anywhere in the world. The simplest and most common detection method is direct image segmentation, given that cracks are usually darker than the surrounding areas. Morphological filters are then applied to the segmented images in order to join the cracks and remove the segmentation noise, as is done for example in [ 1 ]. Other works have addressed a more elaborate segmentation, such as [ 12 ], where the Neighboring Difference Histogram Method (NDHM), which compares each pixel with the histogram of the surrounding pixels, is used; or [ 6 ], where the images are divided into different zones, to which a modified Otsu thresholding algorithm is applied [ 13 ], and the resulting entropy is computed. Other methods are based on the search for seeds that are merged by taking into account the fact that the cracks appear as elongated structures [ 14 ]. Recently, Convolutional Neuronal Networks has been used to detect cracks, as can be found in [15], where cracks are detected at pixel level. A significant number of works can also be found where the detection of cracks in concrete buildings and infrastructures, especially bridges, is addressed. Four methods for the detection of cracks in concrete bridges are compared in [ 16 ]: Sobel and Canny edge detectors, the Fourier transform, and the Haar wavelet transform. These authors conclude that the Haar wavelet transform is the best performer. A method for detecting cracks in concrete structures is described in [ 17 ]. This method is based on the application of a large number of filters to a database that has previously been processed by hand. The optimal combination of filters to obtain the best possible result is selected using genetic algorithms. In [ 10 ], a method for detecting cracks in concrete surfaces by areascan color sensors, based on different edge detection algorithms, is described. The system can detect cracks with an opening greater than 0.25 mm. The works where cracks are detected inside tunnels differ from the others mainly due to the use of artificial light. Some works are based on thresholding techniques, such as [ 4 ], where the value of each pixel is compared to the average value of the pixels in the column where that pixel is located. The work of Fujita et al. [11], cited above, can be included in this group. The main drawback of these techniques is how to choose the threshold value. The methods for setting the threshold value are usually based on prior knowledge, but these methods are not generalizable and do not usually work properly when applied to real tunnels, where shadows and humidity may occur. Other techniques for detecting cracks in tunnels are based on models, such as the one described above in [ 3 ], using the concept of percolation, or the one presented in [ 18 ], where it is assumed that cracks are formed by line segments joined together. In the second case, the image resolution is 2.5 mm per pixel and can be considered a semi-automatic method, as it needs human intervention to choose the seeds of every crack. There are also some methods based on pattern recognition, such as the one proposed in [ 19 ], where the SVM (Support Vector Machine) algorithm is used to determine whether the preselected areas are really cracks. An inspection system of concrete tunnels composed of nine linear color CMOS cameras, whose images are transformed to gray images for processing, is proposed in [ 8 ]. First, a smoothing filter to remove noise is applied to the gray images. The resulting image is filtered by the top-hat filter to enhance cracks, as they are supposed to be darker than the rest of the image. The threshold
Sensors 2017,17, 1670 3 of 16 for segmenting the filtered image is set by analyzing the distribution of the gray levels of the filtered image. Neighboring pixels are grouped, and shape and gray level features are calculated to determine which groups are really cracks and which are not. For this, four pattern recognition techniques are applied: two neural networks, the SVM algorithm, and the nearest neighbor algorithm. The accuracy of these algorithms is approximately 90%, which was calculated using 200 pixel groups, of which 64 were actually cracks. A total of nine linear cameras of 12,288 pixels acquire images in a subway tunnel covering 270 ◦ of the tunnel, but the tunnel diameter was not available, so the image resolution cannot be determined. Table 1summarizes the described related work. However, in general, the reviewed techniques are often not suitable for the detection of cracks in tunnels. The roughness of the concrete, the shadows derived from this roughness, and the fact that the crack brightness is often similar to that of the surrounding areas mean that these segmentation techniques can hardly provide the required results. In the present paper, a segmentation process based on the localized space-frequency information of the images, obtained using Gabor filters, is presented. Gabor filters have also been used successfully by our research team for the detection of cracks in roads [ 20 ]. However, in this previous work, the sensed images are divided into pieces and the algorithm determines whether there is a crack inside each piece using a variant of the AdaBoost algorithm for training. The present work addresses the use of Gabor filters in a significantly different way. In particular, the classification process is made for every pixel of the image, and the Gabor filter parameters are set using a modified genetic algorithm based on the Differential Evolution optimization method. Moreover, the texture of asphalt roads and concrete surfaces are very different, and while road cracks exhibit longitudinal and transverse preferential directions, tunnel cracks can be oriented in any direction. Therefore, a new method based on Gabor filters, which we have called Gabor filter invariant to rotation, is proposed in the present work for the detection of cracks independent of their direction of growth. Table 1. Summarized comparisons of related work. References Vision Techniques [1–4] Thresholding original images [2,5–11] Thresholding processed images [6,12,13] More elaborated threshold techniques [14,18] Seeds [15] CNN [9–11,16] Edge detectors [17] Genetic algorithms [3,18] Models [19] SVM [20] Gabor filters 3. System Description There are multiple defects that may appear on the surface of the lining of a concrete tunnel. These defects can be classified into four main types: mechanical, chemical, water-related and joint-related defects. Concerning the mechanical defect type, there are fissures that appear in the surface mainly due to the presence of tensions over its resistance capacity. When a fissure traverses the entire element thickness, from side to side, it becomes a crack. Other mechanical defects are detachments or ruptures on precasts, broken off corners, or seen steel frames. Some examples of these defects are shown in Figure 1. Finally, other defects are of a chemical nature, such as carbonation, efflorescence, and other defects related to the presence of water, such as moisture, dripping, and seepage.
Sensors 2017,17, 1670 4 of 16 Sensors 2017, 17, 1670 4 of 16 (a) (b) (c) Figure 1. Mechanical defects in tunnels: (a) fissures; (b) detachments on precasts; (c) seen steel frames. This paper aims to develop a system for the detection of fissures and cracks in tunnels. This type of defect can be identified through visual inspection, but often goes unnoticed during a routine human inspection. In addition, these defects appear at preliminary phases of tunnel deterioration, so their early detection allows preventive actions to be taken, before the problem becomes more severe. Moreover, both fissures and cracks exhibit a similar visual appearance. Therefore, from now on, we will use the term crack for referring to both fissures and cracks. Cracks can be classified into different categories depending on their opening and the apparent damage of the precast, as shown in Table 2. Cracks of type 0 are those with an opening of less than 0.1 mm. Cracks of type A include those with an opening of between 0.1–0.4 mm, that do not reach the intrados steel, and so are of an aesthetic nature. Type B cracks have an opening smaller than 2 mm at their head, pass through the first reinforcement layer, and are stabilized. Finally, type C cracks correspond to the multicracked precasts. Subtype C1 corresponds to cracks without risk of fall or detachment, usually with the presence of moisture or water ooze, and subtype C2 correspond to multicracked precasts with risk of detachment. Table 2. Crack classification on tunnels. Crack Type Subtype Opening (mm) Description 0 <0.1 Usually not taken into account A 0.1–0.4 Do not reach the intrados steel They are of an aesthetic nature B 0.4–2 Pass through the first reinforcement layer They are stabilized C C1 <0.4 Multicracked precasts Cracks without risk of fall or detachment C2 >0.4 Multicracked precasts Cracks with risk of detachment A system for the automatic visual inspection of tunnels consists of three major blocks or stages: image acquisition, processing, and result exploitation. Figure 2 shows these major blocks and the main actions involved in each of them. Image acquisition is addressed in depth in Section 4 of this paper, while the processing techniques for crack detection in concrete tunnels are described in Section 5. The obtained results can be visualized, and reports of the state of the tunnel can be made, allowing engineers to take the pertinent action to repair them. Figure 1. Mechanical defects in tunnels: ( a ) fissures; ( b ) detachments on precasts; ( c ) seen steel frames. This paper aims to develop a system for the detection of fissures and cracks in tunnels. This type of defect can be identified through visual inspection, but often goes unnoticed during a routine human inspection. In addition, these defects appear at preliminary phases of tunnel deterioration, so their early detection allows preventive actions to be taken, before the problem becomes more severe. Moreover, both fissures and cracks exhibit a similar visual appearance. Therefore, from now on, we will use the term crack for referring to both fissures and cracks. Cracks can be classified into different categories depending on their opening and the apparent damage of the precast, as shown in Table 2. Cracks of type 0 are those with an opening of less than 0.1 mm. Cracks of type A include those with an opening of between 0.1–0.4 mm, that do not reach the intrados steel, and so are of an aesthetic nature. Type B cracks have an opening smaller than 2 mm at their head, pass through the first reinforcement layer, and are stabilized. Finally, type C cracks correspond to the multicracked precasts. Subtype C1 corresponds to cracks without risk of fall or detachment, usually with the presence of moisture or water ooze, and subtype C2 correspond to multicracked precasts with risk of detachment. Table 2. Crack classification on tunnels. Crack Type Subtype Opening (mm) Description 0 <0.1 Usually not taken into account A 0.1–0.4 Do not reach the intrados steel They are of an aesthetic nature B 0.4–2 Pass through the first reinforcement layer They are stabilized CC1 <0.4 Multicracked precasts Cracks without risk of fall or detachment C2 >0.4 Multicracked precasts Cracks with risk of detachment A system for the automatic visual inspection of tunnels consists of three major blocks or stages: image acquisition, processing, and result exploitation. Figure 2shows these major blocks and the main actions involved in each of them. Image acquisition is addressed in depth in Section 4of this paper, while the processing techniques for crack detection in concrete tunnels are described in Section 5. The obtained results can be visualized, and reports of the state of the tunnel can be made, allowing engineers to take the pertinent action to repair them.
Sensors 2017,17, 1670 5 of 16 Sensors 2017, 17, 1670 5 of 16 Figure 2. Stages of the automatic visual inspection process. 4. Image Sensors for Crack Detection Concerning data acquisition, the use of linear cameras is recommended in order to simplify lighting and ulterior data processing. These cameras are equipped with a 1D sensor array (instead of the 2D array used in common cameras). The linear cameras must be attached to a mobile platform that travels along the tunnel. The number of cameras, their resolution, and their arrangement will depend on the size and characteristics of the tunnel and on the minimum size of the cracks to be detected. In particular, in order to achieve a uniform resolution along the entire perimeter of the tunnel, the cameras must be arranged radially, i.e., placed on a circumference centered at the tunnel center (for the current tunnel section), and oriented so that their optical axes cross at the said center. Moreover, the inspection elements must be placed in the area of the tunnel free from obstacles, which we will call the Working Area (WA). The radius of the bigger circumference inside this area is the working area radius, R WA . The camera sensor type and the corresponding optics must be selected according to the minimum crack size, as will be explained later. These aspects will determine the working distance, W D , namely the distance between the camera’s optical center and the tunnel surface. In general, this working distance is recommended to be lower than the radius of the tunnel, R T , plus the radius of the working area, R WA , and greater than the radius of the tunnel, R T , minus the radius of the working area, R WA : WATDWAT RRWRR +<<− (1) When the selected working distance is greater than the tunnel radius, the cameras should be placed along half the tunnel section so that their view is not obstructed by the opposite cameras, as described in Figure 3. Moreover, either the system should travel twice along the tunnel or the cameras should be arranged on two different planes. Figure 2. Stages of the automatic visual inspection process. 4. Image Sensors for Crack Detection Concerning data acquisition, the use of linear cameras is recommended in order to simplify lighting and ulterior data processing. These cameras are equipped with a 1D sensor array (instead of the 2D array used in common cameras). The linear cameras must be attached to a mobile platform that travels along the tunnel. The number of cameras, their resolution, and their arrangement will depend on the size and characteristics of the tunnel and on the minimum size of the cracks to be detected. In particular, in order to achieve a uniform resolution along the entire perimeter of the tunnel, the cameras must be arranged radially, i.e., placed on a circumference centered at the tunnel center (for the current tunnel section), and oriented so that their optical axes cross at the said center. Moreover, the inspection elements must be placed in the area of the tunnel free from obstacles, which we will call the Working Area (WA). The radius of the bigger circumference inside this area is the working area radius, RWA. The camera sensor type and the corresponding optics must be selected according to the minimum crack size, as will be explained later. These aspects will determine the working distance, W D , namely the distance between the camera’s optical center and the tunnel surface. In general, this working distance is recommended to be lower than the radius of the tunnel, R T , plus the radius of the working area, RWA, and greater than the radius of the tunnel, RT, minus the radius of the working area, RWA: RT−RWA <WD<RT+RWA (1) When the selected working distance is greater than the tunnel radius, the cameras should be placed along half the tunnel section so that their view is not obstructed by the opposite cameras, as described in Figure 3. Moreover, either the system should travel twice along the tunnel or the cameras should be arranged on two different planes.
Sensors 2017,17, 1670 6 of 16 1 (a) (b) Figure 3. Two examples of camera position distribution, and the portion of the tunnel section covered by each camera. (The field-of-view of the cameras is shadowed in blue). ( a ) Working distance (W D ) is smaller than the radius of the tunnel (R T ) ( b ) Working distance (W D ) is greater than the radius of the tunnel (RT), so only half of the cameras can be placed in the same plane. Concerning camera sensor resolution, common linear cameras range from about 1024 pixels for an e2v AviiVA SM2 1010, for example, to 12,288 pixels for an e2v AviiVA UM8 camera. The number of cameras required for inspection is determined by the actual sensor resolution and the minimum crack size: NC>2PT Wmin CNP (2) In this expression, N C is the number of cameras, P T is the tunnel perimeter, W Cmin is the minimum crack width, and N P is the number of pixels of the camera sensor. Moreover, a (small) overlap between the field of view of two adjacent cameras is recommended to avoid gaps. The necessary sensor resolution that allows the camera to measure these types of crack requires twice the resolution of the image, i.e., to detect cracks 1 mm wide, images with a resolution of at least 2 pixels per millimeter should be acquired. Typical minimum crack values are between 0.1 and 2 mm, which would include most types of cracking defects and cracks in tunnels. Furthermore, appropriate optics must be selected for the chosen camera, so the image can be captured within the established working distance limits, and the tunnel surface can be properly focused. Table 3reports some examples of sensor camera resolution, number of cameras and focal length of the optics recommended for detecting cracks ranging from 0.1 to 2 mm, which cover most expected crack types, for three tunnel types: electricity tunnel, underground tunnel and high-speed train tunnel (sized 3.5 m, 5.3 m, and 10.40 m in diameter, respectively). Both one-pass and two-pass acquisition cases are shown. Finally, the data captured by the cameras should be stored for later analysis. In the worst-case scenario, for the 10.4 m sized, high-speed train tunnel, with 0.1 mm cracks, about 8 TBytes are required to store images from a 1 km tunnel. These storage requirements drop to 0.5 Tbytes in the case of 0.4 mm cracks. The storage requirements drop significantly for the other resolution figures.
Sensors 2017,17, 1670 7 of 16 Table 3. Number of cameras and their recommended sensor resolution for the different tunnel types. Crack Size Sensor Resolution (Pixels) Electricity Tunnel Underground Tunnel High-Speed Train Tunnel No. of Cameras Focal Length (mm) Nb of Cameras Focal Length (mm) No. of Cameras Focal Length (mm) 1 Pass 2 Pass 1 Pass 2 Pass 1 Pass 2 Pass 0.1 mm 12,288 14 7 80 22 11 105 – – – 0.4 mm 8194 6 3 50 8 4 50 –7135 6144 7 4 11 6 –9 1 mm 6144 – 2 28 – 3 28 –4 50 2 mm 4096 – – – 2 28 –3 28 1024 9 5 12 – – – –– – 5. Methodology for Spatial-Frequency Image Analysis by Gabor Filters Invariant to Rotation 5.1. Gabor Filter A two-dimensional Gabor filter is a complex sinusoidal wave modulated by a Gaussian envelope [ 21 ]. The filter performs a localized and oriented frequency analysis of a two-dimensional signal. The spatial domain formulation is, Gσ,F,ϑ(x,y) = gσ(x,y)exp[j2πFx0] wheregσ(x,y) = 1 2πσxσyexp−1 2x0 σx2+y0 σy2 andx0=xcos θ+ysin θy0=−xsin θ+ycos θ (3) where x,yare the spatial coordinates, Fis the central frequency, θ is the angle between the direction of the sinusoidal wave and the x-axis, and σx and σy are the smoothing parameters (standard deviations of the Gaussian envelope in the direction of the wave and orthogonal to it). The frequency domain formulation of the Gabor filter is, Gσ,F,θ(u,v) = exp−1 2(u0−F)2 σ2 u+v02 σ2 v whereσu=1 2πσx,σv=1 2πσy u0=ucos θ+vsin θandv0=−usin θ+vcos θ (4) Four parameters must be set to appropriate values in order to apply a Gabor filter for processing an image: the center frequency, F, the orientation, θ , and two smoothing parameters, σx and σy . We actually aim to enhance the cracks in images, so the filtered image should offer high values in the presence of cracks and low values otherwise. This can be achieved by selecting the frequency value so the corresponding wavelength (2 π /F) approaches the width of the crack, and an orientation value so it matches that of the crack. In turn, smoothing parameters serve to increase or decrease the range of frequencies and orientations to which the filter reacts. 5.2. Gabor Filters Invariant to Rotation Tunnel cracks can exhibit any possible orientation in the image, and a single crack can even exhibit different orientations along its length. Therefore, the design of filters invariant to rotation (i.e., filters that have the same response regardless of the orientation of the cracks) has been addressed in the present work. To do this, a given number of different orientations is assumed, n θ , and a set of values for F, σx , and σy parameters is selected. Then, a filtered image is obtained for each orientation in n θ¡
Sensors 2017,17, 1670 8 of 16 and the remaining parameter values. The resulting filtered-images are combined to obtain a final, single image by taking the maximum value at each pixel, IF ij =MaxIn ij(5) where I F is the final filtered image, I n is the image filtered by the Gabor filter with the n th orientation, and iand jare the columns and rows of the image, respectively. Finally, this resulting image, IF, is segmented by computing a suitable threshold value. An example of the application of the rotation-invariant Gabor filter is shown in Figure 4. The original image and the result of applying the rotation-invariant Gabor filter to it are shown on the left. The Gabor filters applied along 16 orientations (from 0 ◦ to 180 ◦ ) are shown on the right, along with their maximum values (images have been normalized for a better visualization). In this example, F= 0.16 pixels−1 , σx = 2.08 pixels and σy = 17.16 pixels (see Section 6for further details on these values). Sensors 2017, 17, 1670 8 of 16 in n θ¡ and the remaining parameter values. The resulting filtered-images are combined to obtain a final, single image by taking the maximum value at each pixel, () n ij F ij IMaxI= (5) where I F is the final filtered image, I n is the image filtered by the Gabor filter with the n th orientation, and i and j are the columns and rows of the image, respectively. Finally, this resulting image, I F , is segmented by computing a suitable threshold value. An example of the application of the rotation-invariant Gabor filter is shown in Figure 4. The original image and the result of applying the rotation-invariant Gabor filter to it are shown on the left. The Gabor filters applied along 16 orientations (from 0° to 180°) are shown on the right, along with their maximum values (images have been normalized for a better visualization). In this example, F = 0.16 pixels −1 , σ x = 2.08 pixels and σ y = 17.16 pixels (see Section 6 for further details on these values). Figure 4. Example of the application of the rotation-invariant Gabor filter. The original image and the result of applying the rotation-invariant Gabor filter to it are shown on the left. The Gabor filters applied along 16 orientations (from 0° to 180°) are shown on the right, along with their maximum values (a–p). 5.3. Selection of Optimal Parameters by Differential Evolution Algorithm A proper choice of the F, σ x , and σ y parameter values of the Gabor filters is essential to obtain accurate results. In the present work, the use of a genetic algorithm based on the so-called Differential Evolution optimization method is proposed. This algorithm was first introduced by Storn and Price [22], and allows good convergence results to be achieved, to a large extent avoiding falls in local minimums. The algorithm operates in four main steps: Figure 4. Example of the application of the rotation-invariant Gabor filter. The original image and the result of applying the rotation-invariant Gabor filter to it are shown on the left. The Gabor filters applied along 16 orientations (from 0 ◦ to 180 ◦ ) are shown on the right, along with their maximum values (a–p). 5.3. Selection of Optimal Parameters by Differential Evolution Algorithm A proper choice of the F, σx , and σy parameter values of the Gabor filters is essential to obtain accurate results. In the present work, the use of a genetic algorithm based on the so-called Differential Evolution optimization method is proposed. This algorithm was first introduced by Storn and
Sensors 2017,17, 1670 9 of 16 Price [ 22 ], and allows good convergence results to be achieved, to a large extent avoiding falls in local minimums. The algorithm operates in four main steps: 1. Initialization : Generate N p vectors randomly within a given parameter space. Each vector is composed of the variables of the function to be minimized, i.e., the parameters of the image segmentation method whose optimization is looked for. The segmentation method is applied to a set of training images using each of these vectors, and the corresponding result is evaluated. 2. Mutation:Npnew vectors are created by applying, vi,g=xbest,g+F(xr1,g−xr2,g)(6) where iis the vector number, gthe generation number, xthe current vector, and vthe muted one. Moreover, the subscript best refers to the vector that leads to the best results, r1 and r2 are two different values randomly selected within the 0 to N p− 1 range, and Fis a mutation scale vector. The original algorithm proposed by Storn and Price used another random vector, r3, instead of the one leading to the best result, best, and r1,r2,r3, and ishould be different. 3. Recombination : In this step, the mutated vector is recombined with the unmutated one by applying, uji,g=(vji,gif randj[0, 1]≤CR xji,gotherwise (7) where jis the variable number, uis the recombined vector and CR is the probability for a variable to mutate. It must be ensured that at least one variable is mutated, so one variable is initially mutated and the probability is applied to the others. 4. Selection : Finally, the recombined vectors are evaluated and the best performing one, from the original and recombined vectors, are assigned to the next generation as follows: xi,g+1=(ui,gif f(ui,g)<f(xi,g) xi,gotherwise (8) In this expression, fis the function selected to evaluate the vector performance. The whole process is then repeated from point 2 until a stop criterion is matched. The results of the algorithm are improved in the present work by modifying the initialization step of the above-described process (step 1) in such a way that a Gabor filter bank is used, computed as described in [ 20 ], instead of starting from a group of randomly selected vectors. This reduces the possibility of falls in local minimums and reduces the number of generations required to reach the stop criterion. 6. Experimental Results 6.1. Inspection Platform Prototype A mobile platform that travels along the railroad track (see Figure 5) has been developed to test the feasibility of the proposed method. The platform is equipped with an Aviiva SM2 CL 1010 linear camera. Moreover, a Tamron AF 70–300 mm F/4–5.6 Di LD Macro 1:2 optics has been used, along with a 100 W halogen bulb with an AR111 reflector. The selected linear camera has a sensor resolution of 1024 pixels and can acquire up to 54,400 lines per second. The selected optics has a variable zoom that can be set from 70 to 300 mm, so it can be used in tunnels of different diameters. The reflector lighting system allows the light to be concentrated in an 8 ◦ cone. Both the camera and the light source can be oriented in multiple positions, which allows different areas of the tunnel to be acquired with different resolutions. The images of the tunnel surface obtained by using this system are then processed through the crack detection algorithms.
Sensors 2017,17, 1670 16 of 16 17. Nishikawa, T.; Yoshida, J.; Sugiyama, T.; Fujino, Y. Concrete crack detection by multiple sequential image filtering. Comput. Aided Civ. Infrastruct. Eng. 2012,27, 29–47. [CrossRef] 18. Paar, G.; Caballo-Perucha, M.P.; Kontrus, H.; Sidla, O. Optical crack following on tunnel surfaces. In Proceedings of the SPIE 6382, Two- and Three-Dimensional Methods for Inspection and Metrology IV, 638207, Boston, MA, USA, 12 October 2006. 19. Liu, Z.; Suandi, S.A.; Ohashi, T.; Ejima, T. Tunnel crack detection and classification system based on image processing. In Proceedings of the SPIE 4664, Machine Vision Applications in Industrial Inspection X, 145, San Jose, CA, USA, 14 March 2002. 20. Zalama, E.; Gómez-García-Bermejo, J.; Medina, R.; Llamas, J. Road Crack Detection Using Visual Features Extracted by Gabor Filters. Comput. Aided Civ. Infrastruct. Eng. 2014,29, 342–358. [CrossRef] 21. Daugman, J.G. Uncertainty relation for resolution in space, spatial-frequency and orientation optimized by two-dimensional visual cortical filters. J. Opt. Soc. Am. 1985,2, 1160–1169. [CrossRef] 22. Storn, R.; Price, K. Differential Evolution—A Simple and Efficient Heuristic for global Optimization over Continuous Spaces. J. Glob. Optim. 1997,11, 341–359. [CrossRef] 23. Powers, D.M.W. Evaluation: From Precision, Recall and F-Measure to ROC, Informedness, Markedness & Correlation. J. Mach. Learn. Technol. 2011,2, 37–63. 24. Brodersen, K.H.; Ong, C.S.; Stephan, K.E.; Buhmann, J.M. The balanced accuracy and its posterior distribution. In Proceedings of the 20th International Conference on Pattern Recognition (ICPR2010), Istanbul, Turkey, 23–26 August 2010; pp. 3121–3124. 25. Salman, M.; Mathavan, S.; Kamal, K.; Rahman, M. Pavement crack detection using the Gabor filter. In Proceedings of the 16th International IEEE Conference on Intelligence Transportation System (ITSC 2013), The Hague, The Netherlands, 6–9 October 2013; pp. 2039–2044. 26. Zhan, D.; Yu, L.; Xiao, J.; Chen, T. Multi-Camera and Structured-Light Vision System (MSVS) for Dynamic High-Accuracy 3D Measurements of Railway Tunnels. Sensors 2015,15, 8664–8684. [CrossRef] [PubMed] © 2017 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/).