{"title":"MT4Image:一种用于图像处理应用的高效变质测试方法","authors":"Chang-Ai Sun, Xiaobei Li, Jiayu Xing","doi":"10.1016/j.infsof.2025.107909","DOIUrl":null,"url":null,"abstract":"<div><h3>Context:</h3><div>Metamorphic testing (MT) is widely adopted for testing image processing applications. Although a variety of metamorphic relations (MRs) have been proposed, applying all of them incurs high computational costs. In addition, complex transformation operations are not well supported when generating follow-up test images based on MRs.</div></div><div><h3>Objective:</h3><div>To overcome these limitations, this study proposes an efficient MT approach for image processing applications called <em>MT4Image</em>.</div></div><div><h3>Methods:</h3><div><em>MT4Image</em> employs CycleGAN to generate realistic follow-up images and leverages MRs for various categories of image processing applications. Two optimization strategies, <em>SSampling</em> and <em>EquivalentMR</em>, are further proposed to reduce MRs and test images, respectively. Additionally, a feedback mechanism called <em>ObsAdjuster</em> is designed to adjust the selection of test images and MRs for execution to improve the fault detection efficiency of MT. A prototype tool called <em>MT4I</em> was developed to support the proposed approach.</div></div><div><h3>Results:</h3><div>A series of experiments were conducted on a suite of subject programs covering three categories of image processing applications, with varying image sets from different sources.</div></div><div><h3>Conclusion:</h3><div>The experimental results have shown that <em>MT4Image</em> is capable of effectively testing various categories of image processing applications, while optimization strategies can reduce the amounts of MRs and test images without significantly jeopardizing the fault detection effectiveness and the feedback mechanism can further enhance the fault detection efficiency.</div></div>","PeriodicalId":54983,"journal":{"name":"Information and Software Technology","volume":"189 ","pages":"Article 107909"},"PeriodicalIF":4.3000,"publicationDate":"2025-10-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"MT4Image: An efficient metamorphic testing approach for image processing applications\",\"authors\":\"Chang-Ai Sun, Xiaobei Li, Jiayu Xing\",\"doi\":\"10.1016/j.infsof.2025.107909\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><h3>Context:</h3><div>Metamorphic testing (MT) is widely adopted for testing image processing applications. Although a variety of metamorphic relations (MRs) have been proposed, applying all of them incurs high computational costs. In addition, complex transformation operations are not well supported when generating follow-up test images based on MRs.</div></div><div><h3>Objective:</h3><div>To overcome these limitations, this study proposes an efficient MT approach for image processing applications called <em>MT4Image</em>.</div></div><div><h3>Methods:</h3><div><em>MT4Image</em> employs CycleGAN to generate realistic follow-up images and leverages MRs for various categories of image processing applications. Two optimization strategies, <em>SSampling</em> and <em>EquivalentMR</em>, are further proposed to reduce MRs and test images, respectively. Additionally, a feedback mechanism called <em>ObsAdjuster</em> is designed to adjust the selection of test images and MRs for execution to improve the fault detection efficiency of MT. A prototype tool called <em>MT4I</em> was developed to support the proposed approach.</div></div><div><h3>Results:</h3><div>A series of experiments were conducted on a suite of subject programs covering three categories of image processing applications, with varying image sets from different sources.</div></div><div><h3>Conclusion:</h3><div>The experimental results have shown that <em>MT4Image</em> is capable of effectively testing various categories of image processing applications, while optimization strategies can reduce the amounts of MRs and test images without significantly jeopardizing the fault detection effectiveness and the feedback mechanism can further enhance the fault detection efficiency.</div></div>\",\"PeriodicalId\":54983,\"journal\":{\"name\":\"Information and Software Technology\",\"volume\":\"189 \",\"pages\":\"Article 107909\"},\"PeriodicalIF\":4.3000,\"publicationDate\":\"2025-10-07\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Information and Software Technology\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0950584925002484\",\"RegionNum\":2,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"COMPUTER SCIENCE, INFORMATION SYSTEMS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Information and Software Technology","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0950584925002484","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
MT4Image: An efficient metamorphic testing approach for image processing applications
Context:
Metamorphic testing (MT) is widely adopted for testing image processing applications. Although a variety of metamorphic relations (MRs) have been proposed, applying all of them incurs high computational costs. In addition, complex transformation operations are not well supported when generating follow-up test images based on MRs.
Objective:
To overcome these limitations, this study proposes an efficient MT approach for image processing applications called MT4Image.
Methods:
MT4Image employs CycleGAN to generate realistic follow-up images and leverages MRs for various categories of image processing applications. Two optimization strategies, SSampling and EquivalentMR, are further proposed to reduce MRs and test images, respectively. Additionally, a feedback mechanism called ObsAdjuster is designed to adjust the selection of test images and MRs for execution to improve the fault detection efficiency of MT. A prototype tool called MT4I was developed to support the proposed approach.
Results:
A series of experiments were conducted on a suite of subject programs covering three categories of image processing applications, with varying image sets from different sources.
Conclusion:
The experimental results have shown that MT4Image is capable of effectively testing various categories of image processing applications, while optimization strategies can reduce the amounts of MRs and test images without significantly jeopardizing the fault detection effectiveness and the feedback mechanism can further enhance the fault detection efficiency.
期刊介绍:
Information and Software Technology is the international archival journal focusing on research and experience that contributes to the improvement of software development practices. The journal''s scope includes methods and techniques to better engineer software and manage its development. Articles submitted for review should have a clear component of software engineering or address ways to improve the engineering and management of software development. Areas covered by the journal include:
• Software management, quality and metrics,
• Software processes,
• Software architecture, modelling, specification, design and programming
• Functional and non-functional software requirements
• Software testing and verification & validation
• Empirical studies of all aspects of engineering and managing software development
Short Communications is a new section dedicated to short papers addressing new ideas, controversial opinions, "Negative" results and much more. Read the Guide for authors for more information.
The journal encourages and welcomes submissions of systematic literature studies (reviews and maps) within the scope of the journal. Information and Software Technology is the premiere outlet for systematic literature studies in software engineering.