To Propose an Improvement in Zhang-Suen Algorithm for Image Thinning in Image Processing

Similar documents
Automatic Detection of PCB Defects

The Role of Size Normalization on the Recognition Rate of Handwritten Numerals

Morphological segmentation of histology cell images

Signature Region of Interest using Auto cropping

Analecta Vol. 8, No. 2 ISSN

Handwritten Character Recognition from Bank Cheque

ECE 533 Project Report Ashish Dhawan Aditi R. Ganesan

An Algorithm for Classification of Five Types of Defects on Bare Printed Circuit Board

Image Processing Based Automatic Visual Inspection System for PCBs

Automatic Extraction of Signatures from Bank Cheques and other Documents

Colorado School of Mines Computer Vision Professor William Hoff

DIAGONAL BASED FEATURE EXTRACTION FOR HANDWRITTEN ALPHABETS RECOGNITION SYSTEM USING NEURAL NETWORK

Tracking and Recognition in Sports Videos

Implementation of OCR Based on Template Matching and Integrating it in Android Application

SIGNATURE VERIFICATION

Locating and Decoding EAN-13 Barcodes from Images Captured by Digital Cameras

Comparison of different image compression formats. ECE 533 Project Report Paula Aguilera

How To Use Neural Networks In Data Mining

International Journal of Advanced Information in Arts, Science & Management Vol.2, No.2, December 2014

PCB DETECTION AND CLASSIFICATION USING DIGITAL IMAGEPROCESSING

Barcode Based Automated Parking Management System

Image Compression through DCT and Huffman Coding Technique

FACE RECOGNITION BASED ATTENDANCE MARKING SYSTEM

Printed Circuit Board Defect Detection using Wavelet Transform

Keywords image processing, signature verification, false acceptance rate, false rejection rate, forgeries, feature vectors, support vector machines.

A Dynamic Approach to Extract Texts and Captions from Videos

EFFICIENT DATA PRE-PROCESSING FOR DATA MINING

FPGA Implementation of Human Behavior Analysis Using Facial Image

SELECTING NEURAL NETWORK ARCHITECTURE FOR INVESTMENT PROFITABILITY PREDICTIONS

Signature Segmentation from Machine Printed Documents using Conditional Random Field

Neural Networks in Data Mining

Face Recognition For Remote Database Backup System

Mouse Control using a Web Camera based on Colour Detection

Impelling Heart Attack Prediction System using Data Mining and Artificial Neural Network

Identification of TV Programs Based on Provider s Logo Analysis

Hybrid Lossless Compression Method For Binary Images

How To Fix Out Of Focus And Blur Images With A Dynamic Template Matching Algorithm

A Simple Feature Extraction Technique of a Pattern By Hopfield Network

Colour Image Segmentation Technique for Screen Printing

Face Recognition in Low-resolution Images by Using Local Zernike Moments

NEURAL NETWORKS IN DATA MINING

APPLYING COMPUTER VISION TECHNIQUES TO TOPOGRAPHIC OBJECTS

International Journal of Computer Science Trends and Technology (IJCST) Volume 3 Issue 3, May-June 2015

Document Image Processing - A Review

Visual Structure Analysis of Flow Charts in Patent Images

Recognition Method for Handwritten Digits Based on Improved Chain Code Histogram Feature

Building an Advanced Invariant Real-Time Human Tracking System

STATIC SIGNATURE RECOGNITION SYSTEM FOR USER AUTHENTICATION BASED TWO LEVEL COG, HOUGH TRANSFORM AND NEURAL NETWORK

Vision based Vehicle Tracking using a high angle camera

Neural network software tool development: exploring programming language options

Euler Vector: A Combinatorial Signature for Gray-Tone Images

3D SCANNING: A NEW APPROACH TOWARDS MODEL DEVELOPMENT IN ADVANCED MANUFACTURING SYSTEM

Comparison of K-means and Backpropagation Data Mining Algorithms

A Study on M2M-based AR Multiple Objects Loading Technology using PPHT

Blood Vessel Classification into Arteries and Veins in Retinal Images

A ROBUST BACKGROUND REMOVAL ALGORTIHMS

ANN Based Fault Classifier and Fault Locator for Double Circuit Transmission Line

Low Cost Correction of OCR Errors Using Learning in a Multi-Engine Environment

Predicting the Risk of Heart Attacks using Neural Network and Decision Tree

Neural Network based Vehicle Classification for Intelligent Traffic Control

2. IMPLEMENTATION. International Journal of Computer Applications ( ) Volume 70 No.18, May 2013

TIETS34 Seminar: Data Mining on Biometric identification

