A New Method for Determining Transverse Crack Defects in Welding Radiography Images based on Fuzzy-Genetic Algorithm

Similar documents
Renu Dhir C.S.E department NIT Jalandhar India

Implementation Of Fuzzy Controller For Image Edge Detection

Fuzzy Inference System based Edge Detection in Images

A Method of weld Edge Extraction in the X-ray Linear Diode Arrays. Real-time imaging

Hybrid Algorithm for Edge Detection using Fuzzy Inference System

GENERAL AUTOMATED FLAW DETECTION SCHEME FOR NDE X-RAY IMAGES

HCR Using K-Means Clustering Algorithm

Analysis of Image and Video Using Color, Texture and Shape Features for Object Identification

New method for edge detection and de noising via fuzzy cellular automata

Computer Aided Defect Detection Strategy for Welded Joints.

FPGA IMPLEMENTATION FOR REAL TIME SOBEL EDGE DETECTOR BLOCK USING 3-LINE BUFFERS

Hardware Description of Multi-Directional Fast Sobel Edge Detection Processor by VHDL for Implementing on FPGA

OCR For Handwritten Marathi Script

Fast Efficient Clustering Algorithm for Balanced Data

Sar Image Segmentation Using Modified Bacterial Forging Optimization Algorithm

An Efficient Image Sharpening Filter for Enhancing Edge Detection Techniques for 2D, High Definition and Linearly Blurred Images

MULTI ORIENTATION PERFORMANCE OF FEATURE EXTRACTION FOR HUMAN HEAD RECOGNITION

Topic 4 Image Segmentation

N.Priya. Keywords Compass mask, Threshold, Morphological Operators, Statistical Measures, Text extraction

Automated Lesion Detection Methods for 2D and 3D Chest X-Ray Images

Automatic Visual Inspection of Bump in Flip Chip using Edge Detection with Genetic Algorithm

Defect Detection of Regular Patterned Fabric by Spectral Estimation Technique and Rough Set Classifier

Development of system and algorithm for evaluating defect level in architectural work

Fast Vehicle Detection and Counting Using Background Subtraction Technique and Prewitt Edge Detection

DESIGNING A REAL TIME SYSTEM FOR CAR NUMBER DETECTION USING DISCRETE HOPFIELD NETWORK

Biometric Security System Using Palm print

[10] Industrial DataMatrix barcodes recognition with a random tilt and rotating the camera

A New Multi-objective Multi-mode Model for Optimizing EPC Projects in Oil and Gas Industry

Blood Microscopic Image Analysis for Acute Leukemia Detection

Time Stamp Detection and Recognition in Video Frames

Structural Analysis of Aerial Photographs (HB47 Computer Vision: Assignment)

An Approach for Real Time Moving Object Extraction based on Edge Region Determination

Digital Image Processing. Image Enhancement - Filtering

SEVERAL METHODS OF FEATURE EXTRACTION TO HELP IN OPTICAL CHARACTER RECOGNITION

Fuzzy Logic Based Edge Detection in Color Images

Seismic regionalization based on an artificial neural network

A FINGER PRINT RECOGNISER USING FUZZY EVOLUTIONARY PROGRAMMING

1. Introduction. 2. Motivation and Problem Definition. Volume 8 Issue 2, February Susmita Mohapatra

Hybrid filters for medical image reconstruction

Edge detection. Stefano Ferrari. Università degli Studi di Milano Elaborazione delle immagini (Image processing I)

A New Method in Shape Classification Using Stationary Transformed Wavelet Features and Invariant Moments

Comparative Analysis of Edge Detection Algorithms Based on Content Based Image Retrieval With Heterogeneous Images

Keywords: Thresholding, Morphological operations, Image filtering, Adaptive histogram equalization, Ceramic tile.

RESTORATION OF DEGRADED DOCUMENTS USING IMAGE BINARIZATION TECHNIQUE

SEGMENTATION AND OBJECT RECOGNITION USING EDGE DETECTION TECHNIQUES

Image Segmentation Techniques

