원시데이터 수집 시스템
선정목록으로

A Deep Extractor for Visual Rail Surface Inspection

간접 관련 필름·전자재료 · (15) 디스플레이 패널재료 (11) 배리어 필름(12) 증착 필름

기본 정보

저자
  1. Ziwen Zhang — Beijing Key Laboratory of AISNT, Beijing Jiaotong University, Beijing, China|||Institute of Information Science, Beijing Jiaotong University, Beijing, China
  2. Mangui Liang — Beijing Key Laboratory of AISNT, Beijing Jiaotong University, Beijing, China|||Institute of Information Science, Beijing Jiaotong University, Beijing, China
  3. Zhe Wang — Beijing Key Laboratory of AISNT, Beijing Jiaotong University, Beijing, China|||Institute of Information Science, Beijing Jiaotong University, Beijing, China
DOI
10.1109/access.2021.3055512
저널
IEEE Access
발행년도
2021
발행기관
Institute of Electrical and Electronics Engineers
피인용수
18
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2021.3055512
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W3128847319

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (15) 디스플레이 패널재료
부 분야
(11) 배리어 필름, (12) 증착 필름
R&D 측면
분석·모델링
확신도
0.70
근거 용어
visual inspection, semantic segmentation, defect detection, deep learning, industrial products
판단 근거
본 논문은 철도 레일의 결함을 탐지하는 딥러닝 기반의 시각적 검사 알고리즘을 다루고 있습니다. 이는 코오롱인더스트리의 직접적인 제품은 아니나, 디스플레이 패널(15)이나 필름(11, 12) 등 정밀한 표면 결함 검사가 필수적인 제조 공정의 자동화 및 품질 관리 기술로 전이 적용이 가능합니다.
R&D 활용 포인트
디스플레이 패널, 필름, 인공피혁 등 고부가가치 소재의 표면 결함(스크래치, 이물 등)을 실시간으로 탐지하는 AI 비전 검사 시스템 고도화에 활용 가능합니다.
평가 입력
본문 59,666자 중 30,032자 발췌

초록

Rail surface inspection using a visual inspection system is an important task in the maintenance of railway networks. Recent inspection approaches have attempted to harness low-level features to identify visual defects. These methods' main issues are the limitations of low-level features and prior information about rail surfaces that show a wide variety of visual appearances on dynamic backgrounds. To overcome these problems, we propose a deep extractor (DE) that combines the strengths of fully convolutional networks and conditional random fields (CRFs), so that the deep network can learn the abstract features needed for the specified inspection task. Specifically, motivated by fully convolutional networks, a bilateral fully convolutional network containing two branches is proposed here: one encode-decode branch focuses semantic meaning; the other decode-encode branch encodes information on tiny defects. The two branches are aggregated to obtain a high-level feature map. Furthermore, the mean-field inference of a dense CRF with Gaussian pairwise potentials formulated as a recurrent neural network (CRF-RNN) is introduced to contribute to smoothing constraints and obtaining a fine-grained inspection result. By doing so, it can avoid offline post-processing and further lead the whole deep architecture to achieve end-to-end deep learning. Compared with classical approaches, our approach outperforms state-of-art approaches in analyzing two publicly available datasets.

본문 59,666자

