Modeling Multigrid Algorithms for Variational Imaging

I. Dietrich, R. German, H. Köstler, U. Rüde
{"title":"Modeling Multigrid Algorithms for Variational Imaging","authors":"I. Dietrich, R. German, H. Köstler, U. Rüde","doi":"10.1109/ASWEC.2010.16","DOIUrl":null,"url":null,"abstract":"UML-based modeling is becoming increasingly popular in many software development projects. One of the key aspects is the possibility to support automatic code generation from UML models while keeping the easy to use modeling abstraction for the software developer. The framework Syntony has been developed to generate discrete-event simulations from standard-compliant UML models in order to support simulation based performance evaluation of systems. In this work, we discuss the extension of Syntony to include automatic code generation in the context of large scale continuous simulations that require the numerical solution of partial differential equations (PDE). We choose variational imaging as an example field, and multigrid as numerical solver. Multigrid algorithms exhibit a fixed sequential structure, where the single steps are problem dependent. Typically, they are implemented in C++, and may depend on special hardware since most of their applications require the solution of large numerical systems and therefore high computational performance. Using Syntony, we provide a modeling framework that can be extended to cover new applications by providing the basic modules and data structures in C++ and modeling the high-level algorithms and classes in UML class and activity diagrams. We evaluate the applicability of our approach in a case study for image denoising. The generated code is a fully working application that computes a denoised output image from a given input image using the methods specified in the UML model. The key benefit lies in the abstraction from low level programming for building complex denoising algorithms. In addition, we show that the code generation and compilation process runs significantly faster than the compilation of the entire framework. We also show that the run-time overhead introduced by the generated code is neglible.","PeriodicalId":381789,"journal":{"name":"2010 21st Australian Software Engineering Conference","volume":"37 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-04-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"8","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2010 21st Australian Software Engineering Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ASWEC.2010.16","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 8

Abstract

UML-based modeling is becoming increasingly popular in many software development projects. One of the key aspects is the possibility to support automatic code generation from UML models while keeping the easy to use modeling abstraction for the software developer. The framework Syntony has been developed to generate discrete-event simulations from standard-compliant UML models in order to support simulation based performance evaluation of systems. In this work, we discuss the extension of Syntony to include automatic code generation in the context of large scale continuous simulations that require the numerical solution of partial differential equations (PDE). We choose variational imaging as an example field, and multigrid as numerical solver. Multigrid algorithms exhibit a fixed sequential structure, where the single steps are problem dependent. Typically, they are implemented in C++, and may depend on special hardware since most of their applications require the solution of large numerical systems and therefore high computational performance. Using Syntony, we provide a modeling framework that can be extended to cover new applications by providing the basic modules and data structures in C++ and modeling the high-level algorithms and classes in UML class and activity diagrams. We evaluate the applicability of our approach in a case study for image denoising. The generated code is a fully working application that computes a denoised output image from a given input image using the methods specified in the UML model. The key benefit lies in the abstraction from low level programming for building complex denoising algorithms. In addition, we show that the code generation and compilation process runs significantly faster than the compilation of the entire framework. We also show that the run-time overhead introduced by the generated code is neglible.
变分成像的多网格建模算法
基于uml的建模在许多软件开发项目中变得越来越流行。其中一个关键方面是支持从UML模型自动生成代码的可能性,同时为软件开发人员保持易于使用的建模抽象。Syntony框架的开发是为了从符合标准的UML模型中生成离散事件模拟,从而支持基于模拟的系统性能评估。在这项工作中,我们讨论了Syntony的扩展,以包括在需要偏微分方程(PDE)数值解的大规模连续模拟背景下的自动代码生成。本文以变分成像为例,采用多重网格作为数值求解方法。多网格算法具有固定的顺序结构,其中单个步骤依赖于问题。通常,它们是用c++实现的,并且可能依赖于特殊的硬件,因为它们的大多数应用程序需要大型数值系统的解决方案,因此需要高计算性能。通过使用Syntony,我们提供了一个建模框架,通过在c++中提供基本模块和数据结构,并在UML类和活动图中对高级算法和类进行建模,该框架可以扩展到覆盖新的应用程序。我们在一个图像去噪的案例研究中评估了我们的方法的适用性。生成的代码是一个完全工作的应用程序,它使用UML模型中指定的方法从给定的输入图像计算去噪的输出图像。关键的好处在于从构建复杂去噪算法的低级编程中抽象出来。此外,我们还展示了代码生成和编译过程的运行速度明显快于整个框架的编译。我们还展示了由生成的代码引入的运行时开销是可以忽略不计的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
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学术官方微信