SlideShare a Scribd company logo
IOSR Journal of Electronics and Communication Engineering (IOSR-JECE)
e-ISSN: 2278-2834,p- ISSN: 2278-8735. Volume 7, Issue 6 (Sep. - Oct. 2013), PP 36-38
www.iosrjournals.org
www.iosrjournals.org 36 | Page
2-Dimensional Wavelet pre-processing to extract IC-Pin
information for disarrangement analysis
Kushal Kumar1
, Anamika Yadav2
, Himanshi Rani3
, Yashasvi Nijhawan4
,
Sudha Radhika5
1
(Electronics and Communication Engineering, Jaypee University of Engineering and Technology,Guna, India, 2013)
2
(Electronics and Communication Engineering, Bhagwan Parshuram Institute of Technology, Delhi, India, 2012)
3
(Electronics and Communication Engineering, Vellore Institute of Technology, Chennai, India, 2015)
4
(Electronics and Communication Engineering, Jaypee University of Information Technology, India, 2013)
5
(ECE Department, Jaypee University of Engineering and Technology, India)
Abstract: Due to higher processing power to cost ratio, it is now possible to replace the manual detection
methods used in the IC (Integrated Circuit) industry by Image-processing based automated methods, to detect a
broken pin of an IC connected on a PCB during manufacturing, which will make the process faster, easier and
cheaper. In this paper an accurate and fast automatic detection method is used where the top view camera shots
of PCBs are processed using advanced methods of 2-dimensional discrete wavelet pre-processing before
applying edge-detection. Comparison with conventional edge detection methods such as Sobel, Prewitt and
Canny edge detection without 2-D DWT is also performed.
Keywords :2-dimensional wavelets, Edge detection, Machine vision, Image processing, Canny.
I. INTRODUCTION
PCBs are assembled using line production techniques in industries. The faulty IC pins are difficult to
identify during the production process unless it is fully automated. In this paper a novel image processing
method for detection of IC pins using wavelet pre-processed edge detection is proposed. The results are
compared with the conventional edge detection techniques used today.
A series of steps in wavelet pre-processed edge detection are performed in a systematic way which
detects the IC coming through. Edge detection is almost a prerequisite in various recognition tasks, like pins
recognition on an IC. Edge is a separation or a boundary between two homogeneous surfaces. Fig.1 shows the
image of an IC which was used for edge detection in the proposed method and the conventional edge-detection
methods (Sobel, Prewitt and Canny). Various conventional techniques for edge detection of IC’s are available in
literature[1]. Huang et al. (2011) proposes an improved algorithm for canny edge detection. It uses an improved
switch median filter algorithm instead of Gaussian filter algorithms for filtering. [2]Somyot et al.(2012) used
wavelet transforms to compress the image before edge detection.
In this paper, firstly the wavelet pre-processed edge detection results were analyzed and then compared
to edge detection results not subjected to wavelet pre-processing first. The success of the method is derived
based upon how efficiently the edges have been detected.
II. EDGE DETECTION
An edge is an abrupt change in the intensity level, wh ich characterizes high frequency component in an
image. Noise is an unwanted signal which can cause inefficiency in edge detection. The wavelet transform is an
effective tool which can be used before edge detection. The purpose of using wavelet transform is to remove
low frequency component and use only the high frequency components.
In practice due to imperfection in image acquisition or sampling, the edges get blurred and tend to
become thick. However the derivatives play an important role in detecting the edges and locating the edge pixels
in an image. The first derivative is positive at the point of intensity variation and zero in the areas of constant
intensity. The magnitude of first derivative can be used to detect the presence of an edge. The second derivative
is positive if the transition occurs on the dark side of an edge and it is negative if transition is on the light side of
an image. Hence, a second derivative can be used to locate the edge pixels. For edge detection second derivative
can also be used but its sensitivity towards noise limits its application in edge detection. In the subsequent
sections we will be discussing about the approximated first derivative operators that are used for edge detection
in the present investigation.
III. CONVENTIONAL EDGE DETECTION METHODS
The edge detection methods used in this paper are Sobel, Prewitt and Canny, which are compared to
each other and then the best one of them is compared to the proposed algorithm. The algorithms are compared
2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarrangement analysis
www.iosrjournals.org 37 | Page
based on how much amount of the pin data can they extract from the given image. So, first we should know
briefly what these methods are and how do they work. Next, we extract the pin information from the original
image as well as segmented edge-detected image in the form of number of pin-pixels and compare which
method extracts the maximum pin-information for analysis. In the original image, the no. of pixels contained by
the pins are 6689.
3.1 SOBEL
The Sobel edge detector is an approximated, first derivative two dimensional edge detector. It
calculates gradient in X and Y direction. It uses a convolutional mask to calculate the gradients as in equation
(1) and gradient directions as in equation (2). The masks are slid over the image and gradient values are
calculated. In Sobel the centre coefficient of the mask uses a weight of two, it is used so as to achieve a
smoothing by giving more weightage to the central term of the mask. The segmented image obtained by using a
Sobel operator is shown in Fig.2. The number of pin-pixels detected by this algorithm was 2031.
|G|=|GX|+|GY| (1)
Θ=tan-1
[
𝐺 𝑌
𝐺 𝑋
] (2)
3.2 PREWITT
Prewitt edge detector is also an approximated first derivative two dimensional edge detector. It uses
aconvolutional mask to calculate the gradient in X and Ydirections respectively. The segmented image obtained
by using Prewitt operator is shown in Fig.3. The number of pin-pixels detected by this algorithm was 2297.
3.3 CANNY
Canny edge detection is another method of edge detection. It follows a series of steps. In the first step it
eliminates the noise from the Image by filtering the Image using Gaussian filter. In the second step it calculates
the gradient and the edge direction of the Image using Sobel edge detection. In the third step it performs non-
maximum suppression. The pixels along the edge direction which do not satisfy (3) are set to 0 or considered as
non-edge pixel. Further suppression is done using hysteresis. Hysteresis uses two thresholds. T1 and T2. If the
magnitude is below the first threshold then it is set to 0 (non-edge pixel). If the magnitude is above threshold T2
then it is considered as an edge pixel. If the magnitude lies between T1 and T2 then dependin g upon the path
between the current pixel and the pixel with magnitude greater than T2 the pixel is considered as an edge pixel
or non-edge pixel. The segmented image obtained by using a canny edge detector is shown in Fig.4. The number
of pin-pixels detected by this algorithm was 3651.
IV. ProposedMethod
In the proposed method, the image is first pre-processed using wavelets before being subjected to the
edgedetection algorithms. Wavelets are a small portion of the wave. Wavelet transform uses wavelets to capture
different frequency components of the signal whose resolution matches up with its scale. This technique is
known as multi-resolution Analysis. It comprises of a scaling function and a wavelet function. Scaling function
gives the series of approximation of the signal, where each approximated signal differs by a factor of two.
Wavelet functions are used to add the detailed information in the difference of the two neighbouring
approximations. Hence in wavelet analysis we get the approximated part and the detailed part of the signal.
In case of Images the wavelet analysis is carried out in two dimensions. In X and Y direction
respectively, the two dimensional wavelet decomposition is shown in the formof an image in Fig. 5. It is known
as filter bank analysis. It consists of high pass and low pass filters. First the analysis is done along the columns
and then along the rows. The output of the low pass filter gives the approximated coefficients and the output of
the high pass filter gives detailed coefficients. The approximated coefficients at scale j+1 are used to construct
the detailed and approximated coefficients at scale j. In case of two dimensions we get three sets of detailed
coefficients (rest three squares) and one set of approximated coefficient (upper left square).
Now, in the proposed method, we have first subjected the image to a 2-Dimensional discrete wavelet
transform (2-D DWT). Doing this, we get a set of 4 images, one is the set of approximated coefficients and the
other three are set of detailed coefficients. We ignore the approximated coefficient and reconstruct the image
using the set of detailed coefficients, i.e. we take inverse 2-D DWT. The image is now ready to be edge-detected
using any conventional algorithm like Sobel. So, we choose the best one of the conventional methods, which
comes out to be Canny and then compare it with our proposed method in Fig. 6. The number of pin-pixels
detected by this algorithm was 5636, i.e. 84.25% of the pin-information is accurately extracted.
2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarrangement analysis
www.iosrjournals.org 38 | Page
V. Figures
Fig.1 Original IC image. Fig.2Pin segmentation on Sobel edge-detected image.
Fig.3 Pin segmentation on Prewitt edge- Fig.4 Pin segmentation on Canny edge-
detected image. detected image.
Fig.5 2-D DWT illustration. Fig.6 Pin segmentation on Wavelet pre-
processed Canny edge-detected image.
VI. Conclusion
Based on the results the following inferences can be made. When wavelet pre-processing was not
performed, canny edge detection, Fig.4 was found to be the most efficient method followed by Prewitt, Fig.3
and Sobel, Fig.2. When wavelet pre-processing was used, the results obtained are as shown in Fig. 6 which were
more accurate than the results obtained without using wavelet pre-processing as in Fig. 2, 3 and 4. On using
wavelet pre-processing the low frequency component of the image was removed and high frequency
components were retained during reconstruction. The edges which comprises of high frequencies were
efficiently detected. Thus the choice of using wavelet pre-processing made edge detection more efficient. Better
and efficient extraction of IC pin information was achieved.
The IC manufacturing industry will benefit greatly from this approach. The number of man-hours will
be greatly reduced and the results would be more accurate than any of the current methods. This method could
be easily implemented using basic hardware.
References:
[1] Ying Huang,QiPan,QiLiu,XinPengHe,YunFengLiu,YongQuan Yu, “Application of Improved Canny Algorithm on the IC Chip pin
Inspection”,AdvancedMaterials Research Vols. 317-319 (2011) pp 854-858.
[2] K. Somyot, S. Anakapon and K. Anantawat, “Pattern recognition technique for IC pins inspection using wavelet transform with
chain code discrete FourierTransform and signal correlation”, International Journal of Physical Sciences, Vol.7 (9), pp. 1326-1332,
23 February 2012.
[3] Tim Edwards, “Discrete Wavelet Transform: Implementation andtheory”, Stanford University, September 1991.
[4] Rafael C. Gonzalez, Richard E. Woods Digital ImageProcessing (ISBN-13: 978-0131687288,3rd
Edition, 2007)