본문 펼치기
Received January 8, 2021, accepted January 24, 2021, date of publication January 29, 2021, date of current version February 8, 2021. _Digital Object Identifier 10.1109/ACCESS.2021.3055512_ # A Deep Extractor for Visual Rail Surface Inspection ZIWEN ZHANG, MANGUI LIANG, AND ZHE WANG Institute of Information Science, Beijing Jiaotong University, Beijing 100044, China Beijing Key Laboratory of AISNT, Beijing Jiaotong University, Beijing 100044, China Corresponding author: Mangui Liang (mgliang58@gmail.com) This work was supported in part by the Joint Project of the National Natural Science Foundation of China under Grant U1636109, and in part by the National High-Tech Research and Development Plan of China under Grant 2007AA01Z203. ABSTRACT Rail surface inspection using a visual inspection system is an important task in the maintenance of railway networks. Recent inspection approaches have attempted to harness low-level features to identify visual defects. These methods’ main issues are the limitations of low-level features and prior information about rail surfaces that show a wide variety of visual appearances on dynamic backgrounds. To overcome these problems, we propose a deep extractor (DE) that combines the strengths of fully convolutional networks and conditional random fields (CRFs), so that the deep network can learn the abstract features needed for the specified inspection task. Specifically, motivated by fully convolutional networks, a bilateral fully convolutional network containing two branches is proposed here: one encode–decode branch focuses semantic meaning; the other decode–encode branch encodes information on tiny defects. The two branches are aggregated to obtain a high-level feature map. Furthermore, the mean-field inference of a dense CRF with Gaussian pairwise potentials formulated as a recurrent neural network (CRF-RNN) is introduced to contribute to smoothing constraints and obtaining a fine-grained inspection result. By doing so, it can avoid offline post-processing and further lead the whole deep architecture to achieve end-to-end deep learning. Compared with classical approaches, our approach outperforms state-of-art approaches in analyzing two publicly available datasets. INDEX TERMS Rail inspection, computer vision, discrete surface defects, fully convolutional networks, conditional random fields. I. INTRODUCTION Inspecting rail surfaces, a part of general rail inspection, plays an important role in daily rail maintenance. Surface defects must be carefully inspected, as they are potential causes of accidents, sharply increase wheel–rail forces, and induce significant traffic noise. Historically, inspection was mostly by professional observers using special calipers. This is expensive, time-consuming, somewhat subjective, and even dangerous [1], [2]. Therefore, the development of automatic and nondestructive inspection systems is strongly driven by practical requirements. Visual inspection systems [3] benefit from being nondestructive and intuitive to use, and have received much attention in a variety of industrial settings [4]. They have been applied to aspects of rail inspection (such as track-profile The associate editor coordinating the review of this manuscript and approving it for publication was Chih-Yu Hsu . measurement [5], gauge measurement [6], bogie block key inspection [7], fastening elements inspection [8]–[10], and track surface detection [11]) and also to a wide range of very diverse products (such as food cans [12], LCD panels [13], large-aperture optical elements [14], electromechanical parts [15], and film capacitors [16]). This study focuses on a promising and nondestructive system for the particular task of inspecting rail surfaces for discrete defects (RSDDs). Although visual inspection has attracted much attention and achieved impressive success, three factors pose specific challenges: inhomogeneous illumination leading to dynamic backgrounds, reflection variability leading to low contrast and blurry contours of defects, and noise induced by the system [17]. However, in comparison to the other fault inspection tasks mentioned above, identifying RSDDs is more difficult, because it involves the additional considerations of limited visual features and prior information being available for recognition and detection. The most reliable visual feature to distinguish discrete defects from a dynamic background is local gray-level information. In addition, RSDDs always appear in a random or arbitrary manner with various shapes and sizes. The task limitations prevent inspection systems from adopting most object recognition methodologies based on sophisticated texture and shape features [18]. That is to say, although RSDD inspection can be essentially regarded as a target detection problem, the targets do not share common texture or shape features and usually lack adequate prior information. Several RSDD inspection methods have been proposed in recent years. One way to model this kind of fault is using a combination of contrast enhancement and localization [3], [18], [19]. This involves first enhancing the contrast between defects and the background, then finding the desired defects using a localization algorithm such as projection profile (DLBP) and adaptive threshold binarization. Specifically, the method of LN+DLBP first enhances contrast between defects and background using the local normalization (LN) algorithm, and then identifies possible defects by the defect localization based on projection profile (DLBP) algorithm. Instead, the method of MLC+PEME uses Local Michelson-like contrast (MLC) and proportion emphasized maximum entropy (PEME) algorithms. In addition, a new inverse Perona–Malik diffusion model presented for image enhancement [19] provides an adaptive threshold binarization to identify desired defects. These methods focus on enhancing defects, and have achieved promising performance under their experimental setup. However, these algorithms are greatly affected by irregulars (i.e., noise points), and generate many false positives when handling complex rail surface images with various appearances of defects and dynamic backgrounds. Accordingly, some previous works [17], [20] have posed this problem in an alternative way to explore the characteristics of the background rather than the defects. These methods treat a railway line as a whole, and focus on homogeneous background modeling by considering spatio-temporal characteristics. Specifically, the method of coarse-to-fine extractor (CFE) [17] obtains background modes that based on a mean shift algorithm. It is computationally expensive. Background-oriented defect inspector (BODI) [17], [20] builds a background model for each longitudinal line by randomly taking a collection of pixels along it. The underlying idea is that it is more reliable to estimate the statistical distribution of a background pixel with a small number of close values than with a majority of all values. Experiments have shown promising performance, demonstrating somewhat robust inspection. However, the background is usually dynamic and complex due to variable illumination, weather, or camera shake, which makes background modeling significantly challenging. Experimental results have shown that railway lines with dynamic backgrounds greatly affect these background modeling-based methods. The robustness of these traditional algorithms for RSDD inspection is somewhat limited, and achieving robust detection remains an open problem. Developments of computing performance and technology have allowed the simulation of the learning processes of the human brain to become a hot research topic, especially the simulation of neurons to build networks. Deep learning has a great influence in the field of computer vision, and it is widely used in the field of industrial defect detection, e.g. track fastener recognition [9], [10]. Generally, traditional machine vision algorithms usually deal with features that are easy to extract and easy to quantify, such as color, area, roundness, angle, length, etc. That is to say, it is difficult for traditional machine learning algorithms to model and migrate the features completely for various of defects. However, with the development of deep learning, many features that are difficult for the human eye to directly quantify can be automatically learned by deep learning. There are many features that we cannot quantify through traditional algorithms, or that are difficult to achieve, deep learning can handle them. Representative works [21], [22] have revolutionized deep-learning methods, promoting developments in the field of machine learning and pattern recognition, such as image recognition [23], [24], object detection [25]–[27], and image segmentation [28], [29]. Convolutional neural networks (CNNs), a specialized area of deep learning, apply a convolution operation to an artificial neural network, and utilize local perception and weight sharing at the same time. This makes them potentially useful for inspection problems. The key insight is to learn a strong feature representation end-to-end for the pixel-level labeling task instead of handcrafting features with heuristic parameter tuning. Although CNN-based methods have achieved great success, the following two points are relevant to the task of RSDD inspection. - Generally, deeper CNNs have much more semantic meaning. However, most of the desired defects in a rail surface are quite small. Therefore, traditional CNNs such as FCN [28] and DeepLab [29] can further reduce the chance of getting a fine segmentation output. - Defects in a rail surface are compact. However, CNNs lack smoothness constraints that encourage label agreement between similar pixels and spatial and appearance consistency of the labeling output. Lack of such smoothness constraints can result in poor object delineation and small spurious regions in the segmentation output [30], [31]. In this paper, we propose a deep extractor (DE) for RSDD inspection. As presented in Figure 1, the DE first uses CNNs to obtain a high-level feature map, and then employs conditional random fields (CRFs) inference to refine weak and coarse pixel-level label predictions and produce finegrained segmentations. In order to handle the inspection of tiny defects, a bilateral fully convolutional network (biFCN) containing two branches is proposed here. Specifically, one branch, similar to FCN, adopts a regular encoder–decoder procedure to extract high-level meaning from the whole image. The other branch, like inverse FCN, adopts a decoder– encoder procedure to supplement missed defect information. FIGURE 1. The end-to-end trainable network. Schematic visualization of the proposed framework which consists of a bilateral fully convolutional network and a CRF-RNN network. The output two feature maps are aggregated to obtain a high-level feature map. As semantic meaning and detailed information of tiny defects could be trained and encoded automatically, the biFCN framework is potentially more suitable for the specified inspection task. Furthermore, mean-field inference of dense CRFs with Gaussian pairwise potentials reformulated as a recurrent neural network (CRF-RNN) is applied to overcome the drawbacks of using CNNs for pixellevel labeling tasks. Overall, our DE combines the strengths of both biFCN and CRF-RNN in a unified framework, giving the whole deep architecture an end-to-end deep-learning solution for the pixel-level semantic image segmentation problem. We evaluated the proposed method on the Type-I and Type-II RSDD datasets. The experimental results show that the DE achieves a significant improvement in accuracy, demonstrating its superiority over two baseline methods for rail inspection. Considering the current literature, this paper makes three main contributions. First, an end-to-end deep architecture for RSDD inspection is proposed. The core idea is that CNNs perform feature extraction to produce a coarse map that is later refined by the CRF. Although the proposed architecture is general, this is the first study to introduce a deeplearning framework to the field of rail surface inspection and to demonstrate its superiority over baseline methods. Second and most important, a biFCN containing two branches is proposed. In comparison with standard fully CNNs, the biFCN introduces an additional decode–encode branch to encode information about tiny surface defects to a certain extent. By doing so, the two branches can complement each other, and experimental results demonstrate the proposed method’s advantages. Third, the proposed architecture combines the strengths of both biFCN and CRF-RNN in a unified framework; this end-to-end learning for the whole image makes our architecture more suitable for this specific task than the baseline methods. The remainder of this paper is organized as follows. Section II gives the overview of the proposed method and describes details. The experimental setup and results are presented in Section III. Our conclusions follow in Section IV. II. RELATED WORKS The RSDD inspection problem is related to the topic of the semantic segmentation [32]. Semantic segmentation, as a step towards scene understanding, is a challenging problem in computer vision. It refers to the task of assigning semantic labels, such as person and sky, to every pixel within an image. Recently, Deep Convolutional Neural Networks (DCNNs) [23], [24] have significantly improved the performance of semantic segmentation systems. In particular, Most state-of-the-art semantic segmentation models are based on FCN [28], [29]. The detailed object boundary information is usually missing due to the pooling or convolutions with striding operations within the network. To alleviate the problem, one could apply the encoder-decoder structures [33]–[37] to capture the context information in the encoder path and recover high resolution features in the decoder path. Another alternative is to harness the attention mechanism [38]–[40] to explore multi-scale features. Deeplabv3+ [41] adds a simple decoder module to capture local context, refining the segmentation results. PSPNet [42] applies the global average pooling in their Spatial Pyramid Pooling module to collect global context. BiSeNet [43] adds the global pooling on the top of the encoder structure to capture the global context. The works [40], [44], [45] adopt self-attention mechanism to model the relationship of features, which can select the channel maps effectively to refine segment boundaries. Specifically, SPGNet [40] employs the ‘‘superviseandexcite’’ framework, where the local features are guided by the semantic supervision. CCNet [45] adaptively captures contextual information on the criss-cross path for each pixel. Please refer to [46] for a complete overview on the subject. Although the detection object in our work is similar to semantic segmentation, it should be noted that RSDD inspection faces two challenging factors as aforementioned. Therefore, rather than these sophisticated algorithms, the specified characteristics of track will be completely explored in our method to meet the high inspection performance in the rail inspection field. III. METHOD As there are many different challenges in RSDDs inspection, a robust and discriminative feature representation are required. Since deep neural network have strong representation power of images, we will introduce our deep neural network named as deep extractor (DE) for RSDDs inspection, as follows. _A._ _BILATERAL FULLY CONVOLUTIONAL NETWORK_ It is generally accepted that the network depth plays a key role in deep neural networks’ learning of abstract features [24], [47]. However, two concerns must be taken into account. One is that the specified inspection task prefers a shallow backbone network, considering the inference speed and limited training samples. On the other hand, semantic meaning and detailed information of tiny defects could be trained and encoded automatically, considering the chance of tiny defects appearing in the rail surface. Accordingly, bilateral fully convolutional network (biFCN) containing two components ( _i.e._, inverse fully convolutional network (iFCN) and two branches scheme) is proposed, as illustrated in Figure 2. FIGURE 2. Flow diagram of the bilateral fully convolutional network. 1) INVERSE FULLY CONVOLUTIONAL NETWORK As mentioned above, defects in rail surface images have various appearances, complicating inspection. Inspired by UNet [48], which has been successfully used for biomedical image segmentation, we propose the iFCN as a novel elegant architecture for RSDD inspection. Like biomedical image analysis, finding defects in rail surfaces also encounters limited training image samples, and the defects also appear with various shapes and sizes. Therefore, the architecture we design should employ a shallow network to avoid the risk of overfitting. On the other hand, it should pay close attention to encoding into the network information related to tiny defects. FIGURE 3. The structure of the proposed inverse fully convolutional network. As shown in Figure 3, iFCN considers upsamplingdownsampling procedure to encode detail information of tiny defects. Generally, it is assumed that the semantics of rail surface images are relatively simple and the structure is relatively fixed. For example, the structure of a rail surface mostly comprises a relatively consistent background, and the semantic information is not particularly rich. Unlike UNet, iFCN’s encoder is up-sampled twice, a total of four times. Symmetrically, its decoder is also down-sampled twice to restore the high-level semantic feature map obtained by the encoder to the resolution of the original image. Specifically, the encoder path follows the typical architecture of a convolutional network. It consists of two staked operations, each of which contains a 2 × 2 max pooling with stride 2 for upsampling and the conv block as shown in Figure 4, we will detail the conv block next. Following UNet, at each upsampling step we double the number of feature channels. At the decoder path, every step consists of an downsampling of the feature map followed by 2 × 2 convolution (‘‘downconvolution’’), concatenation with the corresponding feature map from the encode path, and the conv block. Note that the skip connection ensures that the final recovery of the feature map integrates more low-level features; it also enables the integration of features of different scales. Another important concern is that the defects in rail surfaces appear in a random or arbitrary manner. Further, a reasonable and useful of lightweight network should enhance the feature representation power. Several previous works [49]–[53] have imitated the mechanism of receptive fields in the human visual system to enhance feature representation by lightweight models. The mechanism helps to highlight the importance of the region near to the center and increase insensitivity to small spatial shifts. Inspired by the structure of receptive fields in human visual systems, the conv block used in iFCN is illustrated in Figure 4. The inner structure of the conv block can be divided into two components: a multi-branch convolution layer with different kernels and trailing dilated pooling or convolution layers. At each branch, the convolution layer of a particular kernel size is followed by a pooling or convolution layer with a corresponding dilation. The kernel size and dilation have a similar positive functional relation to that of the size and eccentricity of population receptive fields in the visual cortex. Eventually, the feature maps of all the branches are concatenated, merging into a spatial pooling or convolution array. To be specific, first, we employ a bottleneck structure in each branch, consisting of a 1 × 1 conv layer, to decrease the number of channels in the feature map plus an _n_ × _n_ conv layer. Second, we replace the 5 × 5 conv layer with two stacked 3 × 3 conv layers to reduce parameters and deeper FIGURE 4. The structure of a shortcut connected block with multiple branches. This conv block employs multi-branch pooling with varying kernels corresponding to receptive fields of different sizes; it applies dilated convolution layers to control their eccentricities, and reshapes them to generate the final representation. non-linear layers. For the same reason, we use a 1 × _n_ plus an _n_ × 1 conv layer to replace the original _n_ × _n_ conv layer. Ultimately, we apply a shortcut design. The basic intention of this atrous convolution layer is to generate feature maps of a higher resolution, capturing information at a larger area with more context while keeping the same number of parameters. As we can see, the conv block considers the relationship between the size and eccentricity of the receptive field to enhance feature discrimination and robustness. 2) TWO BRANCHES SCHEME As presented in Figure 2, biFCN considers two branches: inverse fully convolutional network (iFCN) and regular fully convolutional network (rFCN). rFCN adopts a regular encoder–decoder procedure to extract high-level meaning from the whole image, while iFCN adopts a decoder–encoder procedure to supplement missed defect information. The output two feature maps are aggregated to obtain a high-level feature map. As compared with FCN, biFCN considers another branch with a complementary decoder–encoder procedure. It considers upsampling first, and then downsampling provides supplementary information. As the encode–decode procedure focuses on the background, the decode–encode branch can provide more-refined features of defects. The two branches complement each other: one extracts semantic information at a high level; the other pays more attention to encoding information on tiny defects. The final stage of biFCN is aggregating the output feature maps using element-wise summarization, strengthening the deep features learned from defect information. Therefore, biFCN can facilitate fast and accurate inspection. The final layer uses a 1 × 1 convolution to map the aggregation feature map to the desired number of classes. _B._ _CRF-RNN_ As already mentioned, CNNs lack smoothness constraints, which can result in ambiguous edge information for defects. For segmentation, adjacent pixels that are only slightly different are encouraged to share the same category label. Conversely, if adjacent pixels are largely different, they would likely belong to different classes. CRFs, as probabilistic graphical models, have been developed for the effective enhancement of constraint information in pixel-level labeling tasks. The key idea of CRF inference for semantic labeling is to formulate the label assignment problem as a probabilistic inference problem that incorporates assumptions such as label agreement between similar pixels. Unlike a convolution layer that employs local filters, the CRF looks at every possible pair of pixels in the image, also known as a clique. The CRF is a graphical model, where every clique is defined not only by the spatial distance between pixels but also by their distance in color space. This allows the CRF to produce a segmentation with much sharper edges when compared with only using CNNs. In the neural network, the CRFs, which are formulated as a RNN, can provide constraint information for pixels [54]. We assume that _xi_ is the random variable associated with pixel _i_, which represents the label assigned to the pixel and can take any value from a pre-defined set of labels [0 _,_ - · · _, l,_ - · · _, L_ ]. In the fully connected pairwise CRF model of [55], the energy of a label assignment x is given by where each _kG_ <sup>(</sup> <sup>_m_</sup> <sup>)</sup> for _m_ = 1 _, . . ., M_ is a Gaussian kernel applied on the feature vectors. The feature vector of pixel _i_, denoted by f _i_, contains its spatial location and RGB values. The label compatibility function _µ_ ( _xi, xj_ ) captures the compatibility between different pairs of labels. Minimizing the above CRF energy E( x ) yields the most probable label assignment x for the given image. As this exact minimization is intractable, a mean-field approximation to the CRF distribution is used for approximate maximum posterior marginal inference. Let _Ui_ ( _l_ ) denote the negative of the unary energy _ψµ_ ( _xi_ ): i.e., _Ui_ ( _l_ ) = - _ψµ_ ( _xi_ ). The individual steps of the mean-field algorithm are outlined in Algorithm 1. The main contribution of the CRF-RNN [54] is that mean-field iteration can be reformulated as a stack of CNN layers. Once the individual steps of the algorithm are _i_ <sup>_ψµ_</sup> <sup>(</sup> <sup>_xi_</sup> <sup>) +</sup> _i<j_ <sup>_ψp_</sup> <sup>(</sup> <sup>_xi, xj_</sup> <sup>)</sup> <sup>_,_</sup> (1) E( x ) = where the unary energy components _ψµ_ ( _xi_ ) measure the inverse likelihood (and therefore, the cost) of pixel _i_ taking the label _xi_, and pairwise energy components _ψp_ ( _xi, xj_ ) measure the cost of assigning labels _xi, xj_ to pixels _i, j_ simultaneously. Note unary energies are obtained from our biFCN, which, roughly speaking, predicts labels for pixels without considering the smoothness and the consistency of the label assignments. The pairwise energies provide an image datadependent smoothing term that encourages assigning similar labels to pixels with similar properties. Pairwise potentials as weighted Gaussians are defined as _ψp_ ( _xi, xj_ ) = _µ_ ( _xi, xj_ ) _M_ _m_ =1 _ω_ <sup>(</sup> <sup>_m_</sup> <sup>)</sup> _kG_ <sup>(</sup> <sup>_m_</sup> <sup>)(</sup> <sup>f</sup> <sup>_i,_</sup> <sup>f</sup> <sup>_j_</sup> <sup>)</sup> <sup>_,_</sup> (2) <u>Algorithm 1</u> <u>CRF Mean-Field Approximation</u> Initialize Q : _Qi_ ( _l_ ) ← _Z_ <sup><u>1</u></sup> _i_ <sup>exp{</sup> <sup>_Ui_</sup> <sup>(</sup> <sup>_l_</sup> <sup>)} for all</sup> <sup>_i_</sup> <sup>;</sup> 1: while not converged do 2: _Q_ ˜ <sup>(</sup> _i_ <sup>_m_</sup> <sup>)</sup> <sup>(</sup> _i_ <sup>_m_</sup> <sup>)</sup> ( _l_ ) ← _�j_ ̸= _ik_ <sup>(</sup> <sup>_m_</sup> <sup>)</sup> ( f _i,_ f _j_ ) _Qj_ ( _l_ ) for all _m_ ; 3: _Q_ ˆ _i_ ( _l_ ) ← _�l_ ′∈ _Lµ_ ( _l, l_ <sup>′</sup> ) _�mω_ <sup>(</sup> <sup>_m_</sup> <sup>)</sup> _Q_ ˜ <sup>(</sup> _i_ <sup>_m_</sup> <sup>)</sup> 4: _Q_ ˘ _i_ ( _l_ ) ← _Ui_ ( _l_ ) −ˆ _Qi_ ( _l_ ); <sup>(</sup> _i_ <sup>_m_</sup> <sup>)</sup> ( _l_ ); 5: _Qi_ ← _Z_ <sup><u>1</u></sup> 6: <u>end while</u> _Z_ <sup><u>1</u></sup> _i_ <sup>exp{ ˘</sup> <sup>_Qi_</sup> <sup>(</sup> <sup>_l_</sup> <sup>)};</sup> broken down as CNN layers, the full algorithm can then be formulated as an RNN. While reformulating the steps of the inference algorithm as CNN layers, it is essential to be able to calculate error differentials in each layer with respect to its inputs in order to be able to back-propagate the error differentials to previous layers during training. On one hand, CRF inference is able to refine weak and coarse pixel-level label predictions to produce sharp boundaries and fine-grained segmentations. Therefore, intuitively, CRFs can be used to overcome the drawbacks of utilizing CNNs for pixel-level labeling tasks. On the other hand, importantly, the whole deep network— which comprises a traditional CNN and an RNN for CRF inference—can be trained end-to-end using the usual backpropagation algorithm. _C._ _IMPLEMENTATION DETAILS_ The input images and their corresponding segmentation maps are used to train the network using mini-batch stochastic gradient descent with Nesterov momentum. The energy function is computed by a pixel-wise soft-max over the final feature map combined with the cross entropy loss function. We train the network with a momentum of 0.9, a weight decay of 0.0005, and mini-batches of size 16. Due to the small dataset, we initialize the learning rate as 0.0001 and run the stochastic gradient descent algorithm, but reduce the learning rate by a factor of 0.1. Note that defect inspection is essentially a two-category classification problem such that each soft-max layer outputs a two-dimensional feature map. The complete architecture is implemented and trained end-to-end in PyTorch. In deep networks with many convolutional layers and different paths through the network, a good initialization of the weights is extremely important. Otherwise, parts of the network might give excessive activations, while other parts never contribute. Ideally, the initial weights should be adapted such that each feature map in the network has approximately unit variance. Following UNet [48], the initialization of convolution layers can be achieved by drawing the initial weights from <u>a</u> Gaussian distribution with a standard deviation of ~~√~~ 2 _<u>/N</u>_, where _N_ denotes the number of incoming nodes of one neuron [56]. For the current task very few training data are available. Therefore, we use excessive data augmentation by applying elastic deformations to the available training images. This allows the network to learn invariance to such deformations, without the need to see these transformations in the annotated image corpus. Random elastic deformations of the training samples seem especially to be the key concept to train a segmentation network with very few annotated images. We generate smooth deformations using random displacement vectors on a coarse 3 × 3 grid. The displacements are sampled from a Gaussian distribution with 10 pixels standard deviation. Per-pixel displacements are then computed using bicubic interpolation. Drop-out layers at the end of the contracting path perform further implicit data augmentation. Although our architecture consists of biFCN and CRF-RNN, the parameters are able to be updated end-to-end. For training, we fine-tune the two parts separately for each due to the small number of training samples. In particular, we freeze CRF-RNN, and tune the biFCN, ensuring that the convergence is fast so as to reduce the risk of over-fitting. After training the biFCN architecture, we freeze it by further training the CRF-RNN. Note that the mean-field iterative algorithm for dense CRF converges in less than 10 iterations. In practice, we train CRF-RNN in about five iterations. This kind of processing makes the architecture straightforward, and ensures it is efficiently trained and tested. IV. EXPERIMENTAL RESULTS AND ANALYSIS This section details the experimental setup and reports the performance of the proposed method. _A._ _EXPERIMENTAL SETUP_ To evaluate the performance of our method for RSDD inspection, we implemented the proposed method in Pytorch and tested it on two publicly available datasets. <sup>1</sup> The first is the Type-I RSDD dataset, comprising 67 images of express rails. The second, the Type-II RSDD dataset, contains 128 images of common/heavy haul rails. Note that each image from both datasets contains at least one defect and has a dynamic background with much noise. Example images from both datasets are shown in Figure 5. A random selection of 80% of the images in each dataset was used for training the proposed method; the remaining images formed the testing set for performance assessment. As noted above, random elastic deformations of the training samples augmented the dataset, similar to the way UNet handled the same problem of limited training samples for biomedical image segmentation. All experiments were repeated five times under a constant ratio of training to testing data, and the average inspection performances are reported. To quantitatively evaluate the proposed DE method, we adopted the criteria of _Precision_ _(Pre)_, _Recall_ _(Rec)_, and _F-measure_ _(F)_, which are widely used in pattern recognition and information retrieval [57]. Two further evaluation indices that consider different perspectives (i.e., pixel-level and defect-level) were also adopted to complete the evaluation of DE for RSDD inspection. 1The two datasets and the folds used in this paper are available at http://icn.bjtu.edu.cn/Visint/resources/RSDDs.aspx TABLE 1. Comparative results of FCN, FCN+CRF-RNN, biFCN and our method. FIGURE 5. Example rail surface images from (a) the Type-I RSDD dataset and (b) the Type-II RSDD dataset. Pixel-level index. _Pre_, _Rec_, and _F_ are defined as _Pre_ = _TP/_ ( _TP_ + _FP_ ) _,_ _Rec_ = _TP/_ ( _TP_ + _FN_ ) _,_ and _F_ = 2 ∗ _Pre_ ∗ _Recall/_ ( _Pre_ + _Rec_ ) _,_ (3) where _TP_ denotes the number of correctly detected defect points, _FP_ is the number of points falsely declared to be defects, and _FN_ is the number of undetected defect points. _Precision_ and _Recall_ are inversely related; i.e., it is possible to increase one at the cost of reducing the other. Hence, _F-measure_ is introduced, a greater value of which indicates the more the detection result is consistent with human judgment. Note that the following reported _Pre_, _Rec_, and _F_ values are averages for the whole dataset. Defect-level index. _Pre_ <sup>′</sup>, _Rec_ <sup>′</sup>, and _F_ <sup>′</sup> are defined as _Pre_ <sup>′</sup> = _TP/P,_ _Rec_ <sup>′</sup> = _TP_ <sup>′</sup> _/N_ _,_ and _F_ <sup>′</sup> = 2 ∗ _Pre_ <sup>′</sup> ∗ _Rec_ <sup>′</sup> _/_ ( _Pre_ <sup>′</sup> + _Rec_ <sup>′</sup> ) _,_ (4) where _TP_ is as above, _TP_ <sup>′</sup> is the number of correctly detected defects mapping to the ground truth, _P_ refers to the total number of detected defects, and _N_ refers to the total number of labeled defects in the ground truth. At this level, a detected defect is regarded as correct if it overlaps a labeled defect in the corresponding image more than 80%; otherwise, it is wrong. Note that the counted numbers in _Pre_ <sup>′</sup> and _Rec_ <sup>′</sup> are for the whole dataset. _B._ _ABLATION STUDY_ To verify the effectiveness of biFCN and CRF-RNN, we conduct ablation study using the collected dataset. These comparative methods are FCN and biFCN (i.e., both methods without post-process strategy of CRF). In addition, we also use FCN models equipped with post-process strategy of CRF strategy for comparison. In order to be clarity, we named the comparative method as FCN+CRF-RNN. The parameters of these comparative methods were learnt under the same experimental setup of our method. As shown in Table 1, the _F-measure_ s of the proposed model is much higher than that of the FCN model, which achieves the best performance of these baseline methods. Note that biFCN shows better performance than FCN in both RSDD datasets, indicating that the advantages of bilateral fully convolutional network strategy. The comparison of biFCN+CRF-RNN and biFCN (or FCN and FCN+CRF-RNN) verifies the effectiveness of post-process strategy of CRF strategy. Interestingly, it is also found that the improvements of bilateral fully convolutional network strategy is higher than that of CRF-RNN. This result demonstrates biFCN that is capable of extracting high-level meaning and encoding varied information about defects is quite effective. _C._ _TYPE-I RSDD DATASET_ We compare the inspection performance of the DE method with four well-established methods, LN+DLBP, method in [19], CFE [17] and BODI [20]. Their parameters are set as the default values. Specifically, the upper bound of defect proportion _dp_ is set to 0.3 in LN+DLNP; the gradient threshold _k_ and control parameter _C_ in [19] is set as _k_ = 10 and _C_ = 5, respectively. Note that the threshold _T_ is an important parameter for CFE and BODI methods. It is set as 53 for CFE and 3.2 for BODI, values that give a good balance between _Precision_ and _Recall_ in each case. Figure 6 visualizes some selected defects in the Type-I RSDD dataset and the corresponding inspection results for the different methods. Only defect parts of the rail surface images are shown for convenience of display. These comparative methods have good inspection results when the defects are universal and the background consistent. CFE and BODI methods pose this problem in an alternative way to explore the characteristics of the background and focus on background modeling rather than defect contrast enhancement [3], [18], [19] to achieve promising performances. BODI showed some false negatives FIGURE 6. Sample defect images and inspection results from using different methods on the Type-I RSDD dataset: (1) defect part, (2) ground truth, (3) LN+DLBP, (4) Method in [19], (5) CFE, (6) BODI, (7) our method. (Note: defect detected in LN+DLBP is marked by a red bounding box). and false positives for rails with varying appearance, because the modeled background determined by a random selective strategy was not optimal. The comparison results show that our DE method obtained the best matched contour with the ground truth, without false positives or false negatives. TABLE 2. Comparison of our DE method with LN+DLBP, method in [19], CFE and BODI for the Type-I RSDD dataset. Table 2 lists results for two types of performance evaluation index. It is worth mentioning that LN+DLBP adopts projection algorithm to locate defects by bounding boxes, and method in [19] detects contours to locate possible defects. Therefore, pixel-level index is not suitable for the two methods. It is shown that BODI was inferior to CFE in terms of TABLE 3. Comparison of our DE method with LN+DLBP, method in [19], CFE and BODI for the Type-II RSDD dataset. inspection performance. This was because the background modes obtained by the mean shift algorithm in CFE achieved better representation power than the random selective strategy of BODI. Generally, CFE and BODI had low _Pre_ and _Pre_ <sup>′</sup> for backgrounds with largely varying gray-level distributions, because of low-level feature representation. The listed _F-measure_ s ( _F_ and _F_ <sup>′</sup> ) of the DE method are around 3% and 2% higher, respectively, than those of the baseline methods. Our method performed much better than the comparaitve methods in terms of pixel-level index and defectlevel index, verifying its effectiveness and illustrating its promising ability for this kind of fault inspection task. _D._ _TYPE-II RSDD DATASET_ The five methods’ inspection performances are next compared for the type-II RSDD dataset. The four baseline methods used default parameter values, and the threshold parameter _T_ was set to 74 and 4.1 for CFE and BODI, respectively, giving a good balance between _Precision_ and _Recall_ . The upper bound of defect proportion _dp_ is set to 0.3 in LN+DLNP; the gradient threshold _k_ and control parameter _C_ in [19] is set as _k_ = 4 and _C_ = 5, respectively. It is worth mentioning that the learned parameters of our method are also applicable to this data set. Figure 7 displays the methods’ results. As expected, all methods showed competitive performance for defects that share universal characteristics. In comparison to the Type-I dataset, the Type-II dataset had a more consistent background, but more complex defects involving various appearances within each defect and differing characteristics shared among the defects. Thus, method in [19] performs poor in such various defects, and is not able to find its accurate contours. Besides, LN+DLBP is also not successful in such various defects, and locates with bias. Both CFE and BODI performed poorly for complex defects. Therefore, the performance improvement of our method was particularly pronounced for such varied and small defects, because our method can effectively capture their representative patterns and structures. The evaluation indexes in Table 3 further evaluate DE through comparison with the other methods. LN+DLBP and method in [19] are also only evaluated by defect-level index. Method in [19] performs worse than other methods, due to the various appearances of defects as aforementioned. As expected, BODI performed worse than CFE due to the obtained background modes, as previously mentioned. The DE method outperformed these baseline methods in terms TABLE 4. Inspection statistics for actual rail assessment. FIGURE 7. Sample defect images and inspection results for the Type-II RSDD dataset: (1) defect part, (2) ground truth, (3) LN+DLBP, (4) Method in [19], (5) CFE, (6) BODI, (7) our method. (Note: defect detected in LN+DLBP is marked by a red bounding box). of pixel-level index and defect-level index. Its _F-measure_ s ( _F_ and _F_ <sup>′</sup> ) were around 1% and 2% higher, respectively, than those of the baseline methods. This comparison of DE with established methods further verifies that deep learning is an attractive basis for strategies to detect defects of varying appearance due to its representation power. _E._ _PRACTICAL TEST_ In order to further estimate the performance of the proposed method, we evaluate it on an actual rail line. This line covers 18 _km_ of 18125 continuous rail images. Note that the rail line is common/heavy haul rails, so that the parameters settings of these comparative methods are the same as those in Type-II RSDDs dataset. Note that defects in the rail line are not visually labeled by expert, due to its working burden. Therefore, the quantitatively evaluation is achieved by false inspection, missing inspection and correct inspection. Follow [20], BODI initialize its background model one time and continue to update it image by image until all the images of this rail line is down. Table 4 summarizes the comparison inspection results of these five comparative methods. It is found that LN+DLBP has low false inspection, but it misses some true defects, which can cause potential risk in rail daily working. As expected, method in [19] have inferior performance in terms of false inspection. From the results, it is clear that the proposed method detects all defects successfully, and achieves the best performance of these baseline methods in terms of inspection rate. Further, DE is much superior to these comparative methods in terms of False detection. This result demonstrates its powerful in RSDDs inspection, and also verifies that the deep learning based method is somewhat robust. _F._ _DISCUSSION_ From the perspective of its backbone architecture, our DE method is related to the UNet model [48] for biomedical image segmentation. Here, we elaborate on the differences between them. Note that the semantics of rail surface images are relatively simple and the structure is relatively fixed, so that a shallow architecture is preferable for this specific inspection task. In contrast, our network, which benefits from a defined conv block rather than an individual conv layer, can achieve augmented representation power and improved discrimination between true defects and noise points. The DE also adopts a novel elegant biFCN architecture that pays increased attention to encoding information about tiny defects into the network. To further demonstrate the advantages of the DE method, it is next compared with the closely relevant UNet method for the specified inspection task. To achieve a fair comparison, UNet’s encoder was down-sampled twice, and the method used in the comparison was called tiny-UNet; it also followed the module of CRF-RNN. To further demonstrate the advantages of the proposed method, we also compare it with some state-of-art semantic segmentation network, CCNet [45] and SPGNet [40]. Criss-cross attention module TABLE 5. Comparative results of tiny-UNet, SPGNet, CCNet and our method. FIGURE 8. Comparative inspection results of tiny-UNet, SPGNet, CCNet and our method for example defects taken from (a) common rails and (b) express rails: (1) defects; results for (2) tiny-UNet, (3) SPGNet, (4) CCNet and (5) our method. in CCNet is applied to obtain dense contextual information of all the pixels on its criss-cross path, which can be leveraged to capture contextual information from full-image dependencies in a more efficient and effective way. Semantic prediction guidance module in SPGNet learns to re-weight the local features through the guidance from pixel-wise semantic prediction. The Guided Attention maps within the SPG module allows network to visually interpret the corresponding reweighting mechanism. In order to achieve fair comparison, both the criss-cross attention module and semantic prediction guidance module are embedded into the middle of tiny-UNet. Note these methods are trained under the same experimental setup. Figure 8 depicts some example defects taken from both common and express rails and the corresponding inspection results for the four methods. Tiny-UNet, CCNet and SPGNet missed some tiny defects, and the results show that DE performed better, achieving fewer false negatives and false positives. Our method shows an improved, or comparable performance compared with tiny-Unet, CCNet and SPGNet. These results indicate that DE is less sensitive to tiny defects, because the designed architecture containing encode–decode and decode–encode branches can extract semantic information at a high level and also pay more attention to encoding information on tiny defects. Table 5 compares inspection results for DE, tiny-UNet, CCNet and SPGNet on the two datasets. As expected, DE outperformed the three other methods in terms of pixel-level index and defect-level index. The results demonstrate that DE is more suitable for the specified inspection task. V. CONCLUSION This paper presents a novel DE method for RSDD inspection. In contrast to previous works on RSDD inspection that focused on limited low-level features, here we apply deep learning for the reliable labeling of each pixel. Our approach therefore poses this problem in an alternative way to transform it into an image segmentation problem. The DE combines the strengths of the proposed bilateral fully convolutional networks and CRFs. It is capable of extracting high-level meaning and encoding varied information about defects. In particular, the proposed framework can be trained end-to-end. Our method achieves a new state-of-the-art on the Type-I and Type-II RSDD datasets. This improvement is attributable to the combination of the strengths of biFCN and CRFs in a single deep network. Although the developed method is designed for rail inspection, it can be easily extended to the identification of faults in other industrial products. Our future research will extend our work in the following aspects. We will investigate more elegant networks that learn to iteratively improve the input unary potentials to make them closer to the ground truth. We will also develop multiple sources of data types to increase the inspection accuracy. REFERENCES [1] C. Mandriota, E. Stella, M. Nitti, N. Ancona, and A. Distante, ‘‘Rail cor rugation detection by Gabor filtering,’’ in _Proc. ICIP_, 2001, pp. 626–628. [2] F. Marino, A. Distante, P. L. Mazzeo, and E. Stella, ‘‘A real-time visual inspection system for railway maintenance: Automatic hexagonal-headed bolts detection,’’ _IEEE_ _Trans._ _Syst.,_ _Man,_ _Cybern._ _C,_ _Appl._ _Rev._, vol. 37, no. 3, pp. 418–428, May 2007. [3] Q. Li and S. Ren, ‘‘A visual detection system for rail surface defects,’’ _IEEE_ _Trans._ _Syst.,_ _Man,_ _Cybern._ _C,_ _Appl._ _Rev._, vol. 42, no. 6, pp. 1531–1542, Nov. 2012. [4] D.-M. Tsai, S.-C. Wu, and W.-Y. Chiu, ‘‘Defect detection in solar mod ules using ICA basis images,’’ _IEEE_ _Trans._ _Ind._ _Informat._, vol. 9, no. 1, pp. 122–131, Feb. 2013. [5] C. Alippi, E. Casagrande, F. Scotti, and V. Piuri, ‘‘Composite real-time image processing for railways track profile measurement,’’ _IEEE_ _Trans._ _Instrum. Meas._, vol. 49, no. 3, pp. 559–564, Jun. 2000. [6] Z. Zhang, Q. Feng, Z. Gao, C. Kuang, C. Fei, Z. Li, and J. Ding, ‘‘A new laser displacement sensor based on triangulation for gauge real-time measurement,’’ _Opt. Laser Technol._, vol. 40, no. 2, pp. 252–255, Mar. 2008. [7] L. Liu, F. Zhou, and Y. He, ‘‘Automated visual inspection system for bogie block key under complex freight train environment,’’ _IEEE Trans. Instrum._ _Meas._, vol. 65, no. 1, pp. 2–14, Jan. 2016. [8] P. L. Mazzeo, M. Nitti, E. Stella, and A. Distante, ‘‘Visual recognition of fastening bolts for railroad maintenance,’’ _Pattern Recognit. Lett._, vol. 25, no. 6, pp. 669–677, Apr. 2004. [9] C. Aytekin, Y. Rezaeitabar, S. Dogru, and I. Ulusoy, ‘‘Railway fastener inspection by real-time machine vision,’’ _IEEE Trans. Syst., Man, Cybern._ _Syst._, vol. 45, no. 7, pp. 1101–1107, Jul. 2015. [10] H. Feng, Z. Jiang, F. Xie, P. Yang, J. Shi, and L. Chen, ‘‘Automatic fastener classification and defect detection in vision-based railway inspection systems,’’ _IEEE_ _Trans._ _Instrum._ _Meas._, vol. 63, no. 4, pp. 877–888, Apr. 2014. [11] C. Mandriota, M. Nitti, N. Ancona, E. Stella, and A. Distante, ‘‘Filter-based feature selection for rail defect detection,’’ _Mach. Vis. Appl._, vol. 15, no. 4, pp. 179–185, Oct. 2004. [12] T. Chen, Y. Wang, C. Xiao, and Q. M. J. Wu, ‘‘A machine vision apparatus and method for can-end inspection,’’ _IEEE Trans. Instrum. Meas._, vol. 65, no. 9, pp. 2055–2066, Sep. 2016. [13] Y. Gan and Q. Zhao, ‘‘An effective defect inspection method for LCD using active contour model,’’ _IEEE Trans. Instrum. Meas._, vol. 62, no. 9, pp. 2438–2445, Sep. 2013. [14] X. Tao, Z. Zhang, F. Zhang, and D. Xu, ‘‘A novel and effective surface flaw inspection instrument for large-aperture optical elements,’’ _IEEE_ _Trans._ _Instrum. Meas._, vol. 64, no. 9, pp. 2530–2540, Sep. 2015. [15] X. Bai, Y. Fang, W. Lin, L. Wang, and B.-F. Ju, ‘‘Saliency-based defect detection in industrial images by using phase spectrum,’’ _IEEE Trans. Ind._ _Informat._, vol. 10, no. 4, pp. 2135–2145, Nov. 2014. [16] Y. Yang, Z.-J. Zha, M. Gao, and Z. He, ‘‘A robust vision inspection system for detecting surface defects of film capacitors,’’ _Signal Process._, vol. 124, pp. 54–62, Jul. 2016. [17] J. Gan, Q. Li, J. Wang, and H. Yu, ‘‘A hierarchical extractor-based visual rail surface inspection system,’’ _IEEE_ _Sensors_ _J._, vol. 17, no. 23, pp. 7935–7944, Dec. 2017. [18] Q. Li and S. Ren, ‘‘A real-time visual inspection system for discrete surface defects of rail heads,’’ _IEEE Trans. Instrum. Meas._, vol. 61, no. 8, pp. 2189–2199, Aug. 2012. [19] Z. He, Y. Wang, F. Yin, and J. Liu, ‘‘Surface defect detection for high speed rails using an inverse P-M diffusion model,’’ _Sensor_ _Rev._, vol. 36, no. 1, pp. 86–97, Jan. 2016. [20] J. Gan, J. Wang, H. Yu, Q. Li, and Z. Shi, ‘‘Online rail surface inspection utilizing spatial consistency and continuity,’’ _IEEE_ _Trans._ _Syst.,_ _Man,_ _Cybern. Syst._, vol. 50, no. 7, pp. 2741–2751, Jul. 2020. [21] G. E. Hinton, S. Osindero, and Y.-W. Teh, ‘‘A fast learning algorithm for deep belief nets,’’ _Neural_ _Comput._, vol. 18, no. 7, pp. 1527–1554, Jul. 2006. [22] B. Schölkopf, J. Platt, and T. Hofmann, _Greedy_ _Layer-Wise_ _Training_ _of_ _Deep Networks_ . Pune, India: MITP, 2007, pp. 153–160. [23] A. Krizhevsky, I. Sutskever, and G. Hinton, ‘‘ImageNet classification with deep convolutional neural networks,’’ in _Proc._ _Adv._ _Neural_ _Inf._ _Process._ _Syst._, 2012, vol. 25, no. 2, pp. 1097–1105. [24] K. He, X. Zhang, S. Ren, and J. Sun, ‘‘Deep residual learning for image recognition,’’ in _Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR)_, Jun. 2016, pp. 770–778. [25] R. Girshick, J. Donahue, T. Darrell, and J. Malik, ‘‘Rich feature hierarchies for accurate object detection and semantic segmentation,’’ in _Proc. IEEE_ _Conf. Comput. Vis. Pattern Recognit._, Jun. 2014, pp. 580–587. [26] S. Ren, K. He, R. Girshick, and J. Sun, ‘‘Faster R-CNN: Towards real time object detection with region proposal networks,’’ in _Proc. Neural Inf._ _Process. Syst. (NIPS)_, 2015, pp. 1–14. [27] S. Liu, D. Huang, and Y. Wang, ‘‘Receptive field block net for accurate and fast object detection,’’ in _Proc. Eur. Conf. Comput. Vis. (ECCV)_, 2018, pp. 385–400. [28] E. Shelhamer, J. Long, and T. Darrell, ‘‘Fully convolutional networks for semantic segmentation,’’ _IEEE Trans. Pattern Anal. Mach. Intell._, vol. 39, no. 4, pp. 640–651, Apr. 2017. [29] L. C. Chen, G. Papandreou, I. Kokkinos, K. Murphy, and A. L. Yuille, ‘‘Semantic image segmentation with deep convolutional nets and fully connected CRFs,’’ in _Proc._ _Int._ _Conf._ _Learn._ _Represent._ _(ICLR)_, 2015, pp. 1–14. [30] L. Ladicky, C. Russell, P. Kohli, and P. H. S. Torr, ‘‘Associative hierarchical CRFs for object class image segmentation,’’ in _Proc. IEEE 12th Int. Conf._ _Comput. Vis._, Sep. 2009, pp. 739–746. [31] R. Mottaghi, X. Chen, X. Liu, N.-G. Cho, S.-W. Lee, S. Fidler, R. Urtasun, and A. Yuille, ‘‘The role of context for object detection and semantic segmentation in the wild,’’ in _Proc._ _IEEE_ _Conf._ _Comput._ _Vis._ _Pattern_ _Recognit. (CVPR)_, Jun. 2014, pp. 891–898. [32] X. He, R. S. Zemel, and M. A. Carreira-Perpinan, ‘‘Multiscale conditional random fields for image labeling,’’ in _Proc._ _IEEE_ _Comput._ _Soc._ _Conf._ _Comput. Vis. Pattern Recognit. (CVPR)_, Jun. 2004, p. 2. [33] M. A. Islam, M. Rochan, N. D. B. Bruce, and Y. Wang, ‘‘Gated feedback refinement network for dense image labeling,’’ in _Proc. IEEE Conf. Com-_ _put. Vis. Pattern Recognit. (CVPR)_, Jul. 2017, pp. 3751–3759. [34] V. Badrinarayanan, A. Kendall, and R. Cipolla, ‘‘SegNet: A deep con volutional encoder-decoder architecture for image segmentation,’’ _IEEE_ _Trans._ _Pattern_ _Anal._ _Mach._ _Intell._, vol. 39, no. 12, pp. 2481–2495, Dec. 2017. [35] J. Fu, J. Liu, Y. Wang, J. Zhou, C. Wang, and H. Lu, ‘‘Stacked deconvolu tional network for semantic segmentation,’’ _IEEE Trans. Image Process._, [early access, Jan. 25, 2019, doi: 10.1109/TIP.2019.2895460.](http://dx.doi.org/10.1109/TIP.2019.2895460) [36] J. Jiao, Y. Wei, Z. Jie, H. Shi, R. Lau, and T. S. Huang, ‘‘Geometry-aware distillation for indoor semantic segmentation,’’ in _Proc. IEEE/CVF Conf._ _Comput. Vis. Pattern Recognit. (CVPR)_, Jun. 2019, pp. 2869–2878. [37] T. Pohlen, A. Hermans, M. Mathias, and B. Leibe, ‘‘Full-resolution resid ual networks for semantic segmentation in street scenes,’’ in _Proc._ _IEEE_ _Conf. Comput. Vis. Pattern Recognit. (CVPR)_, Jul. 2017, pp. 4151–4160. [38] L.-C. Chen, Y. Yang, J. Wang, W. Xu, and A. L. Yuille, ‘‘Attention to scale: Scale-aware semantic image segmentation,’’ in _Proc. IEEE Conf. Comput._ _Vis. Pattern Recognit. (CVPR)_, Jun. 2016, pp. 3640–3649. [39] S. Kong and C. Fowlkes, ‘‘Recurrent scene parsing with perspective under standing in the loop,’’ in _Proc._ _IEEE/CVF_ _Conf._ _Comput._ _Vis._ _Pattern_ _Recognit._, Jun. 2018, pp. 956–965. [40] B. Cheng, L.-C. Chen, Y. Wei, Y. Zhu, Z. Huang, J. Xiong, T. Huang, W.-M. Hwu, H. Shi, and U. Uiuc, ‘‘SPGNet: Semantic prediction guidance for scene parsing,’’ in _Proc._ _IEEE/CVF_ _Int._ _Conf._ _Comput._ _Vis._ _(ICCV)_, Oct. 2019, pp. 5218–5228. [41] L. C. Chen, Y. Zhu, G. Papandreou, F. Schroff, and H. Adam, ‘‘Encoder decoder with atrous separable convolution for semantic image segmentation,’’ in _Proc. Eur. Conf. Comput. Vis. (ECCV)_, 2018, pp. 801–818. [42] H. Zhao, J. Shi, X. Qi, X. Wang, and J. Jia, ‘‘Pyramid scene parsing network,’’ in _Proc._ _IEEE_ _Conf._ _Comput._ _Vis._ _Pattern_ _Recognit._ _(CVPR)_, Jul. 2017, pp. 2881–2890. [43] C. Yu, J. Wang, C. Peng, C. Gao, G. Yu, and N. Sang, ‘‘Bisenet: Bilateral segmentation network for real-time semantic segmentation,’’ in _Proc. Eur._ _Conf. Comput. Vis. (ECCV)_, 2018, pp. 325–341. [44] H. Ding, X. Jiang, B. Shuai, A. Q. Liu, and G. Wang, ‘‘Context con trasted feature and gated multi-scale aggregation for scene segmentation,’’ in _Proc._ _IEEE/CVF_ _Conf._ _Comput._ _Vis._ _Pattern_ _Recognit._, Jun. 2018, pp. 2393–2402. [45] Z. Huang, X. Wang, L. Huang, C. Huang, and W. Liu, ‘‘CCNet: Criss-cross attention for semantic segmentation,’’ 2019, _arXiv:1811.11721_ . [Online]. Available: https://arxiv.org/abs/1811.11721 [46] S. Ghosh, N. Das, I. Das, and U. Maulik, ‘‘Understanding deep learning techniques for image segmentation,’’ 2019, _arXiv:1907.06119_ . [Online]. Available: http://arxiv.org/abs/1907.06119 [47] K. Simonyan and A. Zisserman, ‘‘Very deep convolutional networks for large-scale image recognition,’’ 2014, _arXiv:1409.1556_ . [Online]. Available: https://arxiv.org/abs/1409.1556 [48] O. Ronneberger, P. Fischer, and T. Brox, ‘‘U-net: Convolutional net works for biomedical image segmentation,’’ in _Proc._ _Int._ _Conf._ _Med._ _Image_ _Comput._ _Comput.-Assist._ _Intervent._ _(MICCAI)_, vol. 9351, 2015, pp. 234–241. [49] C. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich, ‘‘Going deeper with convolutions,’’ in _Proc._ _IEEE_ _Conf._ _Comput._ _Vis._ _Pattern_ _Recognit._ _(CVPR)_, Jun. 2015, pp. 1–9. [50] C. Szegedy, V. Vanhoucke, S. Ioffe, J. Shlens, and Z. Wojna, ‘‘Rethinking the inception architecture for computer vision,’’ in _Proc._ _IEEE_ _Conf._ _Comput. Vis. Pattern Recognit. (CVPR)_, Jun. 2016, pp. 2818–2826. [51] C. Szegedy, S. Ioffe, V. Vanhoucke, and A. Alemi, ‘‘Inception-v4, inception-resnet and the impact of residual connections on learning,’’ in _Proc. AAAI Conf. Artif. Intell. (AAAI)_, 2017, pp. 1–7. [52] L.-C. Chen, G. Papandreou, F. Schroff, and H. Adam, ‘‘Rethinking atrous convolution for semantic image segmentation,’’ 2017, _arXiv:1706.05587_ . [Online]. Available: http://arxiv.org/abs/1706.05587 [53] J. Dai, H. Qi, Y. Xiong, Y. Li, G. Zhang, H. Hu, and Y. Wei, ‘‘Deformable convolutional networks,’’ in _Proc._ _IEEE_ _Int._ _Conf._ _Comput._ _Vis._ _(ICCV)_, Oct. 2017, pp. 764–773. [54] S. Zheng, S. Jayasumana, B. Romera-Paredes, V. Vineet, Z. Su, D. Du, C. Huang, and P. H. S. Torr, ‘‘Conditional random fields as recurrent neural networks,’’ in _Proc._ _IEEE_ _Int._ _Conf._ _Comput._ _Vis._ _(ICCV)_, Dec. 2015, pp. 1529–1537. [55] P. Krhenbühl and V. Koltun, ‘‘Efficient inference in fully connected CRFs with Gaussian edge potentials,’’ in _Proc._ _Adv._ _Neural_ _Inf._ _Process._ _Syst._ _(NIPS)_, 2011, pp. 109–117. [56] K. He, X. Zhang, S. Ren, and J. Sun, ‘‘Delving deep into rectifiers: Surpassing human-level performance on ImageNet classification,’’ in _Proc._ _IEEE Int. Conf. Comput. Vis. (ICCV)_, Dec. 2015, pp. 1026–1034. [57] T. Fawcett, ‘‘An introduction to ROC analysis,’’ _Pattern_ _Recognit._ _Lett._, vol. 27, no. 8, pp. 861–874, Jun. 2006. ZIWEN ZHANG is currently pursuing the Ph.D. degree with the School of Computer Science and Technology, Beijing Jiaotong University, Beijing, China. His current research interests include computer vision, pattern recognition, and image processing. MANGUI LIANG received the Ph.D. degree in information and communication technology from Beijing Jiaotong University, Beijing, China, in 1988. He is currently a Professor with Beijing Jiaotong University. His research interests include communication network oriented to next generation and signal processing, especially the new architecture of communication network with QoS guaranteed. He is also a member of the Academic Committee of Chinese Institute of Electronics and the Director of Speech-Hearing and Musical Acoustics Committee of ASC. ZHE WANG received the bachelor’s degree in computer science and technology from Beijing Jiaotong University, Beijing, China, in 2009, where he is currently pursuing the Ph.D. degree in signal and information processing. His research interests include communication network oriented to next generation, especially the architecture of SDN and OpenFlow.

