Abstract
Edge detection determines the boundaries of objects in an Image. Edge detection is a vital concept in object recognition and Image analysis. This paper evaluates the existing edge detection methods and proposes a new edge detection algorithm which uses the morphological operations, sobel operator, Gaussian Smoothing and masking. The novelty of the proposed algorithm is extracting continuous edges in the Image and removing spurious edges using m-connectivity. The paper introduces performance parameters for edge detection to determine which method gives good results. A parameter named Human Perception Clarity (HPC) is mathematically modeled and experimentally proves the efficacy of proposed algorithm.
Access provided by CONRICYT-eBooks. Download conference paper PDF
Similar content being viewed by others
Keywords
- Image segmentation methods
- Otsu segmentation
- Canny edge detection
- Edge detection operators
- Human perception clarity
1 Introduction
An Image processing application development involves various steps like Image acquisition, Pre-processing, Image Enhancement, Image Segmentation and Image Classification. Pre-Processing involves the removal of noise from Images. Conversion of color Images to gray Images and resizing the Images is part of Image Pre-processing. Image Enhancement increases the brightness and reducing the blurring in the images. Real time Images have poor contrast and induced noise during Image acquisition because of flaws in scanning devices and illumination. Segmentation and Edge detection methods extract important portions of images. The results obtained at the end in Image classification depend on preprocessing and segmentation and edge detection. The success of the classification procedure is eventually decided by pre-processing and Segmentation. Hence this paper proposes a new edge detection algorithm which uses sobel operator, morphological operations, masking and Gaussian Smoothing. New performance parameter namely Human Perception Clarity is mathematically introduced in the paper. The performance of the edge detection algorithm is enhanced by adapting morphological operations and Gaussian Smoothing. The experimental results show that the proposed algorithm integrated with morphological operations yields better results than classical edge detection methods.
1.1 Literature Review
Image Segmentation has been a challenging research area studied in [1,2,3,4,5,6]. Bhargavi [7] had developed a detailed survey on threshold based segmentation techniques in Image processing and refers that segmentation techniques were classified as contextual or non-contextual. Khan [8] had made a comparative study on Image segmentation methods and classifies Image segmentation as semi-interactive and fully automatic approaches. Nain [9] gave a dynamic thresholding based edge detection and emphasized the adaptive efficient peak detection of the image histogram and usage of morphological operations. Al-Kubati [10] had evaluated canny and Otsu image segmentation methods. Sucharita [11] made a comparative study on various edge detection techniques like sobel, Robert, prewitt and canny edge detection operators. Khalil [12] classified fish based on color histogram using back propagation classifier and he used color histogram and gray level co-occurrence matrix to classify fish species. Nagalakshmi [13] used canny edge detection for identification of prawn species. Das [14] made a study on Image segmentation techniques and classified segmentation methods. Thakare [15] classified segmentation methods into edge based, region based and Hybrid methods. Sainia [16] made a comparative study on edge detection algorithms. Narendra [17] gave a study of edge detection techniques in quality inspection of food products.
1.2 Image Segmentation
Image Segmentation Methods are broadly classified into Pixel Based methods, Edge Based Methods and Region Based Methods. Pixel based Segmentation is a process of segmenting an image based on pixels or group of pixels [18].
Image Segmentation methods are classified on two basic properties of intensity values: discontinuity and similarity. Edge detection operators are the part of discontinuity based approach [19]. They divide the image based on abrupt changes in intensity. Region growing, Region splitting & merging, Thresholding are similarity based approaches.
2 Proposed Algorithm
The existing first derivative operators like sobel, Robert and prewitt give edges on applying corresponding masks on the image. However the edges are not continuous and some edge information is lost in this process. To overcome this a unique algorithm has been proposed.
The proposed algorithm is
-
Step 1:
Apply sobel vertical edge operator on the input image.
-
Step 2:
Apply sobel horizontal edge operator on the image obtained from step 1.
-
Step 3:
Use Masking and add the horizontal and vertical edges to obtain the thick edges of the edge detected image obtained from step 2.
-
Step 4:
Apply Gaussian Smoothing filter to remove noise.
-
Step 5:
The boundary extracted image is one or more pixel thick image. So apply the following masks to get one pixel thick image and using Hit- miss transform [20] to get one pixel thick image.
The masks are \( {\text{Mask}}\; 1= \left[ {\begin{array}{*{20}c} 1 & 1 & 1 \\ 0 & 1 & 1 \\ 0 & { - 1} & 1 \\ \end{array} } \right]\quad {\text{Mask}}\; 2= \left[ {\begin{array}{*{20}c} 1 & 1 & 1 \\ 1 & 1 & 0 \\ 0 & { - 1} & 1 \\ \end{array} } \right] \).
-
Step 6:
The operation of Hit-miss transform creates breaks in the pixel boundary. So the gaps are to be filled. To thin and fill gaps the following masks are used.
$$ {\text{Mask}}\; 3= \left[ {\begin{array}{*{20}c} { - 1} & { - 1} & { - 1} \\ { - 1} & { - 1} & { - 1} \\ { - 1} & { - 1} & { - 1} \\ \end{array} } \right] $$ -
Step 7:
To avoid the ambiguity in paths of 4-connected and 8-connected neighbors, m-connectivity [20] is used. The mask used for this purpose is
$$ {\text{Mask}}\; 4= \left[ {\begin{array}{*{20}c} 1 & 1 & 0 \\ 1 & 1 & 0 \\ 0 & 0 & 0 \\ \end{array} } \right] $$ -
Step 8:
At the end Boundary is calculated as
Boundry = Boundry − (Boundary \( \emptyset \) Mask 4) where Ø is Hit-Miss transform defined in [20].
3 Experimental Setup and Results
Mat Lab 2013 is used to develop the GUI for Image segmentation methods (Fig. 1).
4 Performance Criteria of Edge Detection
To assess the efficiency of the performance of proposed approach we made use of the classical images of Image processing. Many years of research gave numerous edge detection operators and algorithms, but the performance evaluation of each edge detection algorithm is still an ambiguity. Every researcher claims that his algorithm is ultimate and outperforms the existing methods. But defining parameters to measure the performance of edge detection method is still a question mark [21]. Gives some performance evaluation of edge detection methods. Performance Ratio (PR) and PSNR are the parameters and the edge detected images are checked against ground truth images available in BSD database. But in real time applications ground truth images are not available. Here we define some parameters to check the performance of edge detection.
-
Pixel thickness: Pixel thickness gives clarity to the image. Some edge detection algorithms identify 1-pixel thick edge or 2-pixel thick edges.
-
Connectivity: The 4-connectivity or 8-connectivity of neighbors in the edge lines gives spurious edges and lead to false edges. The existence of m-connectivity gives true edges and this is ensured in our algorithm.
-
Human Perception Clarity (HPC): Here we are defining a new parameter and we have experimented this parameter with our algorithm and compared with existing algorithms.
Let Xi define a values which denotes the number of votes for supporting the algorithm as good edge detection
Let Yi define a value which denotes the number of votes against the algorithm
Let N denote the number of humans participating in the evaluation.
We can define the Human Perception Clarity (HPC) as HPCV and HPCA
HPCV gives the percentage of humans giving vote for perfect edge detection.
HPCA gives the percentage of humans giving negative vote of improper edge detection for an algorithm (Fig. 2, Tables 1, 2, 3, 4 and 5).
Finally
5 Conclusion
In this paper an efficient novel edge detection method has been presented. This approach utilizes the morphological operations and Gaussian smoothing which enormously helps in fast and efficient extraction of the continuous thick edges in images. In addition Human Perception Clarity parameter has been integrated to test the novel method. This paper tests the existing edge detection techniques Robert, Prewitt and sobel operators which give less thick edges and Canny edge detector gives unwanted details in the image [22]. Otsu Segmentation needs the threshold to be manually determined. Laplacian of Gaussian operator also gives gray image which has fewer details. Compared to existing Edge detectors, the proposed algorithm extracts precisely thick continuous image boundary which is very important to extract prominent and significant corners [23] in images and also in computing image semantics [24].
The GUI designed helps to successfully check all the edge detection methods at one place and choose appropriate method for your particular application. Performance evaluation measures give comparative results of all the existing methods. The proposed algorithm has highest HPCv. This shows the efficiency of the proposed algorithm.
References
Dr. Rama Bai, M.: A new approach for edge extraction using various preprocessing methods on Skeletonization technique. Int. J. Appl. Innov. Eng. Manag. (IJAIEM) 2(6) (2013). www.ijaiem.org. ISSN:2319–4847
Kezia, S., Shanti Prabha, I., Vijay Kumar, V.: Innovative segmentation approach based on LRTM. Int. J. Soft Comput. Eng. (IJSCE) 2(5) (2012). ISSN:2231–2307
Han, F., Tu, Z., Zhu, S.-C.: Range image segmentation by an effective jump-diffusion method. IEEE Trans. Pattern Anal. Mach. Intell. 26(9) (2004)
Gupta, A., et al.: An edge detection approach for images contaminated with Gaussian and impulse noises. In: Proceedings of (Springer) 4th International Conference on Signal and Image Processing (ICSIP 2012), vol. 2, pp. 523–533 (2012)
Bhateja, V., Devi, S.: A reconstruction based measure for evaluation of mammogram edge-maps. In: Proceedings of (Springer) International Conference on Frontiers in Intelligent Computing Theory and Applications AISC vol. 199, pp. 741–746 (2012)
Bhateja, V., Misra, M., Urooj, S.: Non-linear polynomial filters for edge enhancement of mammogram lesions. Elsevier-Computer Methods and Programs in Bio-medicne, vol. 129C, pp. 125–134 (2016)
Bhargavi, K., Jyothi, S.: A survey on threshold based segmentation technique in image processing. Int. J. Innov. Res. Dev. 3(12) (2014)
Khan, A.M., Ravi, S.: Image segmentaion methods: a comparative study. IJSCE 3(4) (2013). ISSN:2231–2307
Nain, N., Jindal, G., Garg, A., Jain, A.: Dynamic threshoding based edge detection. In: Proceedings of the World Congress on Engineering 2009, vol. I WCE 2008, 2–4 July 2008, London, UK
Al-Kubati, A.A.M., Saif, J.A.M., Taher, A.A.: Evaluation of Canny and Otsu image segmentation. In: International Conference on Emerging Trends in Computer and Electronics Engineering, 24–25 March 2012, Dubai
Sucharita, V., Jyothi, S., Mamatha, D.M.: A comparative study on various edge detection Techniques used for the identification of Penaeid Prawn species. Int. J. Comput. Appl. (0975–8887) 78(6) (2013)
Khalil, M., Omar, K.B., Noah, S.A.M.: Fish classification based on robust features extraction from color signature using back-propagation classifier. J. Comput. Sci. 7(1), 52–58 (2011). ISSN 1549-3636
Nagalakshmi, G., Jyothi, S.: Image acquisition, noise removal, edge detection methods in image processing using Matlab for prawn species identification. In: Proceedings of International Conference on Emerging Trends in Electronics & Telecommunications, 29th-31st May 2015, Kualalumpur, Malaysia
Dass, R., Priyanka, Swapna Devi.: Image sementation techniques. IJECT 3(1) (2012). ISSN:2230-7109 (online)
Thakare, P.: A study of image segmentation and edge detection techniques. IJCSE 3(2) (2011)
Saini, S., Kasliwal, B., Bhatia, S.: Comparative study of image edge detection algorithms
Narendra, V.G., Hareesh, K.S.: Study and comparision of various edge detection techniques used in quality inspection and evaluation of agricultural and food products by computer vision. Int. J. Agric. Biol. Eng. (2011)
Evangeline, D.: Image Segmentation: From the Beginning to Current Trends. CSI Communications (2015)
Gonzalez, R.C., Woods, R.E.: Digital Image Processing, 3rd edn. (2008)
Gonzalez, R.C., Woods, R.E.: Digital Image Processing, 2nd edn. Addison Wesley Longman (2000)
Khaire, P.A., Dr. Thakur, N.V.: A fuzzy set approach for edge detection . Int. J. Image Process. (IJIP) 6(6) (2012)
Canny, J.: A computational approach to edge detection. IEEE Trans. Pattern Anal. Mach. Intell. PAMI-8(6), 679–698 (1986)
Nain, N., Laxmi, V., Bhadviya, B., Gopal, A.: Corner detection using difference chain code as curvature. In: The Third IEEE International Conference on Signal Image Technology and Internet Based Systems, SITIS‘07, 2007, Track III, pp. 766–770
Nain, N., Laxmi, V., Agarwal, D., Khandelwal, M.: Transformation Invariant Shape Descriptors. International Conference on Image Processing and Computer Vision, IPCV’07, June 25–28, Nevada, USA, 2007, vol. I, pp. 545–550
Acknowledgements
Authors would like to thank DBT, New Delhi for sanctioning the Project. Currently this work is carried out under DBT Project.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Prathusha, P., Jyothi, S. (2018). A Novel Edge Detection Algorithm for Fast and Efficient Image Segmentation. In: Satapathy, S., Bhateja, V., Raju, K., Janakiramaiah, B. (eds) Data Engineering and Intelligent Computing. Advances in Intelligent Systems and Computing, vol 542 . Springer, Singapore. https://doi.org/10.1007/978-981-10-3223-3_26
Download citation
DOI: https://doi.org/10.1007/978-981-10-3223-3_26
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-10-3222-6
Online ISBN: 978-981-10-3223-3
eBook Packages: EngineeringEngineering (R0)