More Related Content

PDF
Mislaid character analysis using 2-dimensional discrete wavelet transform for...
PDF
Denoising and Edge Detection Using Sobelmethod
PDF
Ed34785790
PDF
Ex4301908912
PDF
Enhanced Optimization of Edge Detection for High Resolution Images Using Veri...
PDF
F045033337
PDF
Edge detection by using lookup table
PDF
Performance Evaluation of Image Edge Detection Techniques
Mislaid character analysis using 2-dimensional discrete wavelet transform for...
Denoising and Edge Detection Using Sobelmethod
Ed34785790
Ex4301908912
Enhanced Optimization of Edge Detection for High Resolution Images Using Veri...
F045033337
Edge detection by using lookup table
Performance Evaluation of Image Edge Detection Techniques

What's hot (20)

PDF
A NOVEL APPROACH FOR SEGMENTATION OF SECTOR SCAN SONAR IMAGES USING ADAPTIVE ...
PDF
A Fuzzy Set Approach for Edge Detection
PDF
A New Technique of Extraction of Edge Detection Using Digital Image Processing
PDF
Comparative Analysis of Common Edge Detection Algorithms using Pre-processing...
DOCX
final_project
PDF
By33458461
PDF
E010232227
PDF
Ph.D. Thesis Presentation: A Study of Priors and Algorithms for Signal Recove...
PDF
Spot Edge Detection in cDNA Microarray Images using Window based Bi-Dimension...
PDF
Denoising Process Based on Arbitrarily Shaped Windows
PDF
F43053237
PDF
D018112429
PDF
Fpga implementation of image segmentation by using edge detection based on so...
PDF
Fpga implementation of image segmentation by using edge detection based on so...
PDF
EDGE DETECTION OF MICROSCOPIC IMAGE
PDF
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
PDF
Removal of Gaussian noise on the image edges using the Prewitt operator and t...
PDF
International Journal of Engineering Research and Development (IJERD)
PDF
14 6649 6900-1-sm mri(edit)upadte equation
PDF
J010245458
A NOVEL APPROACH FOR SEGMENTATION OF SECTOR SCAN SONAR IMAGES USING ADAPTIVE ...
A Fuzzy Set Approach for Edge Detection
A New Technique of Extraction of Edge Detection Using Digital Image Processing
Comparative Analysis of Common Edge Detection Algorithms using Pre-processing...
final_project
By33458461
E010232227
Ph.D. Thesis Presentation: A Study of Priors and Algorithms for Signal Recove...
Spot Edge Detection in cDNA Microarray Images using Window based Bi-Dimension...
Denoising Process Based on Arbitrarily Shaped Windows
F43053237
D018112429
Fpga implementation of image segmentation by using edge detection based on so...
Fpga implementation of image segmentation by using edge detection based on so...
EDGE DETECTION OF MICROSCOPIC IMAGE
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
Removal of Gaussian noise on the image edges using the Prewitt operator and t...
International Journal of Engineering Research and Development (IJERD)
14 6649 6900-1-sm mri(edit)upadte equation
J010245458
Ad