섹션 본문 50문단 · 41,243자

(제목 없음)

1Rail surface inspection using a visual inspection system is an important task in the maintenance of railway networks. Recent inspection approaches have attempted to harness low-level features to identify visual defects. These methods' main issues are the limitations of low-level features and prior information about rail surfaces that show a wide variety of visual appearances on dynamic backgrounds. To overcome these problems, we propose a deep extractor (DE) that combines the strengths of fully convolutional networks and conditional random fields (CRFs), so that the deep network can learn the abstract features needed for the specified inspection task. Specifically, motivated by fully convolutional networks, a bilateral fully convolutional network containing two branches is proposed here: one encode-decode branch focuses semantic meaning; the other decode-encode branch encodes information on tiny defects. The two branches are aggregated to obtain a high-level feature map. Furthermore, the mean-field inference of a dense CRF with Gaussian pairwise potentials formulated as a recurrent neural network (CRF-RNN) is introduced to contribute to smoothing constraints and obtaining a fine-grained inspection result. By doing so, it can avoid offline post-processing and further lead the whole deep architecture to achieve end-to-end deep learning. Compared with classical approaches, our approach outperforms state-of-art approaches in analyzing two publicly available datasets.

I. INTRODUCTION

2Inspecting rail surfaces, a part of general rail inspection, plays an important role in daily rail maintenance. Surface defects must be carefully inspected, as they are potential causes of accidents, sharply increase wheel-rail forces, and induce significant traffic noise. Historically, inspection was mostly by professional observers using special calipers. This is expensive, time-consuming, somewhat subjective, and even dangerous [1], [2]. Therefore, the development of automatic and nondestructive inspection systems is strongly driven by practical requirements.