Computer Science Faculty, Bandar Lampung University, Bandar Lampung, Indonesia

Biometrics Technology: Image Processing & Pattern Recognition (by Dr. Dickson Tong)

Object Shape Recognition in Image for Machine Vision Application

Sobel Edge Detection Algorithm

Genetic algorithm based on number of children and height task for multiprocessor task Scheduling

A New Technique of Extraction of Edge Detection Using Digital Image Processing

Hyperspectral Image Segmentation using Homogeneous Area Limiting and Shortest Path Algorithm

Human Motion Detection and Tracking for Video Surveillance

Ulrik Söderström 16 Feb Image Processing. Segmentation

Feature Detectors - Canny Edge Detector

Image-Based Competitive Printed Circuit Board Analysis

Available online Journal of Scientific and Engineering Research, 2019, 6(1): Research Article

CORRELATION BASED CAR NUMBER PLATE EXTRACTION SYSTEM

CHAPTER 4 FUZZY LOGIC, K-MEANS, FUZZY C-MEANS AND BAYESIAN METHODS

ECEN 447 Digital Image Processing

Lecture 6: Edge Detection

A New Algorithm for Shape Detection

Image Processing. BITS Pilani. Dr Jagadish Nayak. Dubai Campus

ADVANCED IMAGE PROCESSING METHODS FOR ULTRASONIC NDE RESEARCH C. H. Chen, University of Massachusetts Dartmouth, N.

EECS490: Digital Image Processing. Lecture #19

Image Edge Detection

CHAPTER 4 DETECTION OF DISEASES IN PLANT LEAF USING IMAGE SEGMENTATION

An Improved Genetic Algorithm for the Traveling Salesman Problem with Multi-Relations

Computer and Machine Vision

Texture Segmentation by Windowed Projection

PERFORMANCE ANALYSIS OF CANNY AND OTHER COMMONLY USED EDGE DETECTORS Sandeep Dhawan Director of Technology, OTTE, NEW YORK

International ejournals

Robust PDF Table Locator

Fabric Textile Defect Detection, By Selection An Suitable Subset Of Wavelet Coefficients, Through Genetic Algorithm

Keywords Counterfeit currency, Correlation, Canny edge detection, FIS

EE795: Computer Vision and Intelligent Systems

An Efficient Character Segmentation Based on VNP Algorithm

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

The Application of Cellular Learning Automata in Individuals' Identification on the Basis of iris Image

EE795: Computer Vision and Intelligent Systems

Critique: Efficient Iris Recognition by Characterizing Key Local Variations

The Vehicle Logo Location System based on saliency model

Tumor Detection and classification of Medical MRI UsingAdvance ROIPropANN Algorithm

Edge Detection for Dental X-ray Image Segmentation using Neural Network approach

SIMULATIVE ANALYSIS OF EDGE DETECTION OPERATORS AS APPLIED FOR ROAD IMAGES

DETERMINING MAXIMUM/MINIMUM VALUES FOR TWO- DIMENTIONAL MATHMATICLE FUNCTIONS USING RANDOM CREOSSOVER TECHNIQUES

A Clustering Method with Efficient Number of Clusters Selected Automatically Based on Shortest Path

Distinguishing the Noise and image structures for detecting the correction term and filtering the noise by using fuzzy rules

Optimization of fuzzy multi-company workers assignment problem with penalty using genetic algorithm

A Hybrid Genetic Algorithm for the Distributed Permutation Flowshop Scheduling Problem Yan Li 1, a*, Zhigang Chen 2, b

SURVEY ON IMAGE PROCESSING IN THE FIELD OF DE-NOISING TECHNIQUES AND EDGE DETECTION TECHNIQUES ON RADIOGRAPHIC IMAGES

Towards Automatic Recognition of Fonts using Genetic Approach

Implementation of Canny Edge Detection Algorithm on FPGA and displaying Image through VGA Interface

A FUZZY LOGIC BASED METHOD FOR EDGE DETECTION

