Metamorphic Relations Based Test Oracles for Image Processing Applications

Metamorphic Relations Based Test Oracles for Image Processing Applications

Tahir Jameel, Mengxiang Lin, Liu Chao
Copyright: © 2016 |Pages: 15
DOI: 10.4018/IJSI.2016010102
OnDemand:
(Individual Articles)
Available
$37.50
No Current Special Offers
TOTAL SAVINGS: $37.50

Abstract

Evaluation of output images carrying visual semantics is a challenging task which is carried out by domain experts through visual inspection. Automatic test oracle is required to augment the test oracle problem and to eliminate the manual efforts. Metamorphic testing is an effective technique to alleviate these problems. In this paper, the authors have demonstrated that how inherent properties of implementation under test can be used to generate an automatic test oracle for image processing applications. Metamorphic testing is a general technique in which follow-up test cases are generated using a transformation function and the anticipated output is evaluated. They have used some general metamorphic relations and also designed some algorithm specific metamorphic relations for morphological image operations. Selection of metamorphic relations is the most important step and the authors have analyzed relative effectiveness of different metamorphic relations using mutation analysis. The results show metamorphic testing is a very effective technique to automate output images evaluation and to alleviate oracle problem.
Article Preview
Top

1. Introduction

Image processing applications continue to provide more features, handle larger data and generate complex outputs. Advancement in signal processing and digital imaging devices has enabled their extensive use. These applications play a vital role in our daily life such as medical imaging, surveillance, biometrics etc., and the human dependence on these systems has increased the demand of their reliability.

Testing is a practical approach to evaluate the quality of these systems which includes input generation, test execution and evaluation of output. Generation of test images and evaluation of output images are considered a challenging task due to complex nature of images and their visual semantics. Currently, these applications are tested by giving manually crafted test images or commonly used standard test images. The outputs of these images are analyzed by visual inspection carried out by domain expert. This procedure is tedious and sometimes ineffective in a way that a human inspector can only analyze a limited number of images which may not enough to find out subtle errors. Automatic output image analysis is required to make the testing procedure cost effective and larger scaled.

Let function IJSI.2016010102.m01 be an implementation of algorithm IJSI.2016010102.m02 and IJSI.2016010102.m03 be a subset of input space IJSI.2016010102.m04 given byIJSI.2016010102.m05. Function IJSI.2016010102.m06is executed to produce outputIJSI.2016010102.m07, whereas set of expected output of function IJSI.2016010102.m08is given byIJSI.2016010102.m09. Test oracle is a mechanism to determine whether the executed test has passed or failed. In the article by (Zhou & Huang, 2004), the authors says that in output evaluation, the actual output is compared with the expected output to analyze the correctness i.e. whether, IJSI.2016010102.m10 or not. In the books by (Binder, 2000)(Weyuker, 1982), the authors says that in practice, the test oracle is either not available or very expensive to apply, which is known as test oracle problem. In case of image processing applications, sometimes test oracle cannot be clearly defined, e.g. visually similar images may have slight difference at pixel level.

Complete Article List

Search this Journal:
Reset
Volume 12: 1 Issue (2024)
Volume 11: 1 Issue (2023)
Volume 10: 4 Issues (2022): 2 Released, 2 Forthcoming
Volume 9: 4 Issues (2021)
Volume 8: 4 Issues (2020)
Volume 7: 4 Issues (2019)
Volume 6: 4 Issues (2018)
Volume 5: 4 Issues (2017)
Volume 4: 4 Issues (2016)
Volume 3: 4 Issues (2015)
Volume 2: 4 Issues (2014)
Volume 1: 4 Issues (2013)
View Complete Journal Contents Listing