Repository logo
 

Automatic test image generation using procedural noise

Accepted version
Peer-reviewed

Type

Conference Object

Change log

Authors

Patrick, M 
Castle, MD 
Stutt, ROJH 
Gilligan, CA 

Abstract

It is difficult to test programs that input images, due to the large number of (pixel) values that must be chosen and the complex ways these values interact. Typically, such programs are tested manually, using images that have known results. However, this is a laborious process and limited in the range of tests that can be applied. We introduce a new approach for testing programs that input images automatically, using procedural noise and spatial statistics to create inputs that are both realistic and can easily be tuned to have specific properties. The effectiveness of our approach is illustrated on an epidemiological simulation of a recently introduced tree pest in Great Britain: Oriental Chestnut Gall Wasp. Our approach produces images that match the real landscapes more closely than other techniques and can be used (alongside metamorphic relations) to detect smaller (artificially introduced) errors with greater accuracy.

Description

Keywords

software testing, image processing, test data generation

Journal Title

ASE 2016 - Proceedings of the 31st IEEE/ACM International Conference on Automated Software Engineering

Conference Name

ASE'16: ACM/IEEE International Conference on Automated Software Engineering

Journal ISSN

1527-1366

Volume Title

Publisher

ACM
Sponsorship
This work was supported by the University of Cambridge/Wellcome Trust Junior Interdisciplinary Fellowship “Making scientific software easier to understand, test and communicate through modern advances in software engineering.