Viewers also liked (20)

PDF
Survey of Machine Learning Techniques in Textual Document Classification
PDF
K016136062
PDF
Recapitulating the development initiatives of a robust information security s...
PDF
Automatic DNA Sequence Generation for Secured Effective Multi -Cloud Storage
PDF
Parametric Optimization of Eicher 11.10 Chassis Frame for Weight Reduction Us...
PPT
кайртаева жадыра театр - предприниматели
PPT
кайртаева жадыра ювелирный салон - предприниматели
PDF
Global Perspective and Issues Relating to Product Recall
PDF
Implementation of Wireless Communication using Adaptive Beamforming of Smart ...
PDF
Supplier ranking and selection in a bakery
PDF
Tax Morale and Its Effect on Taxpayers’ Compliance to Tax Policies of the Nig...
PDF
Sustaining Value Creation through Knowledge of Customer Expectations
PDF
Chitosan capped Silver nanoparticles used as Pressure sensors
PDF
Some properties of two-fuzzy Nor med spaces
PDF
A Study on Mid-Career Blues with refers to Hyundai Motor India Limited, Irung...
PDF
Optimization of Complete Monopole Antennato Exhibit Wideband Capabilities.
PDF
Uniform particle distribution by a newer method in composite metal of Al/SiC
PDF
Fluidization Characteristics of Nano Particles with the Assist of Stirrer
PDF
An Improvement on Route Recovery by Using Triangular Fuzzy Numbers on Route E...
PDF
Explanation Of The Relationship Between The Temperature And Mass Of The Black...
Survey of Machine Learning Techniques in Textual Document Classification
K016136062
Recapitulating the development initiatives of a robust information security s...
Automatic DNA Sequence Generation for Secured Effective Multi -Cloud Storage
Parametric Optimization of Eicher 11.10 Chassis Frame for Weight Reduction Us...
кайртаева жадыра театр - предприниматели
кайртаева жадыра ювелирный салон - предприниматели
Global Perspective and Issues Relating to Product Recall
Implementation of Wireless Communication using Adaptive Beamforming of Smart ...
Supplier ranking and selection in a bakery
Tax Morale and Its Effect on Taxpayers’ Compliance to Tax Policies of the Nig...
Sustaining Value Creation through Knowledge of Customer Expectations
Chitosan capped Silver nanoparticles used as Pressure sensors
Some properties of two-fuzzy Nor med spaces
A Study on Mid-Career Blues with refers to Hyundai Motor India Limited, Irung...
Optimization of Complete Monopole Antennato Exhibit Wideband Capabilities.
Uniform particle distribution by a newer method in composite metal of Al/SiC
Fluidization Characteristics of Nano Particles with the Assist of Stirrer
An Improvement on Route Recovery by Using Triangular Fuzzy Numbers on Route E...
Explanation Of The Relationship Between The Temperature And Mass Of The Black...
Ad