3Visual inspection systems [3] benefit from being nondestructive and intuitive to use, and have received much attention in a variety of industrial settings [4]. They have been applied to aspects of rail inspection (such as track-profile

4The associate editor coordinating the review of this manuscript and approving it for publication was Chih-Yu Hsu . measurement [5], gauge measurement [6], bogie block key inspection [7], fastening elements inspection [8]- [10], and track surface detection [11]) and also to a wide range of very diverse products (such as food cans [12], LCD panels [13], large-aperture optical elements [14], electromechanical parts [15], and film capacitors [16]). This study focuses on a promising and nondestructive system for the particular task of inspecting rail surfaces for discrete defects (RSDDs).

5Although visual inspection has attracted much attention and achieved impressive success, three factors pose specific challenges: inhomogeneous illumination leading to dynamic backgrounds, reflection variability leading to low contrast and blurry contours of defects, and noise induced by the system [17]. However, in comparison to the other fault inspection tasks mentioned above, identifying RSDDs is more difficult, because it involves the additional considerations of limited visual features and prior information being available for recognition and detection. The most reliable visual feature to distinguish discrete defects from a dynamic background is local gray-level information. In addition, RSDDs always appear in a random or arbitrary manner with various shapes and sizes. The task limitations prevent inspection systems from adopting most object recognition methodologies based on sophisticated texture and shape features [18]. That is to say, although RSDD inspection can be essentially regarded as a target detection problem, the targets do not share common texture or shape features and usually lack adequate prior information.