Automatic License Plate Detection and Character Extraction with Adaptive Threshold and Projections

CS334: Digital Imaging and Multimedia Edges and Contours. Ahmed Elgammal Dept. of Computer Science Rutgers University

CHAPTER 6 HYBRID AI BASED IMAGE CLASSIFICATION TECHNIQUES

A Novel method for image enhancement by Channel division method using Discrete Shearlet Transform and Genetic Algorithm

SRCEM, Banmore(M.P.), India

Transcription:

International Journal of Engineering & Technology Sciences Volume 03, Issue 04, Pages 292-30, 205 ISSN: 2289-452 A New Method for Determining Transverse Crack Defects in Welding Radiography Images based on Fuzzy-Genetic Algorithm Fatemeh Abdi a, Abbas Karimi b, Emad Eddin Hezavehi c a Department of Computer Engineering, Faculty of Engineering, Islamic Azad University, Arak Branch, Arak, Iran b Department of Computer Engineering, Faculty of Engineering, Islamic Azad University, Arak Branch, Arak, Iran c Department of Computer Engineering, Faculty of Engineering, Islamic Azad University, Arak Branch, Arak, Iran * Corresponding author. Tel.0098-863246; E-mail address: Yamna390@gmail.com A b s t r a c t Keywords: وdetection Edge Fuzzy-genetic algorithm, Image processing, Radiographic images. Accepted:6 May205 Transverse cracks are one of the important defects in the welding industry, and if such defects are detected in radiography images, the welded part will be returned to further operations. Among the nondestructive testing methods, industrial radiography is one of the suitable and commonly used techniques for detecting and assessing welding defects. Hence, providing a new method for error-free interpretation of radiography films is necessary. The present research proposes a new method for optimizing the edge detection fuzzy system based on the genetic algorithm that results in the quality improvement of radiography images in terms of better detection of transverse cracks. Based on the results of the proposed algorithm, 5 outputs were randomly applied to radiography images. Visual observations and reliability of the optimized system confirmed the strength of the proposed method for improving the quality of radiography images and the easiness of images defects detection. Academic Research Online Publisher. All rights reserved.. Introduction The Welding process is known as the main process for joining similar and dissimilar metals. It is necessary to analyze and test the quality of welding products from different analytic, static, and dynamic dimensions. Welding processes are significant in modern industries such as aerospace, shipbuilding, petroleum, and petrochemical industries. Nondestructive testing (NDT) is an integral and inseparable constituent of quality assurance programs in every industry. In terms of quality control, thus, NDT has an outstanding position in achieving efficient and effective results. Given this, the industrial radiography (RT) is one of the suitable and common techniques for identifying and 292 P a g e assessing the quality characteristics of the welding (defects such as cracks, porosity, and slag). Transverse cracks are important in detecting defects, and if they are detected in the radiography image, the welded part should be returned for re-welding. Sometimes, the ups and downs of the handmade welding line mask the defect from radiography image and make its interpretation difficult. Therefore, the present research proposes an algorithm to enhance the quality of industrial radiography images and offers a practical way for a better, more accurate, and easier identification of welding defects. In the proposed method, an optimization method based on the genetic