Similar to 2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarrangement analysis (20)

PDF
Rigorous Pack Edge Detection Fuzzy System
PDF
Hardware Unit for Edge Detection with Comparative Analysis of Different Edge ...
PDF
Image segmentation methods for brain mri images
PDF
A NOBEL HYBRID APPROACH FOR EDGE DETECTION
PDF
Ijarcet vol-2-issue-7-2273-2276
PDF
Ijarcet vol-2-issue-7-2273-2276
PDF
ANALYSIS OF INTEREST POINTS OF CURVELET COEFFICIENTS CONTRIBUTIONS OF MICROS...
PDF
Algorithm for the Comparison of Different Types of First Order Edge Detection...
PDF
A010110104
PDF
IRJET- Image Feature Extraction using Hough Transformation Principle
PDF
Study and Comparison of Various Image Edge Detection Techniques
PDF
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
DOCX
EDGE DETECTION
PDF
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
PDF
A NOVEL APPROACH FOR SEGMENTATION OF SECTOR SCAN SONAR IMAGES USING ADAPTIVE ...
PDF
NMS and Thresholding Architecture used for FPGA based Canny Edge Detector for...
PDF
A Flexible Scheme for Transmission Line Fault Identification Using Image Proc...
PDF
Ijetr011837
DOC
Paper on image processing
Rigorous Pack Edge Detection Fuzzy System
Hardware Unit for Edge Detection with Comparative Analysis of Different Edge ...
Image segmentation methods for brain mri images
A NOBEL HYBRID APPROACH FOR EDGE DETECTION
Ijarcet vol-2-issue-7-2273-2276
Ijarcet vol-2-issue-7-2273-2276
ANALYSIS OF INTEREST POINTS OF CURVELET COEFFICIENTS CONTRIBUTIONS OF MICROS...
Algorithm for the Comparison of Different Types of First Order Edge Detection...
A010110104
IRJET- Image Feature Extraction using Hough Transformation Principle
Study and Comparison of Various Image Edge Detection Techniques
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
EDGE DETECTION
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
A NOVEL APPROACH FOR SEGMENTATION OF SECTOR SCAN SONAR IMAGES USING ADAPTIVE ...
NMS and Thresholding Architecture used for FPGA based Canny Edge Detector for...
A Flexible Scheme for Transmission Line Fault Identification Using Image Proc...
Ijetr011837
Paper on image processing