6Several RSDD inspection methods have been proposed in recent years. One way to model this kind of fault is using a combination of contrast enhancement and localization [3], [18], [19]. This involves first enhancing the contrast between defects and the background, then finding the desired defects using a localization algorithm such as projection profile (DLBP) and adaptive threshold binarization. Specifically, the method of LN+DLBP first enhances contrast between defects and background using the local normalization (LN) algorithm, and then identifies possible defects by the defect localization based on projection profile (DLBP) algorithm. Instead, the method of MLC+PEME uses Local Michelson-like contrast (MLC) and proportion emphasized maximum entropy (PEME) algorithms. In addition, a new inverse Perona-Malik diffusion model presented for image enhancement [19] provides an adaptive threshold binarization to identify desired defects. These methods focus on enhancing defects, and have achieved promising performance under their experimental setup. However, these algorithms are greatly affected by irregulars (i.e., noise points), and generate many false positives when handling complex rail surface images with various appearances of defects and dynamic backgrounds. Accordingly, some previous works [17], [20] have posed this problem in an alternative way to explore the characteristics of the background rather than the defects. These methods treat a railway line as a whole, and focus on homogeneous background modeling by considering spatio-temporal characteristics. Specifically, the method of coarse-to-fine extractor (CFE) [17] obtains background modes that based on a mean shift algorithm. It is computationally expensive. Background-oriented defect inspector (BODI) [17], [20] builds a background model for each longitudinal line by randomly taking a collection of pixels along it. The underlying idea is that it is more reliable to estimate the statistical distribution of a background pixel with a small number of close values than with a majority of all values. Experiments have shown promising performance, demonstrating somewhat robust inspection. However, the background is usually dynamic and complex due to variable illumination, weather, or camera shake, which makes background modeling significantly challenging. Experimental results have shown that railway lines with dynamic backgrounds greatly affect these background modeling-based methods. The robustness of these traditional algorithms for RSDD inspection is somewhat limited, and achieving robust detection remains an open problem.