Fatemeh Abdi et al. / International Journal of Engineering and Technology Sciences (IJETS) 3 (4): 292-30, 205. algorithm was used. After the optimization of edge detection fuzzy system through pre-edge detected samples, the fuzzy system was implemented in four edge detection steps which include: ) digitalizing and improving the radiography images, 2) prototyping, 3). optimizing the edge detection fuzzy system, and finally 4) images edge detection. The algorithm implementation procedure is carried out using MATLAB software Fig. : The sequences of the proposed system 2. Methodology Background One of the useful and effective features in object detection relies on the use of information about an object and its edges. Many methods have been developed for edge detection, including methods that are based on wavelet conversion, the algorithm for water division line, morphological operators, ant algorithm, soft computing, and fuzzy edge detection. In addition to the previous edge detection methods, fuzzy edge detection is one of the important methods that have too many applications for edge detection. Abdollah et al. (2009) []employed a 3 3 square and evaluated its edge detection ability using eight rules over 9 pixels. Bhagabati and Das (202) [2] employed a 3 3 square and implemented their proposed edge detection method using ten rules over 4 pixels. Bharti and Kumar (203) [3]used a 2 2 mask with 6 rules for edge detection over four neighborhood pixels. 3. Proposed algorithm 3.. Image digitalization If the radiography imaging system is equipped with a computer interface, radiography image data will be transmitted directly to the computer system. In the traditional methods, however, the radiography films are scanned using a scanner device. In the present research, a set of radiography films owned by Gas Company in Markazi province of Iran was employed as the research sample and an HP 5590 scanner device was used to convert the negatives of radiography films to digital images. The images were stored in a computer system in TIFF format. 3.2. Region of Interest (ROI), Recognition of Interested Parts (Operation Zone) The first step in the processing of digital images is the separation of the under study zone. For this purpose, different methods were employed. Moallem et al. (2007) [4] used the vertical projection to find the welding zone and its domain. In the optical field, the vertical projection is a machine that converts twodimensional space to one-dimensional space resulting in a sharp decline in the information volume. The use of Raleigh Probability Density Function (RPDF) for each pixel help in the recognition of welding zone.[5] Mythili Thruanam et al. [6] used a global thresholding method. Wang s and OTSU methods have been used as the methods of global thresholding techniques. Hassan et al.[7] employed canny edge detector that is based on the gradient of radiography images. In the welding radiography images, it is assumed that images are horizontal, thus selecting the bright zone will help to detect the operating zone. Here, the summation of image pixels brightness intensity in a row was used, 293 P a g e

Fatemeh Abdi et al. / International Journal of Engineering and Technology Sciences (IJETS) 3 (4): 292-30, 205. and the alpha threshold was selected as the darkness threshold. Having this information, the index of the lowest and highest lines in the bright zone was obtained. Then, the zone between these two lines was selected as the operating zone (equation ). I={i(x,y) maxrowindex>y>minrowindex maxrowindex=max(index(rowsum>α)) and minrowindex=min(index(rowsum>α)) rowsum= sum(i(y))} Equation. The selection of operating zone s points from the images (i is the welding radiography image, l is the operating zone, α is the constant showing the intensity of brightness in the dark zone, and x and y are the image dimensions). 3.. Pre-processing After imaging, the images were read as digital images while the RGB images were changed to gray scale. Then the operating zone was selected to eliminate the points that are less than 5 pixels, a mean filter with 5 5 pixel mask was employed. To correct the gradient of brightness intensity changes, statistic ordering was undertaken. Subsequently, the edge s gradient was sharpened using a sharp filter. A two-dimensional noise deletion filter with 3 3 pixel masks, 5 5 pixel masks, and 0 0 pixel masks was used in every step to re-correct the brightness intensity distribution histogram.. Fig. 2: Pre-process algorithm 294 P a g e

Fatemeh Abdi et al. / International Journal of Engineering and Technology Sciences (IJETS) 3 (4): 292-30, 205. 4.. Fuzzy System Inspired by Shikha Bharti s method, here a 2 2 chisquare is used and edge detection is carried out with four inputs and output over four neighbor pixels (Figure 2). In the system, Mamdani s Inference Engine and the center of gravity defuzzifier are employed. In addition, the and method and or method respectively are chosen for minimum and maximum [] (Figure 3). Fig. 3: Shikha Bharti s 2 2 mask Fig. 4: Shikha Bharti s Mamdani system The system employs 6 rules for edge detection [c], they are all artificial black and white pixels and are determined based on their pre-defined intervals. Fig. 5: Shikha Bharti s fuzzy rules system If we consider the edge pixel as and non-edge pixel as 0, the resulted array will be as follows: 0 0 0 An array of fuzzy function rules [c] 295 P a g e