More from IOSR Journals (20)

PDF
A011140104
PDF
M0111397100
PDF
L011138596
PDF
K011138084
PDF
J011137479
PDF
I011136673
PDF
G011134454
PDF
H011135565
PDF
F011134043
PDF
E011133639
PDF
D011132635
PDF
C011131925
PDF
B011130918
PDF
A011130108
PDF
I011125160
PDF
H011124050
PDF
G011123539
PDF
F011123134
PDF
E011122530
PDF
D011121524
A011140104
M0111397100
L011138596
K011138084
J011137479
I011136673
G011134454
H011135565
F011134043
E011133639
D011132635
C011131925
B011130918
A011130108
I011125160
H011124050
G011123539
F011123134
E011122530
D011121524

Recently uploaded (20)

PDF
composite construction of structures.pdf
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Internet of Things (IOT) - A guide to understanding
PPT
Project quality management in manufacturing
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
DOCX
573137875-Attendance-Management-System-original
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Well-logging-methods_new................
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
web development for engineering and engineering
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Construction Project Organization Group 2.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
composite construction of structures.pdf
Automation-in-Manufacturing-Chapter-Introduction.pdf
Internet of Things (IOT) - A guide to understanding
Project quality management in manufacturing
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
573137875-Attendance-Management-System-original
Foundation to blockchain - A guide to Blockchain Tech
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
UNIT 4 Total Quality Management .pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Well-logging-methods_new................
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
web development for engineering and engineering
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
CH1 Production IntroductoryConcepts.pptx
Construction Project Organization Group 2.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026