7Developments of computing performance and technology have allowed the simulation of the learning processes of the human brain to become a hot research topic, especially the simulation of neurons to build networks. Deep learning has a great influence in the field of computer vision, and it is widely used in the field of industrial defect detection, e.g. track fastener recognition [9], [10]. Generally, traditional machine vision algorithms usually deal with features that are easy to extract and easy to quantify, such as color, area, roundness, angle, length, etc. That is to say, it is difficult for traditional machine learning algorithms to model and migrate the features completely for various of defects. However, with the development of deep learning, many features that are difficult for the human eye to directly quantify can be automatically learned by deep learning. There are many features that we cannot quantify through traditional algorithms, or that are difficult to achieve, deep learning can handle them. Representative works [21], [22] have revolutionized deep-learning methods, promoting developments in the field of machine learning and pattern recognition, such as image recognition [23], [24], object detection [25]- [27], and image segmentation [28], [29]. Convolutional neural networks (CNNs), a specialized area of deep learning, apply a convolution operation to an artificial neural network, and utilize local perception and weight sharing at the same time. This makes them potentially useful for inspection problems.

8The key insight is to learn a strong feature representation end-to-end for the pixel-level labeling task instead of handcrafting features with heuristic parameter tuning.

9Although CNN-based methods have achieved great success, the following two points are relevant to the task of RSDD inspection.

10• Generally, deeper CNNs have much more semantic meaning. However, most of the desired defects in a rail surface are quite small. Therefore, traditional CNNs such as FCN [28] and DeepLab [29] can further reduce the chance of getting a fine segmentation output.

11• Defects in a rail surface are compact. However, CNNs lack smoothness constraints that encourage label agreement between similar pixels and spatial and appearance consistency of the labeling output. Lack of such smoothness constraints can result in poor object delineation and small spurious regions in the segmentation output [30], [31]. In this paper, we propose a deep extractor (DE) for RSDD inspection. As presented in Figure 1, the DE first uses CNNs to obtain a high-level feature map, and then employs conditional random fields (CRFs) inference to refine weak and coarse pixel-level label predictions and produce finegrained segmentations. In order to handle the inspection of tiny defects, a bilateral fully convolutional network (biFCN) containing two branches is proposed here. Specifically, one branch, similar to FCN, adopts a regular encoder-decoder procedure to extract high-level meaning from the whole image. The other branch, like inverse FCN, adopts a decoderencoder procedure to supplement missed defect information. The output two feature maps are aggregated to obtain a high-level feature map. As semantic meaning and detailed information of tiny defects could be trained and encoded automatically, the biFCN framework is potentially more suitable for the specified inspection task. Furthermore, mean-field inference of dense CRFs with Gaussian pairwise potentials reformulated as a recurrent neural network (CRF-RNN) is applied to overcome the drawbacks of using CNNs for pixellevel labeling tasks. Overall, our DE combines the strengths of both biFCN and CRF-RNN in a unified framework, giving the whole deep architecture an end-to-end deep-learning solution for the pixel-level semantic image segmentation problem. We evaluated the proposed method on the Type-I and Type-II RSDD datasets. The experimental results show that the DE achieves a significant improvement in accuracy, demonstrating its superiority over two baseline methods for rail inspection.

12Considering the current literature, this paper makes three main contributions. First, an end-to-end deep architecture for RSDD inspection is proposed. The core idea is that CNNs perform feature extraction to produce a coarse map that is later refined by the CRF. Although the proposed architecture is general, this is the first study to introduce a deeplearning framework to the field of rail surface inspection and to demonstrate its superiority over baseline methods. Second and most important, a biFCN containing two branches is proposed. In comparison with standard fully CNNs, the biFCN introduces an additional decode-encode branch to encode information about tiny surface defects to a certain extent. By doing so, the two branches can complement each other, and experimental results demonstrate the proposed method's advantages. Third, the proposed architecture combines the strengths of both biFCN and CRF-RNN in a unified framework; this end-to-end learning for the whole image makes our architecture more suitable for this specific task than the baseline methods.

13The remainder of this paper is organized as follows. Section II gives the overview of the proposed method and describes details. The experimental setup and results are presented in Section III. Our conclusions follow in Section IV.

II. RELATED WORKS

14The RSDD inspection problem is related to the topic of the semantic segmentation [32]. Semantic segmentation, as a step towards scene understanding, is a challenging problem in computer vision. It refers to the task of assigning semantic labels, such as person and sky, to every pixel within an image. Recently, Deep Convolutional Neural Networks (DCNNs) [23], [24] have significantly improved the performance of semantic segmentation systems. In particular, Most state-of-the-art semantic segmentation models are based on FCN [28], [29]. The detailed object boundary information is usually missing due to the pooling or convolutions with striding operations within the network. To alleviate the problem, one could apply the encoder-decoder structures [33]- [37] to capture the context information in the encoder path and recover high resolution features in the decoder path. Another alternative is to harness the attention mechanism [38]- [40] to explore multi-scale features. Deeplabv3+ [41] adds a simple decoder module to capture local context, refining the segmentation results. PSPNet [42] applies the global average pooling in their Spatial Pyramid Pooling module to collect global context. BiSeNet [43] adds the global pooling on the top of the encoder structure to capture the global context. The works [40], [44], [45] adopt self-attention mechanism to model the relationship of features, which can select the channel maps effectively to refine segment boundaries. Specifically, SPGNet [40] employs the ''superviseandexcite'' framework, where the local features are guided by the semantic supervision. CCNet [45] adaptively captures contextual information on the criss-cross path for each pixel.

15Please refer to [46] for a complete overview on the subject. Although the detection object in our work is similar to semantic segmentation, it should be noted that RSDD inspection faces two challenging factors as aforementioned. Therefore, rather than these sophisticated algorithms, the specified characteristics of track will be completely explored in our method to meet the high inspection performance in the rail inspection field.

III. METHOD

16As there are many different challenges in RSDDs inspection, a robust and discriminative feature representation are required. Since deep neural network have strong representation power of images, we will introduce our deep neural network named as deep extractor (DE) for RSDDs inspection, as follows.

A. BILATERAL FULLY CONVOLUTIONAL NETWORK

17It is generally accepted that the network depth plays a key role in deep neural networks' learning of abstract features [24], [47]. However, two concerns must be taken into account. One is that the specified inspection task prefers a shallow backbone network, considering the inference speed and limited training samples. On the other hand, semantic meaning and detailed information of tiny defects could be trained and encoded automatically, considering the chance of tiny defects appearing in the rail surface. Accordingly, bilateral fully convolutional network (biFCN) containing two components (i.e., inverse fully convolutional network (iFCN) and two branches scheme) is proposed, as illustrated in Figure 2.

1) INVERSE FULLY CONVOLUTIONAL NETWORK

18As mentioned above, defects in rail surface images have various appearances, complicating inspection. Inspired by UNet [48], which has been successfully used for biomedical image segmentation, we propose the iFCN as a novel elegant architecture for RSDD inspection. Like biomedical image analysis, finding defects in rail surfaces also encounters limited training image samples, and the defects also appear with various shapes and sizes. Therefore, the architecture we design should employ a shallow network to avoid the risk of overfitting. On the other hand, it should pay close attention to encoding into the network information related to tiny defects. As shown in Figure 3, iFCN considers upsamplingdownsampling procedure to encode detail information of tiny defects. Generally, it is assumed that the semantics of rail surface images are relatively simple and the structure is relatively fixed. For example, the structure of a rail surface mostly comprises a relatively consistent background, and the semantic information is not particularly rich. Unlike UNet, iFCN's encoder is up-sampled twice, a total of four times. Symmetrically, its decoder is also down-sampled twice to restore the high-level semantic feature map obtained by the encoder to the resolution of the original image. Specifically, the encoder path follows the typical architecture of a convolutional network. It consists of two staked operations, each of which contains a 2 × 2 max pooling with stride 2 for upsampling and the conv block as shown in Figure 4, we will detail the conv block next. Following UNet, at each upsampling step we double the number of feature channels. At the decoder path, every step consists of an downsampling of the feature map followed by 2 × 2 convolution (''downconvolution''), concatenation with the corresponding feature map from the encode path, and the conv block. Note that the skip connection ensures that the final recovery of the feature map integrates more low-level features; it also enables the integration of features of different scales. Another important concern is that the defects in rail surfaces appear in a random or arbitrary manner.

19Further, a reasonable and useful of lightweight network should enhance the feature representation power. Several previous works [49]- [53] have imitated the mechanism of receptive fields in the human visual system to enhance feature representation by lightweight models. The mechanism helps to highlight the importance of the region near to the center and increase insensitivity to small spatial shifts. Inspired by the structure of receptive fields in human visual systems, the conv block used in iFCN is illustrated in Figure 4.

20The inner structure of the conv block can be divided into two components: a multi-branch convolution layer with different kernels and trailing dilated pooling or convolution layers. At each branch, the convolution layer of a particular kernel size is followed by a pooling or convolution layer with a corresponding dilation. The kernel size and dilation have a similar positive functional relation to that of the size and eccentricity of population receptive fields in the visual cortex. Eventually, the feature maps of all the branches are concatenated, merging into a spatial pooling or convolution array. To be specific, first, we employ a bottleneck structure in each branch, consisting of a 1 × 1 conv layer, to decrease the number of channels in the feature map plus an n × n conv layer. Second, we replace the 5 × 5 conv layer with two stacked 3 × 3 conv layers to reduce parameters and deeper non-linear layers. For the same reason, we use a 1 × n plus an n × 1 conv layer to replace the original n × n conv layer. Ultimately, we apply a shortcut design. The basic intention of this atrous convolution layer is to generate feature maps of a higher resolution, capturing information at a larger area with more context while keeping the same number of parameters.

21As we can see, the conv block considers the relationship between the size and eccentricity of the receptive field to enhance feature discrimination and robustness.

2) TWO BRANCHES SCHEME

22As presented in Figure 2, biFCN considers two branches: inverse fully convolutional network (iFCN) and regular fully convolutional network (rFCN). rFCN adopts a regular encoder-decoder procedure to extract high-level meaning from the whole image, while iFCN adopts a decoder-encoder procedure to supplement missed defect information. The output two feature maps are aggregated to obtain a high-level feature map.