LOCAL SURFACE PATCH BASED TIME ATTENDANCE SYSTEM USING FACE.

Keywords: Image complexity, PSNR, Levenberg-Marquardt, Multi-layer neural network.

How To Filter Spam Image From A Picture By Color Or Color

Navigation Aid And Label Reading With Voice Communication For Visually Impaired People

Low-resolution Image Processing based on FPGA

AN IMPROVED DOUBLE CODING LOCAL BINARY PATTERN ALGORITHM FOR FACE RECOGNITION

An Experimental Study of the Performance of Histogram Equalization for Image Enhancement

The Scientific Data Mining Process

Towards License Plate Recognition: Comparying Moving Objects Segmentation Approaches

EM Clustering Approach for Multi-Dimensional Analysis of Big Data Set

An Overview of Knowledge Discovery Database and Data mining Techniques

Multimodal Biometric Recognition Security System

HAND GESTURE BASEDOPERATINGSYSTEM CONTROL

A Novel Method to Improve Resolution of Satellite Images Using DWT and Interpolation

Low-resolution Character Recognition by Video-based Super-resolution

International Journal of Computer Science Trends and Technology (IJCST) Volume 2 Issue 3, May-Jun 2014

SCAN-CA Based Image Security System

A PHOTOGRAMMETRIC APPRAOCH FOR AUTOMATIC TRAFFIC ASSESSMENT USING CONVENTIONAL CCTV CAMERA

Medical Image Segmentation of PACS System Image Post-processing *

VECTORAL IMAGING THE NEW DIRECTION IN AUTOMATED OPTICAL INSPECTION

Image Authentication Scheme using Digital Signature and Digital Watermarking

Kriging Interpolation Filter to Reduce High Density Salt and Pepper Noise

Robust Outlier Detection Technique in Data Mining: A Univariate Approach

Canny Edge Detection

RESEARCH PAPERS FACULTY OF MATERIALS SCIENCE AND TECHNOLOGY IN TRNAVA SLOVAK UNIVERSITY OF TECHNOLOGY IN BRATISLAVA

Novel Automatic PCB Inspection Technique Based on Connectivity

Parametric Comparison of H.264 with Existing Video Standards

Accurate and robust image superresolution by neural processing of local image representations

Cellular Computing on a Linux Cluster

Manufacturing Process and Cost Estimation through Process Detection by Applying Image Processing Technique

AN ALGORITHM TO GROUP DEFECTS ON PRINTED CIRCUIT BOARD FOR AUTOMATED VISUAL INSPECTION

Automated System for Computationof Burnt Forest Region using Image Processing

Method of Combining the Degrees of Similarity in Handwritten Signature Authentication Using Neural Networks

Describe the process of parallelization as it relates to problem solving.

A Study of Automatic License Plate Recognition Algorithms and Techniques

AUTHORIZED WATERMARKING AND ENCRYPTION SYSTEM BASED ON WAVELET TRANSFORM FOR TELERADIOLOGY SECURITY ISSUES

DEVNAGARI DOCUMENT SEGMENTATION USING HISTOGRAM APPROACH

An Energy-Based Vehicle Tracking System using Principal Component Analysis and Unsupervised ART Network

Transcription:

IJSTE - International Journal of Science Technology & Engineering Volume 3 Issue 01 July 2016 ISSN (online): 2349-784X To Propose an Improvement in Zhang-Suen Algorithm for Image Thinning in Image Processing Sonam Soni Research Scholar CGCTC, Jhanjeri, Mohali Sukhmeet Kaur Associate Professor CGCTC, Jhanjeri, Mohali Abstract Thinning is the preprocessing stage to make easy higher level analysis and recognition for such applications like OCR, Fingerprint classification, Pattern recognition. In this paper we described thinning and its various algorithm. It is concluded that there are some loopholes in thinning algorithm. So there is a need to improve thinning rate. The thinning algorithm s performance has been analysed in terms of PSNR value, MSE value and thinning rate. To improve performance of the algorithm, enhancement has been proposed which is based on back propagation algorithm. The simulation results shows that proposed algorithm performs batter in terms of PSNR, MSE and thinning rate. Keywords: Thinning rate, Image- Processing, Zhang-Suen, Skeletonization, Neural Network I. INTRODUCTION Image processing is a method to convert an image into digital form and perform some operations on it, in order to get an enhanced image or to extract some useful information from it. It is a type of signal dispensation in which input is image, like video frame or photograph and output may be image or characteristics associated with that image[3].usually Image Processing system includes treating images as two dimensional signals while applying already set signal processing methods to them. It is among rapidly growing technologies today, with its applications in various aspects of a business. Image Processing forms core research area within engineering and computer science discipline. Image processing are computer graphics and computer vision. In computer graphics, images are manually made from physical models of objects, environments, and lighting, instead of being acquired from natural scenes, as in most animated movies [5]. Computer vision, on the other hand, is often considered high-level image processing out of which a machine/computer/software intends to decipher the physical contents of an image or a sequence of images. II. THINNING Thinning is an image processing process in which binary valued image regions are condensed to lines that approximate the center skeletons of the regions. For each single image region it is usually required that the lines of the thinned result are associated, so that these can be used to infer shape and topology in the original image. A main idea behind thinning is in the preprocessing stage to make easy higher level analysis and recognition for such applications as Optical Character Recognition, fingerprint analysis, diagram understanding, and feature detection for computer vision [5].The skeleton of a binary image is an integral demonstration for the shape analysis and is useful for many pattern recognitions application. The skeleton of an object is a line connecting point s midway between the boundaries [3]. Thinning techniques have been applied in many fields such as automated industrial inspection, pattern recognition, biological shape description and image coding etc. The main objective of thinning is to improve efficiency, to reduce transmission time. The skeleton refer to the bone of an image [5]. Skeletonization is usually applied on binary images which consist of black (foreground) and white (background) pixels. It takes input a binary image, and produces another binary image as output. Skeletonization has been used in a wide variety of other applications like: Optical character recognition (OCR) [2,5],Pattern recognition[3], Fingerprint classification[4],biometric authentication[5], Signature verification[5], Medical imaging[4]. Thinning Algorithms: All the Thinning algorithms are classified into two broad categories: 1) Iterative thinning algorithm [3] 2) Non iterative thinning algorithm [3] All rights reserved by www.ijste.org 74

Thinning algorithms Iterative Algorithm Non- Iterative Iterative (Pixel Based) This thinning algorithm produces a skeleton by examining and deleting contour pixels through an iterative process in either sequential or parallel way [3]. Sequential thinning algorithms which examine contour pixels of an object in a predetermined order, and this can be accomplished by either raster scanning or following the image by contour pixels. In parallel thinning algorithms, pixels are deleted on the basis of results obtained only from the previous iteration. Hence parallel thinning algorithms are suitable for implementation in parallel processors [3]. a) Sequential thinning: This algorithm is that which inspect contour points in a predetermined order of an object and this.can be accomplished by either raster scanning or following the images by contour pixels. b) Parallel Thinning: In this type of algorithms pixels are inspect for deletions on the basis of some previous available iteration results. Non-iterative (non-pixel based) Thinning is not based on examining individual pixels. Without examining all the individual pixels, these algorithms produce a certain median or center line of the pattern to be thinned directly in one pass. Some popular non pixel based methods include medial axis transforms, distance transforms, and determination of centerlines by line following. Medial axis transforms often use gray-level images where pixel intensity represents distance to the boundary of the object [3]. Distance transform based methods compute the distance to the image background for each object pixel and use this information to determine which pixels are part of the skeleton. III. LITERATURE REVIEW In [2] the author proposes a new skeletonization algorithm which combines sequential and parallel approaches which comes under iterative approach. The algorithm is conducted in three stages. First two stages used to extract the skeleton and the third is used for optimizing the skeleton into one-pixel width. An experimental result shows that the proposed algorithm produces better results than the previous Skeletonization algorithms. In [3] the author proposes two new iterative algorithms for thinning binary images. In the first algorithm, thinning of binary images is done by using two operations: edge detection and subtraction. Second algorithm is based on repeatedly deleting the pixels until a one pixel thick pattern in a binary image is obtained. Erosion conditions are devised to assure preserving connectivity. Experimental results show that edge based iterative thinning algorithm is time consuming as compared to optimized Skeletonization algorithm. In [4] the author discusses wide range of skeletonization algorithms on binary images including pixel based deletion and nonpixel based deletion methods. Algorithms are discussed in details in this paper and relationships between the different skeletonization algorithms have also been explored. Various comparisons have been made between skeletons obtained from various skeletonization algorithms on the basis of subjective and objective criteria. In [5] the author introduced a framework for making thinning algorithms robust against noise in sketch images. The framework estimates the optimal filtering scale automatically and adaptively to the input image. Experimental results showed that this framework is robust against typical types of noise which exists in sketch images, mainly contour noise and scratch. In [10] the author performs thinning of binary images by repeating two sub-iterations: one deletes the south-east boundary points and the north-west corner points while the other one deletes the north-west boundary points and south-east corner points. Point deleting is done according to a specific set of rules. The two sub-iterations are repeated until no more points validate the deleting rules. In [6] the author proposes a new sequential algorithm which uses flag map and bitmap simultaneously to decide whether a boundary pixel should be deleted or not. Three performance criteria are proposed in this paper for the comparison of proposed algorithm with other algorithms. Experimental results shows that the skeleton produced by the proposed sequential algorithm is not only one pixel thick, perfectly connected, well defined but are also immune to noise. In [7] the author presents a novel rule-based system for skeletonizing. The author has presented a formal mathematical derivation which shows how the central lines are obtained and shape of the symbol remains connected. Experimental results are presented on symbols, characters, and letters written in different languages, and on rotated, flipped, and noisy symbols. The results show that the developed method is effective, and fast, and can thin any symbol in any language, irrespective of the direction of rotation. All rights reserved by www.ijste.org 75