Fatemeh Abdi et al. / International Journal of Engineering and Technology Sciences (IJETS) 3 (4): 292-30, 205. The examination of the image brightness intensity shows an approximate interval for the membership functions base of the fuzzy system input and output. Fig. 6: Color map diagram Based on the selected interval, the input membership function is defined using trapezoidal diagram for the black and white color values and the output membership function is defined as the employing triangular diagram for detecting the edge or non-edge zones. 0, x < 0 x 0 x 70 70 f(0, 70, 00, 70) =, 70 < x < 00 70 x {, x 70 70 Equation 2) Black color membership function f(40, 90, 230, 255) = { x 40 50 0, x < 0 40 x 90, 90 < x < 230 230 x 25, x 255 Fig. 7: Trapezoidal membership function diagram Equation 3) White color membership function 0, x < 0 x 0 x 90 90 f(0, 90, 220) = 220 x, 90 x 220 0 { 0 220 x Equation 4) Edge membership function 296 P a g e

Fatemeh Abdi et al. / International Journal of Engineering and Technology Sciences (IJETS) 3 (4): 292-30, 205. 0, x < 60 x 60 60 x 220 f(60, 220, 255) = 40 255 x, 220 x 255 35 { 0 255 x Equation 5) Non-edge membership function Fig. 8: Triangular membership function diagram 5.. Fuzzy system optimization using genetic algorithm Since it is possible to define the bases of fuzzy membership functions at the [0 255] interval, obviously different selections are possible but the precision and correctness on the selection rely on a more accurate method. The research tries to select the best interval and domain for the membership function using the genetic algorithm. Furthermore, discovering suitable rules is another aim of the fuzzy system optimization; here the selection is from 65535 possible cases for 6 rules. 5... Chromosome structure Shikha Bharti et al. (203) used a 2 2 mask with 6 rules for edge detection over four neighbor pixels. One of the present research objectives is automatic discovering of suitable rules in each optimization run for the 6 rule system. For this purpose, we need to find 6 answers for the system s rules using the genetic algorithm. Each chromosome in the genetic algorithm indicates a point in the searching space and a possible solution to the considered problem. Chromosomes are composed of a fixed number of genes and in the proposed algorithm a 5-component array is used to display the chromosomes. One of the genes was considered for determining the best array from 65535 different cases. The other 4 genes were placed at [0 ] decimal interval and were considered for identifying the input and output membership function. 56656 Fig.9: Chromosome structure in the proposed method 5..2. Fitness function In any problem, a suitable fitness function is created based on the nature of the program. In order to recognize better creatures among a population, it is necessary to define a relevant criterion for identifying better creatures. This process, i.e. the determination of the creature s fitness is called evaluation of the creature." 297 P a g e

Fatemeh Abdi et al. / International Journal of Engineering and Technology Sciences (IJETS) 3 (4): 292-30, 205. In such an evaluation, a number is assigned to the goodness of a creature; the number for better creatures may be larger (or smaller) which is known as fitness. The fitness is maximized or minimized according to the problem nature. In the proposed algorithm, the image s number of edges that are detected by Sobel operator is used as the criterion. The image edges always contain useful information. In general, an edge is the boundary for light intensity changes between two parts of one single image. Here, the evaluation function is from minimum type, so the lowest value is selected as the highest For example, if we aim at minimizing a function, the inputs with lower function values will be considered as better inputs. fitness. For computing the values from pre-processed images, a sample is considered for edge detection using Sobel edge detector, and its output is compared with the output of every genome generation in the proposed algorithm Pre-processed image Sample Sobel edge detection Fig. 0: Sample prototyping for confirming edge detection accuracy Then, the fitness of each generation is estimated using selection operant, mutation operant is set at the rate of differences in the detected edges of two images. The one-twentieth on 5 percent of the population, and the result is shown in the diagram form. combination rate is considered as eight-tenth. The A random sample of the population was created genetic algorithm implementation with the proposed through the genetic algorithm toolbar in the MATLAB adjustments empirically indicated that the population software. The Roulette wheel method was used for tended to optimality. Fig. : Optimality in successive generations created by genetic algorithm 298 P a g e