23As compared with FCN, biFCN considers another branch with a complementary decoder-encoder procedure. It considers upsampling first, and then downsampling provides supplementary information. As the encode-decode procedure focuses on the background, the decode-encode branch can provide more-refined features of defects. The two branches complement each other: one extracts semantic information at a high level; the other pays more attention to encoding information on tiny defects. The final stage of biFCN is aggregating the output feature maps using element-wise summarization, strengthening the deep features learned from defect information. Therefore, biFCN can facilitate fast and accurate inspection. The final layer uses a 1 × 1 convolution to map the aggregation feature map to the desired number of classes.

B. CRF-RNN

24As already mentioned, CNNs lack smoothness constraints, which can result in ambiguous edge information for defects.

25For segmentation, adjacent pixels that are only slightly different are encouraged to share the same category label. Conversely, if adjacent pixels are largely different, they would likely belong to different classes. CRFs, as probabilistic graphical models, have been developed for the effective enhancement of constraint information in pixel-level labeling tasks. The key idea of CRF inference for semantic labeling is to formulate the label assignment problem as a probabilistic inference problem that incorporates assumptions such as label agreement between similar pixels. Unlike a convolution layer that employs local filters, the CRF looks at every possible pair of pixels in the image, also known as a clique. The CRF is a graphical model, where every clique is defined not only by the spatial distance between pixels but also by their distance in color space. This allows the CRF to produce a segmentation with much sharper edges when compared with only using CNNs.

26In the neural network, the CRFs, which are formulated as a RNN, can provide constraint information for pixels [54]. We assume that x i is the random variable associated with pixel i, which represents the label assigned to the pixel and can take any value from a pre-defined set of labels [0, · · · , l, · · · , L]. In the fully connected pairwise CRF model of [55], the energy of a label assignment x is given by

27where the unary energy components ψ µ (x i ) measure the inverse likelihood (and therefore, the cost) of pixel i taking the label x i , and pairwise energy components ψ p (x i , x j ) measure the cost of assigning labels x i , x j to pixels i, j simultaneously. Note unary energies are obtained from our biFCN, which, roughly speaking, predicts labels for pixels without considering the smoothness and the consistency of the label assignments. The pairwise energies provide an image datadependent smoothing term that encourages assigning similar labels to pixels with similar properties. Pairwise potentials as weighted Gaussians are defined as

28where each k (m) G for m = 1, . . . , M is a Gaussian kernel applied on the feature vectors. The feature vector of pixel i, denoted by f i , contains its spatial location and RGB values. The label compatibility function µ(x i , x j ) captures the compatibility between different pairs of labels.

29Minimizing the above CRF energy E(x) yields the most probable label assignment x for the given image. As this exact minimization is intractable, a mean-field approximation to the CRF distribution is used for approximate maximum posterior marginal inference. Let U i (l) denote the negative of the unary energy ψ µ (x i ): i.e., U i (l) = −ψ µ (x i ). The individual steps of the mean-field algorithm are outlined in Algorithm 1. The main contribution of the CRF-RNN [54] is that mean-field iteration can be reformulated as a stack of CNN layers. Once the individual steps of the algorithm are

Algorithm 1 CRF Mean-Field Approximation

30Z i exp{Q i (l)}; 6: end while broken down as CNN layers, the full algorithm can then be formulated as an RNN.

31While reformulating the steps of the inference algorithm as CNN layers, it is essential to be able to calculate error differentials in each layer with respect to its inputs in order to be able to back-propagate the error differentials to previous layers during training. On one hand, CRF inference is able to refine weak and coarse pixel-level label predictions to produce sharp boundaries and fine-grained segmentations. Therefore, intuitively, CRFs can be used to overcome the drawbacks of utilizing CNNs for pixel-level labeling tasks. On the other hand, importantly, the whole deep networkwhich comprises a traditional CNN and an RNN for CRF inference-can be trained end-to-end using the usual backpropagation algorithm.

C. IMPLEMENTATION DETAILS

32The input images and their corresponding segmentation maps are used to train the network using mini-batch stochastic gradient descent with Nesterov momentum. The energy function is computed by a pixel-wise soft-max over the final feature map combined with the cross entropy loss function. We train the network with a momentum of 0.9, a weight decay of 0.0005, and mini-batches of size 16. Due to the small dataset, we initialize the learning rate as 0.0001 and run the stochastic gradient descent algorithm, but reduce the learning rate by a factor of 0.1. Note that defect inspection is essentially a two-category classification problem such that each soft-max layer outputs a two-dimensional feature map. The complete architecture is implemented and trained end-to-end in PyTorch.

33In deep networks with many convolutional layers and different paths through the network, a good initialization of the weights is extremely important. Otherwise, parts of the network might give excessive activations, while other parts never contribute. Ideally, the initial weights should be adapted such that each feature map in the network has approximately unit variance. Following UNet [48], the initialization of convolution layers can be achieved by drawing the initial weights from a Gaussian distribution with a standard deviation of √ 2/N , where N denotes the number of incoming nodes of one neuron [56].

34For the current task very few training data are available. Therefore, we use excessive data augmentation by applying elastic deformations to the available training images.

35This allows the network to learn invariance to such deformations, without the need to see these transformations in the annotated image corpus. Random elastic deformations of the training samples seem especially to be the key concept to train a segmentation network with very few annotated images. We generate smooth deformations using random displacement vectors on a coarse 3 × 3 grid. The displacements are sampled from a Gaussian distribution with 10 pixels standard deviation. Per-pixel displacements are then computed using bicubic interpolation. Drop-out layers at the end of the contracting path perform further implicit data augmentation.

36Although our architecture consists of biFCN and CRF-RNN, the parameters are able to be updated end-to-end. For training, we fine-tune the two parts separately for each due to the small number of training samples. In particular, we freeze CRF-RNN, and tune the biFCN, ensuring that the convergence is fast so as to reduce the risk of over-fitting. After training the biFCN architecture, we freeze it by further training the CRF-RNN. Note that the mean-field iterative algorithm for dense CRF converges in less than 10 iterations. In practice, we train CRF-RNN in about five iterations. This kind of processing makes the architecture straightforward, and ensures it is efficiently trained and tested.

IV. EXPERIMENTAL RESULTS AND ANALYSIS

37This section details the experimental setup and reports the performance of the proposed method.

A. EXPERIMENTAL SETUP

38To evaluate the performance of our method for RSDD inspection, we implemented the proposed method in Pytorch and tested it on two publicly available datasets. 1 The first is the Type-I RSDD dataset, comprising 67 images of express rails. The second, the Type-II RSDD dataset, contains 128 images of common/heavy haul rails. Note that each image from both datasets contains at least one defect and has a dynamic background with much noise. Example images from both datasets are shown in Figure 5. A random selection of 80% of the images in each dataset was used for training the proposed method; the remaining images formed the testing set for performance assessment. As noted above, random elastic deformations of the training samples augmented the dataset, similar to the way UNet handled the same problem of limited training samples for biomedical image segmentation. All experiments were repeated five times under a constant ratio of training to testing data, and the average inspection performances are reported. To quantitatively evaluate the proposed DE method, we adopted the criteria of Precision (Pre), Recall (Rec), and F-measure (F), which are widely used in pattern recognition and information retrieval [57]. Two further evaluation indices that consider different perspectives (i.e., pixel-level and defect-level) were also adopted to complete the evaluation of DE for RSDD inspection.

39where TP denotes the number of correctly detected defect points, FP is the number of points falsely declared to be defects, and FN is the number of undetected defect points. Precision and Recall are inversely related; i.e., it is possible to increase one at the cost of reducing the other. Hence, F-measure is introduced, a greater value of which indicates the more the detection result is consistent with human judgment. Note that the following reported Pre, Rec, and F values are averages for the whole dataset. Defect-level index. Pre , Rec , and F are defined as

40where TP is as above, TP is the number of correctly detected defects mapping to the ground truth, P refers to the total number of detected defects, and N refers to the total number of labeled defects in the ground truth. At this level, a detected defect is regarded as correct if it overlaps a labeled defect in the corresponding image more than 80%; otherwise, it is wrong. Note that the counted numbers in Pre and Rec are for the whole dataset.

B. ABLATION STUDY

41To verify the effectiveness of biFCN and CRF-RNN, we conduct ablation study using the collected dataset. These comparative methods are FCN and biFCN (i.e., both methods without post-process strategy of CRF). In addition, we also use FCN models equipped with post-process strategy of CRF strategy for comparison. In order to be clarity, we named the comparative method as FCN+CRF-RNN. The parameters of these comparative methods were learnt under the same experimental setup of our method. As shown in Table 1, the F-measures of the proposed model is much higher than that of the FCN model, which achieves the best performance of these baseline methods. Note that biFCN shows better performance than FCN in both RSDD datasets, indicating that the advantages of bilateral fully convolutional network strategy. The comparison of biFCN+CRF-RNN and biFCN (or FCN and FCN+CRF-RNN) verifies the effectiveness of post-process strategy of CRF strategy. Interestingly, it is also found that the improvements of bilateral fully convolutional network strategy is higher than that of CRF-RNN. This result demonstrates biFCN that is capable of extracting high-level meaning and encoding varied information about defects is quite effective.

C. TYPE-I RSDD DATASET

42We compare the inspection performance of the DE method with four well-established methods, LN+DLBP, method in [19], CFE [17] and BODI [20]. Their parameters are set as the default values. Specifically, the upper bound of defect proportion dp is set to 0.3 in LN+DLNP; the gradient threshold k and control parameter C in [19] is set as k = 10 and C = 5, respectively. Note that the threshold T is an important parameter for CFE and BODI methods. It is set as 53 for CFE and 3.2 for BODI, values that give a good balance between Precision and Recall in each case. Figure 6 visualizes some selected defects in the Type-I RSDD dataset and the corresponding inspection results for the different methods.

43Only defect parts of the rail surface images are shown for convenience of display. These comparative methods have good inspection results when the defects are universal and the background consistent. CFE and BODI methods pose this problem in an alternative way to explore the characteristics of the background and focus on background modeling rather than defect contrast enhancement [3], [18], [19] to achieve promising performances. BODI showed some false negatives and false positives for rails with varying appearance, because the modeled background determined by a random selective strategy was not optimal. The comparison results show that our DE method obtained the best matched contour with the ground truth, without false positives or false negatives. Table 2 lists results for two types of performance evaluation index. It is worth mentioning that LN+DLBP adopts projection algorithm to locate defects by bounding boxes, and method in [19] detects contours to locate possible defects. Therefore, pixel-level index is not suitable for the two methods. It is shown that BODI was inferior to CFE in terms of inspection performance. This was because the background modes obtained by the mean shift algorithm in CFE achieved better representation power than the random selective strategy of BODI. Generally, CFE and BODI had low Pre and Pre for backgrounds with largely varying gray-level distributions, because of low-level feature representation. The listed F-measures (F and F ) of the DE method are around 3% and 2% higher, respectively, than those of the baseline methods. Our method performed much better than the comparaitve methods in terms of pixel-level index and defectlevel index, verifying its effectiveness and illustrating its promising ability for this kind of fault inspection task.

D. TYPE-II RSDD DATASET

44The five methods' inspection performances are next compared for the type-II RSDD dataset. The four baseline methods used default parameter values, and the threshold parameter T was set to 74 and 4.1 for CFE and BODI, respectively, giving a good balance between Precision and Recall. The upper bound of defect proportion dp is set to 0.3 in LN+DLNP; the gradient threshold k and control parameter C in [19] is set as k = 4 and C = 5, respectively. It is worth mentioning that the learned parameters of our method are also applicable to this data set. Figure 7 displays the methods' results. As expected, all methods showed competitive performance for defects that share universal characteristics. In comparison to the Type-I dataset, the Type-II dataset had a more consistent background, but more complex defects involving various appearances within each defect and differing characteristics shared among the defects. Thus, method in [19] performs poor in such various defects, and is not able to find its accurate contours. Besides, LN+DLBP is also not successful in such various defects, and locates with bias. Both CFE and BODI performed poorly for complex defects. Therefore, the performance improvement of our method was particularly pronounced for such varied and small defects, because our method can effectively capture their representative patterns and structures.