IV. ZHANG-SUEN THINNING ALGORITHM This algorithm is very fast and simple to be implemented. It has two sub-iterations. This method has a parallel method which shows that it has previous value on which it depended [7].In the first one a pixel I (I, J) is deleted if the following conditions are satisfied: 1) Its connectivity number is one. 2) It has at least two black neighbours and not more than six. 3) At least one of I (I, j+1), I (i-1, j) and I (i, j-1) are white. 4) At least one of I(I-1,j), I(i+1, J) and I(I,j-1) are white. In the second Iterations step 3 and 4 are changed. 1) Its connectivity number is one. 2) It has at least two black neighbours and not more than six. 3) At least one of I(i-1, j), I(I,j+1), and I(i,+1 j) are white. 4) At least one of I(I, j+1), I(i+1, J) and I(I,j-1) are white. A 3*3 window is move down throughout the image and calculations are carried out at each pixels to decide whether it will stay on pixel or not. At the end pixels which satisfied these conditions are deleted. If the end of the sub-iteration there is no pixel to analysis then algorithm stops. V. PROPOSED METHODOLOGY Most of the skeletonization algorithms suffer from traditional problems such as reducing to one pixel width of the skeleton, preserving geometrical and topological properties. Many of the algorithms have the problem of discontinuity in the images. Whereas, several techniques are failed to preserve the shape topology and not re-construct able. Spurious tails and rotating the text shape is other serious problem and due to this most of the thinning methods are failed. Improved Zhang- Suen Algorithm It is very popular and well proved algorithm for thinning of an image. This algorithm was proposed by Zhang and Suen in 1984. In base paper Zhang and Suen technique is used to thin some black and white pixels because this algorithm work on binary images. A new thinning algorithm with neural network is proposed using Zhang and Suen algorithm to produce a new thinning algorithm for better results. Neural Network Approach Thinning problem requires two tasks to be implemented: (a) peeling the thick pixels off (b) stopping the peeling process when the pixel size reduces to exactly one. The first can be achieved with relative ease. The main difficulty arises in the second part, because the stopping decision must be done automatically. This can be achieved using a real time cellular neural network by training the neural network. Most of the conventional thinning approaches suffer from noise sensitivity and rotation dependency. With the use of neural networks we can perform thinning invariant under arbitrary rotations. The back propagation algorithm prepares a given feed-forward multilayer neural network for a given arrangement of input patterns with known classifications. The algorithm can be deteriorated in the accompanying four stages: 1) Feed-forward computation 2) Back propagation to the output layer 3) Back propagation to the hidden layer 4) Weight updates All rights reserved by www.ijste.org 76

Fig. 5.1: Proposed Methodology 1 The Main Steps are Described Below Fig. 5.2: Proposed Methodology 2 1) Create a dataset script. 2) Implementing existing algorithms: To implement the existing skeletonization algorithms using neural networks. 3) Proposing a new Method for skeletonization using neural networks. 4) Evaluating Performance: To evaluate the performance of existing algorithms and new proposed method for skeletonization using neural networks on the basis of some performance measures: 1) Execution Time: The time taken to obtain the output skeletons for a particular image. 2) Thinning Rate: The degree to which an object is said to be thinned or completely thinned can be measured in terms of thinning rate. The proposed scheme is implemented on MATLAB. VI. EXPERIMENTAL RESULTS All rights reserved by www.ijste.org 77

Fig. 6.1: Image Loaded First Step is to load the image for thinning. Fig. 6.2: Image Consist of Black & White Pixels (Binarized Image) Supposed the known target line is marked as 1 i.e. foreground point, and background point that need not to be skeletonized is marked as 0. All rights reserved by www.ijste.org 78

