MT4Image:一种用于图像处理应用的高效变质测试方法

IF 4.3 2区 计算机科学 Q2 COMPUTER SCIENCE, INFORMATION SYSTEMS
Chang-Ai Sun, Xiaobei Li, Jiayu Xing
{"title":"MT4Image:一种用于图像处理应用的高效变质测试方法","authors":"Chang-Ai Sun,&nbsp;Xiaobei Li,&nbsp;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,&nbsp;Xiaobei Li,&nbsp;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}
引用次数: 0

摘要

背景:变形测试(MT)被广泛用于测试图像处理应用。虽然已经提出了各种各样的变质关系(MRs),但应用它们会产生很高的计算成本。此外,基于mrs的后续测试图像生成不支持复杂的变换操作。目的:为了克服这些限制,本研究提出了一种用于图像处理应用的高效MT方法MT4Image。方法:MT4Image使用CycleGAN生成逼真的后续图像,并利用MRs进行各种类型的图像处理应用。进一步提出了SSampling和EquivalentMR两种优化策略,分别用于减少MRs和测试图像。此外,设计了一种名为ObsAdjuster的反馈机制,用于调整测试图像和MRs的选择,以提高MT的故障检测效率。开发了一个名为MT4I的原型工具来支持所提出的方法。结果:在涵盖三类图像处理应用的一套主题程序上,对不同来源的不同图像集进行了一系列实验。结论:实验结果表明,MT4Image能够有效地测试各类图像处理应用,而优化策略可以在不显著影响故障检测效果的情况下减少MRs和测试图像的数量,反馈机制可以进一步提高故障检测效率。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
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
Information and Software Technology 工程技术-计算机:软件工程
CiteScore
9.10
自引率
7.70%
发文量
164
审稿时长
9.6 weeks
期刊介绍: 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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信