Fatemeh Abdi et al. / International Journal of Engineering and Technology Sciences (IJETS) 3 (4): 292-30, 205. As it can be seen from the Figure and according to the fitness function, the lowest value (smallest difference) is the highest fitness in the diagram. At the final step of the algorithm, one output was randomly selected from the outputs of the proposed algorithm, then it was fed into the fuzzy system. The output image with a higher quality was obtained from the system. The selected rules array as: 0 0 0 0 0 0 0 0 0 Optimized based for black membership function [2 63 40 55] Optimized bases for white membership function [49 46 204 254] Optimized based for edge output membership function [8 24 97] Optimized based for non-edge output membership function [40 47 204] previous image noises that could lead to misleading the The resulted image was compared with the image detection disappear and the welding line edges are obtained through the selected domain and with another quite clear. image from another edge detector such as Canny edge detector. As it is shown in Figures 2 to 6, the Fig. 2: Main welding radiography image Fig. 3: Pre-processed image Fig. 4: Edge detected image using fuzzy system Fig. 5: Edge detected image using Canny algorithm Fig. 6: Edge detected image using fuzzy system optimized with genetic algorithm 299 P a g e

Fatemeh Abdi et al. / International Journal of Engineering and Technology Sciences (IJETS) 3 (4): 292-30, 205. 5..3 Reliability In order to demonstrate the proposed algorithm s efficiency, the method is used for some scanned radiography images with TIFF format employing MATLAB 203 software with 2.50 GHZ CPU and 4 GB RAM. For the quantitative evaluation of the proposed algorithm, 30 outputs from the outputs of the genetic algorithm were randomly selected and fed into the fuzzy system from which 27 correct answers and three incorrect answers were obtained. N=30 Number of selected outputs Nc=27 Number of correct results Nin=3 Number of incorrect results The algorithm reliability R= Nc N = 27 30 =0.9*00=90% Incorrect detection probability Detection probability False negative False positive True negative True positive Number of tested samples % 0 % 90 2 5 50 Sensitivity= True positive True positive+false negative =3 5 = 0.86 efficiency= False positive = 4 True negative+false positive 4 = 6. Conclusion The genetic algorithm is considered as a very promising optimization method in the image processing field, and it is commonly used to implement various filters and to increase the images contrasts. Among the welding defects, transverse crack is a very significant and impossible to ignore defect. Thus, the optimization success in this context is vital and in the References [] Abdallah A, Alshennawy A. Edge detection in digital images using fuzzy logic technique. International Scholarly and Scientific Research & Innovation 2009; 3 ():-9. [2] Bhagabati B, Das C. Edge detection of digital images using fuzzy rule based technique. International Journal of Advanced Research in Computer Science and Software Engineering 202; 2(2):259-262. [3] Bharti S. An edge detection algorithm based on fuzzy logic. International Journal of Engineering 300 P a g e fuzzy-genetic system heavily depends on chromosome coding scheme, crossover and mutation strategy, fitness function, domain selection, and the chosen fuzzy rules. For each problem, a detailed analysis should be conducted, and a correct method should be selected. Trends and Technology 203; 4, 289-93. [4] Moallem A, P.Moallem P. Enhancing weld radiographic images with image processing and machine vision. international conference on technical inspection and NDT 2007; -8. [5]Halim S. A. H, Ibrahim N.A, Manurung, Y.H.. The geometrical feature of weld defect in assessing digital radiographic image. Imaging Systems and Techniques (IST) 20; 2, 89-93. [6]Thirugnanam M, Anouncia S. M. A novel approach

Fatemeh Abdi et al. / International Journal of Engineering and Technology Sciences (IJETS) 3 (4): 292-30, 205. for automatic region of interest extraction in industrial radiographic images. International Journal of Computational Vision and Robotics 204; 4(3): 235-246. [7] Hassan J, Awan A. M, Jalil A. Welding defect detection and classification using geometric features. 0 th international confercne on fronteirs of information technology 202; 39-44. 30 P a g e