Fig. 6.3: Thinned Image using Zhang-Suen Algorithm The image is loaded for the thinning. The thinning is technique of removing the unwanted data from image. To remove the unwanted data from the image thinning elements is used which will remove unwanted data. The Zhang and Suen algorithm is used for thinning which gave output in terms of MSE, PSNR and thinning rate. Fig. 6.4: The Thinning rate of Zhang-Suen algorithm is 0.50 Fig. 6.5: Value of MSE is 616.73, Value of PSNR is 20.26 Fig. 6.6: Back Propagation Algorithm for the improvement of Thinning rate, MSE, PSNR All rights reserved by www.ijste.org 79

As shown in figure 6.6, to improve output of Zhang and Suen algorithm in terms of PNSR, MSE and TR enhancement is proposed which will be based on back propagation algorithm. In this figure, back propagation algorithm is executed with Zhang and Suen algorithm. Fig. 6.7: New Thinned Image As shown in figure 6.7, to improve output of Zhang and Suen algorithm in terms of PNSR, MSE and TR enhancement is proposed which will be based on back propagation algorithm. In this figure back propagation algorithm is executed with Zhang and Suen algorithm. After applying the back propagation algorithm the output of the thinning is image is shown in figure 6.7. Fig. 6.8: Improved Thinning Rate Fig. 6.9: Improved MSE, PSNR As shown in figure 6.8 and 6.9, to improve output of Zhang and Suen algorithm in terms of PNSR, MSE and TR enhancement is proposed which will be based on back propagation algorithm. In this figure back propagation algorithm is executed with Zhang and Suen algorithm. After applying the back propagation algorithm the output of the thinning is image is shown which has better results than existing one. The results after applying MSE, PNSR and TR values are 64.92, 30.04 and 0.55 respectively. VII. CONCLUSION Thinning is technique which can remove unwanted pixels from the images. This technique is generally used to reduce the size of image. The technique of thinning is used over the compression because it cannot remove the wanted data from the image. In this work, Zhang and Suen algorithm for thinning has been reviewed and implemented. To apply thinning on the images, thinning elements has been selected which have white and black pixels. The white spaces which arise on the images are removed after combining with the thinning elements. The thinning algorithm s performance has been analyzed in terms of PSNR value, MSE value thinning rate. To improve performance of the algorithm enhancement has been proposed which is based on back All rights reserved by www.ijste.org 80

propagation algorithm. The simulation results shows that proposed algorithm performs batter in terms of PSNR, MSE and thinning rate. In future work, further improvement will be proposed in the enhancement and this enhancement will be based on Boltzman learning. The technique of Boltzman learning will improve thinning rate, PSNR and MSE value. REFERENCES [1] Gonzalez R.C. and Woods R.E. (2002) Digital Image Processing 2 nd Ed. Tom Robbins. [2] Abu-Ain W, et al. Skeletonization Algorithm for Binary Images The 4th International Conference on Electrical Engineering and Informatics (ICEEI 2013) pp.704-709. [3] Padole G.V, Pokle S. B. New Iterative Algorithms For Thinning Binary Images Third International Conference on Emerging Trends in Engineering and Technology IEEE 2010 pp. 166-171 [4] Lam L, et al. Thinning methodologies-a comprehensive survey IEEE transactions on pattern analysis and machine intelligence Vol. 14 No. 9 September 1992 pp. 869-885 [5] Chatbri et al. Using scale space filtering to make thinning algorithms robust against noise in sketch images Pattern Recognition letters 42( 2014) pp. 1-10 [6] Zhou R.W., et al. A novel single-pass thinning algorithm and an effective set of performance criteria 1995 Elsevier Science pp. 1267-1275. [7] Ahmed et al. A Rotation Invariant Rule-Based Thinning Algorithm for Character Recognition IEEE transactions on pattern analysis and machine intelligence, vol. 24, no. 12, December 2002 pp. 1672-1678 [8] Rockett An Improved Rotation-Invariant Thinning Algorithm IEEE transactions on pattern analysis and machine intelligence, vol. 27, no. 10, October 2005 pp.1671-1674 [9] Saeed K, et al. K3M: A universal algorithm for image skeletonization and a review of thinning techniques International Journal of Applied Mathematics & Computer Science, 2010, Vol. 20, No. 2, pp. 317 335 [10] Jagna A. and Kamakshiprasad V. New parallel binary image thinning algorithm ARPN Journal of Engineering and Applied sciences vol. 5, no. 4, April 2010 pp. 64-67 [11] Guo Z. and Hall R.W Parallel thinning with Two- Sub iteration algorithms Communications of the ACM March 1989 volume 32 number 3 pp. 359-373 All rights reserved by www.ijste.org 81