45The evaluation indexes in Table 3 further evaluate DE through comparison with the other methods. LN+DLBP and method in [19] are also only evaluated by defect-level index. Method in [19] performs worse than other methods, due to the various appearances of defects as aforementioned. As expected, BODI performed worse than CFE due to the obtained background modes, as previously mentioned. The DE method outperformed these baseline methods in terms of pixel-level index and defect-level index. Its F-measures (F and F ) were around 1% and 2% higher, respectively, than those of the baseline methods. This comparison of DE with established methods further verifies that deep learning is an attractive basis for strategies to detect defects of varying appearance due to its representation power.

E. PRACTICAL TEST

46In order to further estimate the performance of the proposed method, we evaluate it on an actual rail line. This line covers 18 km of 18125 continuous rail images. Note that the rail line is common/heavy haul rails, so that the parameters settings of these comparative methods are the same as those in Type-II RSDDs dataset. Note that defects in the rail line are not visually labeled by expert, due to its working burden. Therefore, the quantitatively evaluation is achieved by false inspection, missing inspection and correct inspection. Follow [20], BODI initialize its background model one time and continue to update it image by image until all the images of this rail line is down. Table 4 summarizes the comparison inspection results of these five comparative methods. It is found that LN+DLBP has low false inspection, but it misses some true defects, which can cause potential risk in rail daily working. As expected, method in [19] have inferior performance in terms of false inspection. From the results, it is clear that the proposed method detects all defects successfully, and achieves the best performance of these baseline methods in terms of inspection rate. Further, DE is much superior to these comparative methods in terms of False detection. This result demonstrates its powerful in RSDDs inspection, and also verifies that the deep learning based method is somewhat robust.

F. DISCUSSION

47From the perspective of its backbone architecture, our DE method is related to the UNet model [48] for biomedical image segmentation. Here, we elaborate on the differences between them. Note that the semantics of rail surface images are relatively simple and the structure is relatively fixed, so that a shallow architecture is preferable for this specific inspection task. In contrast, our network, which benefits from a defined conv block rather than an individual conv layer, can achieve augmented representation power and improved discrimination between true defects and noise points. The DE also adopts a novel elegant biFCN architecture that pays increased attention to encoding information about tiny defects into the network.

48To further demonstrate the advantages of the DE method, it is next compared with the closely relevant UNet method for the specified inspection task. To achieve a fair comparison, UNet's encoder was down-sampled twice, and the method used in the comparison was called tiny-UNet; it also followed the module of CRF-RNN. To further demonstrate the advantages of the proposed method, we also compare it with some state-of-art semantic segmentation network, CCNet [45] and SPGNet [40]. Criss-cross attention module in CCNet is applied to obtain dense contextual information of all the pixels on its criss-cross path, which can be leveraged to capture contextual information from full-image dependencies in a more efficient and effective way. Semantic prediction guidance module in SPGNet learns to re-weight the local features through the guidance from pixel-wise semantic prediction. The Guided Attention maps within the SPG module allows network to visually interpret the corresponding reweighting mechanism. In order to achieve fair comparison, both the criss-cross attention module and semantic prediction guidance module are embedded into the middle of tiny-UNet. Note these methods are trained under the same experimental setup. Figure 8 depicts some example defects taken from both common and express rails and the corresponding inspection results for the four methods. Tiny-UNet, CCNet and SPGNet missed some tiny defects, and the results show that DE performed better, achieving fewer false negatives and false positives. Our method shows an improved, or comparable performance compared with tiny-Unet, CCNet and SPGNet. These results indicate that DE is less sensitive to tiny defects, because the designed architecture containing encode-decode and decode-encode branches can extract semantic information at a high level and also pay more attention to encoding information on tiny defects. Table 5 compares inspection results for DE, tiny-UNet, CCNet and SPGNet on the two datasets. As expected, DE outperformed the three other methods in terms of pixel-level index and defect-level index. The results demonstrate that DE is more suitable for the specified inspection task.

V. CONCLUSION

49This paper presents a novel DE method for RSDD inspection. In contrast to previous works on RSDD inspection that focused on limited low-level features, here we apply deep learning for the reliable labeling of each pixel. Our approach therefore poses this problem in an alternative way to transform it into an image segmentation problem. The DE combines the strengths of the proposed bilateral fully convolutional networks and CRFs. It is capable of extracting high-level meaning and encoding varied information about defects. In particular, the proposed framework can be trained end-to-end. Our method achieves a new state-of-the-art on the Type-I and Type-II RSDD datasets. This improvement is attributable to the combination of the strengths of biFCN and CRFs in a single deep network. Although the developed method is designed for rail inspection, it can be easily extended to the identification of faults in other industrial products.

50Our future research will extend our work in the following aspects. We will investigate more elegant networks that learn to iteratively improve the input unary potentials to make them closer to the ground truth. We will also develop multiple sources of data types to increase the inspection accuracy.

참고문헌 60건

  1. Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification 2015 10.1109/iccv.2015.123
  2. Very Deep Convolutional Networks for Large-Scale Image Recognition Computer Vision and Pattern Recognition · 2014
  3. Rail corrugation detection by Gabor filtering 2002 10.1109/icip.2001.958571
  4. U-Net: Convolutional Networks for Biomedical Image Segmentation Lecture notes in computer science · Springer Science+Business Media · 2015 10.1007/978-3-319-24574-4_28
  5. Semantic Image Segmentation with Deep Convolutional Nets and Fully Connected CRFs arXiv (Cornell University) · Cornell University · 2014 10.48550/arxiv.1412.7062
  6. Visual recognition of fastening bolts for railroad maintenance Pattern Recognition Letters · Elsevier BV · 2004 10.1016/j.patrec.2004.01.008
  7. A new laser displacement sensor based on triangulation for gauge real-time measurement Optics & Laser Technology · Elsevier BV · 2007 10.1016/j.optlastec.2007.04.009
  8. Saliency-Based Defect Detection in Industrial Images by Using Phase Spectrum IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2014 10.1109/tii.2014.2359416
  9. A Novel and Effective Surface Flaw Inspection Instrument for Large-Aperture Optical Elements IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2015 10.1109/tim.2015.2415092
  10. A Visual Detection System for Rail Surface Defects IEEE Transactions on Systems Man and Cybernetics Part C (Applications and Reviews) · Institute of Electrical and Electronics Engineers · 2012 10.1109/tsmcc.2012.2198814
  11. An Effective Defect Inspection Method for LCD Using Active Contour Model IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2013 10.1109/tim.2013.2258242
  12. Automatic Fastener Classification and Defect Detection in Vision-Based Railway Inspection Systems IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2013 10.1109/tim.2013.2283741
  13. Railway Fastener Inspection by Real-Time Machine Vision IEEE Transactions on Systems Man and Cybernetics Systems · Institute of Electrical and Electronics Engineers · 2015 10.1109/tsmc.2014.2388435
  14. A Real-Time Visual Inspection System for Discrete Surface Defects of Rail Heads IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2012 10.1109/tim.2012.2184959
  15. Defect Detection in Solar Modules Using ICA Basis Images IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2012 10.1109/tii.2012.2209663
  16. Multiscale conditional random fields for image labeling 2004 10.1109/cvpr.2004.1315232
  17. Going deeper with convolutions 2015 10.1109/cvpr.2015.7298594
  18. Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation 2014 10.1109/cvpr.2014.81
  19. Greedy Layer-Wise Training of Deep Networks Advances in neural information processing systems · 2007 10.7551/mitpress/7503.003.0024
  20. A Real-Time Visual Inspection System for Railway Maintenance: Automatic Hexagonal-Headed Bolts Detection IEEE Transactions on Systems Man and Cybernetics Part C (Applications and Reviews) · Institute of Electrical and Electronics Engineers · 2007 10.1109/tsmcc.2007.893278
  21. Conditional Random Fields as Recurrent Neural Networks 2015 10.1109/iccv.2015.179
  22. The Role of Context for Object Detection and Semantic Segmentation in the Wild 2014 10.1109/cvpr.2014.119
  23. A Fast Learning Algorithm for Deep Belief Nets Neural Computation · The MIT Press · 2006 10.1162/neco.2006.18.7.1527
  24. An introduction to ROC analysis Pattern Recognition Letters · Elsevier BV · 2005 10.1016/j.patrec.2005.10.010
  25. Efficient Inference in Fully Connected CRFs with Gaussian Edge Potentials arXiv (Cornell University) · Cornell University · 2012 10.48550/arxiv.1210.5644
  26. ImageNet Classification with Deep Convolutional Neural Networks Neural Information Processing Systems · 2012
  27. Rethinking the Inception Architecture for Computer Vision 2016 10.1109/cvpr.2016.308
  28. A robust vision inspection system for detecting surface defects of film capacitors Signal Processing · Elsevier BV · 2015 10.1016/j.sigpro.2015.10.028
  29. Automated Visual Inspection System for Bogie Block Key Under Complex Freight Train Environment IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2015 10.1109/tim.2015.2479101
  30. Deep Residual Learning for Image Recognition 2016 10.1109/cvpr.2016.90
  31. Surface defect detection for high-speed rails using an inverse P-M diffusion model Sensor Review · Emerald Publishing Limited · 2016 10.1108/sr-03-2015-0039
  32. Fully Convolutional Networks for Semantic Segmentation IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2016 10.1109/tpami.2016.2572683
  33. A Machine Vision Apparatus and Method for Can-End Inspection IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2016 10.1109/tim.2016.2566442
  34. Associative hierarchical CRFs for object class image segmentation 2009 10.1109/iccv.2009.5459248
  35. Greedy Layer-Wise Training of Deep Networks 2007
  36. Full-Resolution Residual Networks for Semantic Segmentation in Street Scenes 2017 10.1109/cvpr.2017.353
  37. Pyramid Scene Parsing Network 2017 10.1109/cvpr.2017.660
  38. Deformable Convolutional Networks 2017 10.1109/iccv.2017.89
  39. Faster R-CNN: towards real-time object detection with region proposal networks Neural Information Processing Systems · 2015
  40. Rethinking Atrous Convolution for Semantic Image Segmentation arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1706.05587
  41. Gated Feedback Refinement Network for Dense Image Labeling 2017 10.1109/cvpr.2017.518
  42. A Hierarchical Extractor-Based Visual Rail Surface Inspection System IEEE Sensors Journal · IEEE Sensors Council · 2017 10.1109/jsen.2017.2761858
  43. Context Contrasted Feature and Gated Multi-scale Aggregation for Scene Segmentation 2018 10.1109/cvpr.2018.00254
  44. Online Rail Surface Inspection Utilizing Spatial Consistency and Continuity IEEE Transactions on Systems Man and Cybernetics Systems · Institute of Electrical and Electronics Engineers · 2018 10.1109/tsmc.2018.2827937
  45. BiSeNet: Bilateral Segmentation Network for Real-Time Semantic Segmentation Lecture notes in computer science · Springer Science+Business Media · 2018 10.1007/978-3-030-01261-8_20
  46. Efficient Inference in Fully Connected CRFs with Gaussian Edge Potentials arXiv (Cornell University) · Cornell University · 2012
  47. Geometry-Aware Distillation for Indoor Semantic Segmentation 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2019 10.1109/cvpr.2019.00298
  48. Recurrent Scene Parsing with Perspective Understanding in the Loop 2018 10.1109/cvpr.2018.00106
  49. Attention to Scale: Scale-Aware Semantic Image Segmentation 2016 10.1109/cvpr.2016.396
  50. Receptive Field Block Net for Accurate and Fast Object Detection Lecture notes in computer science · Springer Science+Business Media · 2018 10.1007/978-3-030-01252-6_24
  51. Stacked Deconvolutional Network for Semantic Segmentation IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2019 10.1109/tip.2019.2895460
  52. SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentation IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2017 10.1109/tpami.2016.2644615
  53. Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation Lecture notes in computer science · Springer Science+Business Media · 2018 10.1007/978-3-030-01234-2_49
  54. Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2017 10.1609/aaai.v31i1.11231
  55. Understanding Deep Learning Techniques for Image Segmentation ACM Computing Surveys · Association for Computing Machinery · 2019 10.1145/3329784
  56. CCNet: Criss-Cross Attention for Semantic Segmentation 2019 10.1109/iccv.2019.00069
  57. Composite real-time image processing for railways track profile measurement IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2000 10.1109/19.850395
  58. SPGNet: Semantic Prediction Guidance for Scene Parsing 2021 IEEE/CVF International Conference on Computer Vision (ICCV) · 2019 10.1109/iccv.2019.00532
  59. Filter-based feature selection for rail defect detection Machine Vision and Applications · Springer Science+Business Media · 2004 10.1007/s00138-004-0148-3
  60. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2016 10.1109/tpami.2016.2577031