doi: 10.7763/IJIMT.2013.V4.346
Evaluating the Effectiveness of Metamorphic Testing on Edge Detection Programs
- 1School of Engineering, Computing and Science,Swinburne University of Technology (Sarawak Campus), Sarawak,Malaysia.
- 2Department of Electrical and Electronic Engineering, Xi’an Jiaotong-Liverpool University, Suzhou, Jiangsu, P.R.China.
- 3Faculty of Engineering, Multimedia University,Cyberjaya, Malaysia.
Abstract
Programmer’s errors in implementing edge detection algorithms could induce faults in edge detection programs. We study Sobel edge detection programs in C and evaluate the effectiveness of Metamorphic Testing technique in detecting faulty edge detection programs. We found that the fault detection effectiveness varies for different metamorphic relations used for testing. Contrary to common believe that faults in image processing programs can be detected with any non-trivial image as test input, our experiment results show that there exists subtle fault that can only be detected when images with certain properties are used as test inputs. Based on these results, we propose general guides for using metamorphic testing to detect faults in edge detection programs.
Keywords
- Component
- edge detection
- metamorphic testing
- software testing
How to Cite
K. Y. Sim, D. M. L. Wong, and T. Y. Hii, "Evaluating the Effectiveness of Metamorphic Testing on Edge Detection Programs," International Journal of Innovation, Management and Technology, vol. 4, no. 1, pp. 6-10, 2013. https://doi.org/10.7763/IJIMT.2013.V4.346
Copyright & License
Copyright © 2013 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).