2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarrangement analysis

  • 1. IOSR Journal of Electronics and Communication Engineering (IOSR-JECE) e-ISSN: 2278-2834,p- ISSN: 2278-8735. Volume 7, Issue 6 (Sep. - Oct. 2013), PP 36-38 www.iosrjournals.org www.iosrjournals.org 36 | Page 2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarrangement analysis Kushal Kumar1 , Anamika Yadav2 , Himanshi Rani3 , Yashasvi Nijhawan4 , Sudha Radhika5 1 (Electronics and Communication Engineering, Jaypee University of Engineering and Technology,Guna, India, 2013) 2 (Electronics and Communication Engineering, Bhagwan Parshuram Institute of Technology, Delhi, India, 2012) 3 (Electronics and Communication Engineering, Vellore Institute of Technology, Chennai, India, 2015) 4 (Electronics and Communication Engineering, Jaypee University of Information Technology, India, 2013) 5 (ECE Department, Jaypee University of Engineering and Technology, India) Abstract: Due to higher processing power to cost ratio, it is now possible to replace the manual detection methods used in the IC (Integrated Circuit) industry by Image-processing based automated methods, to detect a broken pin of an IC connected on a PCB during manufacturing, which will make the process faster, easier and cheaper. In this paper an accurate and fast automatic detection method is used where the top view camera shots of PCBs are processed using advanced methods of 2-dimensional discrete wavelet pre-processing before applying edge-detection. Comparison with conventional edge detection methods such as Sobel, Prewitt and Canny edge detection without 2-D DWT is also performed. Keywords :2-dimensional wavelets, Edge detection, Machine vision, Image processing, Canny. I. INTRODUCTION PCBs are assembled using line production techniques in industries. The faulty IC pins are difficult to identify during the production process unless it is fully automated. In this paper a novel image processing method for detection of IC pins using wavelet pre-processed edge detection is proposed. The results are compared with the conventional edge detection techniques used today. A series of steps in wavelet pre-processed edge detection are performed in a systematic way which detects the IC coming through. Edge detection is almost a prerequisite in various recognition tasks, like pins recognition on an IC. Edge is a separation or a boundary between two homogeneous surfaces. Fig.1 shows the image of an IC which was used for edge detection in the proposed method and the conventional edge-detection methods (Sobel, Prewitt and Canny). Various conventional techniques for edge detection of IC’s are available in literature[1]. Huang et al. (2011) proposes an improved algorithm for canny edge detection. It uses an improved switch median filter algorithm instead of Gaussian filter algorithms for filtering. [2]Somyot et al.(2012) used wavelet transforms to compress the image before edge detection. In this paper, firstly the wavelet pre-processed edge detection results were analyzed and then compared to edge detection results not subjected to wavelet pre-processing first. The success of the method is derived based upon how efficiently the edges have been detected. II. EDGE DETECTION An edge is an abrupt change in the intensity level, wh ich characterizes high frequency component in an image. Noise is an unwanted signal which can cause inefficiency in edge detection. The wavelet transform is an effective tool which can be used before edge detection. The purpose of using wavelet transform is to remove low frequency component and use only the high frequency components. In practice due to imperfection in image acquisition or sampling, the edges get blurred and tend to become thick. However the derivatives play an important role in detecting the edges and locating the edge pixels in an image. The first derivative is positive at the point of intensity variation and zero in the areas of constant intensity. The magnitude of first derivative can be used to detect the presence of an edge. The second derivative is positive if the transition occurs on the dark side of an edge and it is negative if transition is on the light side of an image. Hence, a second derivative can be used to locate the edge pixels. For edge detection second derivative can also be used but its sensitivity towards noise limits its application in edge detection. In the subsequent sections we will be discussing about the approximated first derivative operators that are used for edge detection in the present investigation. III. CONVENTIONAL EDGE DETECTION METHODS The edge detection methods used in this paper are Sobel, Prewitt and Canny, which are compared to each other and then the best one of them is compared to the proposed algorithm. The algorithms are compared
  • 2. 2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarrangement analysis www.iosrjournals.org 37 | Page based on how much amount of the pin data can they extract from the given image. So, first we should know briefly what these methods are and how do they work. Next, we extract the pin information from the original image as well as segmented edge-detected image in the form of number of pin-pixels and compare which method extracts the maximum pin-information for analysis. In the original image, the no. of pixels contained by the pins are 6689. 3.1 SOBEL The Sobel edge detector is an approximated, first derivative two dimensional edge detector. It calculates gradient in X and Y direction. It uses a convolutional mask to calculate the gradients as in equation (1) and gradient directions as in equation (2). The masks are slid over the image and gradient values are calculated. In Sobel the centre coefficient of the mask uses a weight of two, it is used so as to achieve a smoothing by giving more weightage to the central term of the mask. The segmented image obtained by using a Sobel operator is shown in Fig.2. The number of pin-pixels detected by this algorithm was 2031. |G|=|GX|+|GY| (1) Θ=tan-1 [ 𝐺 𝑌 𝐺 𝑋 ] (2) 3.2 PREWITT Prewitt edge detector is also an approximated first derivative two dimensional edge detector. It uses aconvolutional mask to calculate the gradient in X and Ydirections respectively. The segmented image obtained by using Prewitt operator is shown in Fig.3. The number of pin-pixels detected by this algorithm was 2297. 3.3 CANNY Canny edge detection is another method of edge detection. It follows a series of steps. In the first step it eliminates the noise from the Image by filtering the Image using Gaussian filter. In the second step it calculates the gradient and the edge direction of the Image using Sobel edge detection. In the third step it performs non- maximum suppression. The pixels along the edge direction which do not satisfy (3) are set to 0 or considered as non-edge pixel. Further suppression is done using hysteresis. Hysteresis uses two thresholds. T1 and T2. If the magnitude is below the first threshold then it is set to 0 (non-edge pixel). If the magnitude is above threshold T2 then it is considered as an edge pixel. If the magnitude lies between T1 and T2 then dependin g upon the path between the current pixel and the pixel with magnitude greater than T2 the pixel is considered as an edge pixel or non-edge pixel. The segmented image obtained by using a canny edge detector is shown in Fig.4. The number of pin-pixels detected by this algorithm was 3651. IV. ProposedMethod In the proposed method, the image is first pre-processed using wavelets before being subjected to the edgedetection algorithms. Wavelets are a small portion of the wave. Wavelet transform uses wavelets to capture different frequency components of the signal whose resolution matches up with its scale. This technique is known as multi-resolution Analysis. It comprises of a scaling function and a wavelet function. Scaling function gives the series of approximation of the signal, where each approximated signal differs by a factor of two. Wavelet functions are used to add the detailed information in the difference of the two neighbouring approximations. Hence in wavelet analysis we get the approximated part and the detailed part of the signal. In case of Images the wavelet analysis is carried out in two dimensions. In X and Y direction respectively, the two dimensional wavelet decomposition is shown in the formof an image in Fig. 5. It is known as filter bank analysis. It consists of high pass and low pass filters. First the analysis is done along the columns and then along the rows. The output of the low pass filter gives the approximated coefficients and the output of the high pass filter gives detailed coefficients. The approximated coefficients at scale j+1 are used to construct the detailed and approximated coefficients at scale j. In case of two dimensions we get three sets of detailed coefficients (rest three squares) and one set of approximated coefficient (upper left square). Now, in the proposed method, we have first subjected the image to a 2-Dimensional discrete wavelet transform (2-D DWT). Doing this, we get a set of 4 images, one is the set of approximated coefficients and the other three are set of detailed coefficients. We ignore the approximated coefficient and reconstruct the image using the set of detailed coefficients, i.e. we take inverse 2-D DWT. The image is now ready to be edge-detected using any conventional algorithm like Sobel. So, we choose the best one of the conventional methods, which comes out to be Canny and then compare it with our proposed method in Fig. 6. The number of pin-pixels detected by this algorithm was 5636, i.e. 84.25% of the pin-information is accurately extracted.
  • 3. 2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarrangement analysis www.iosrjournals.org 38 | Page V. Figures Fig.1 Original IC image. Fig.2Pin segmentation on Sobel edge-detected image. Fig.3 Pin segmentation on Prewitt edge- Fig.4 Pin segmentation on Canny edge- detected image. detected image. Fig.5 2-D DWT illustration. Fig.6 Pin segmentation on Wavelet pre- processed Canny edge-detected image. VI. Conclusion Based on the results the following inferences can be made. When wavelet pre-processing was not performed, canny edge detection, Fig.4 was found to be the most efficient method followed by Prewitt, Fig.3 and Sobel, Fig.2. When wavelet pre-processing was used, the results obtained are as shown in Fig. 6 which were more accurate than the results obtained without using wavelet pre-processing as in Fig. 2, 3 and 4. On using wavelet pre-processing the low frequency component of the image was removed and high frequency components were retained during reconstruction. The edges which comprises of high frequencies were efficiently detected. Thus the choice of using wavelet pre-processing made edge detection more efficient. Better and efficient extraction of IC pin information was achieved. The IC manufacturing industry will benefit greatly from this approach. The number of man-hours will be greatly reduced and the results would be more accurate than any of the current methods. This method could be easily implemented using basic hardware. References: [1] Ying Huang,QiPan,QiLiu,XinPengHe,YunFengLiu,YongQuan Yu, “Application of Improved Canny Algorithm on the IC Chip pin Inspection”,AdvancedMaterials Research Vols. 317-319 (2011) pp 854-858. [2] K. Somyot, S. Anakapon and K. Anantawat, “Pattern recognition technique for IC pins inspection using wavelet transform with chain code discrete FourierTransform and signal correlation”, International Journal of Physical Sciences, Vol.7 (9), pp. 1326-1332, 23 February 2012. [3] Tim Edwards, “Discrete Wavelet Transform: Implementation andtheory”, Stanford University, September 1991. [4] Rafael C. Gonzalez, Richard E. Woods Digital ImageProcessing (ISBN-13: 978-0131687288,3rd Edition, 2007)