首页 > 最新文献

Programming and Computer Software最新文献

英文 中文
The Use of Functional Programming Library for Parallel Computing on CUDA 在 CUDA 上使用并行计算函数式编程库
IF 0.7 4区 计算机科学 Q4 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2024-05-22 DOI: 10.1134/s0361768824010055
M. M. Krasnov, O. B. Feodoritova

Abstract

Modern graphics accelerators (GPUs) can significantly speed up the execution of numerical problems. However, porting programs to graphics accelerators is not an easy task, sometimes requiring their almost complete rewriting. CUDA graphics accelerators, thanks to technology developed by NVIDIA, allow one to have a single source code for both conventional processors (CPUs) and CUDA. However, parallelization on shared memory is still done differently and should be specified explicitly. The use of a functional programming library developed by the authors makes it possible to hide the use of one or another parallelization mechanism on shared memory within the library and make the user’s source code completely independent of the computing device used (CPU or CUDA). This article shows how this can be done.

摘要现代图形加速器(GPU)可以大大加快数值问题的执行速度。然而,将程序移植到图形加速器上并非易事,有时几乎需要完全重写。得益于英伟达™(NVIDIA®)公司开发的 CUDA 图形加速器技术,人们可以用一个源代码同时处理传统处理器(CPU)和 CUDA。不过,共享内存上的并行化仍然采用不同的方式,并应明确指定。通过使用作者开发的函数式编程库,可以将共享内存上的一种或另一种并行化机制隐藏在库中,使用户的源代码完全独立于所使用的计算设备(CPU 或 CUDA)。本文展示了如何做到这一点。
{"title":"The Use of Functional Programming Library for Parallel Computing on CUDA","authors":"M. M. Krasnov, O. B. Feodoritova","doi":"10.1134/s0361768824010055","DOIUrl":"https://doi.org/10.1134/s0361768824010055","url":null,"abstract":"<h3 data-test=\"abstract-sub-heading\">Abstract</h3><p>Modern graphics accelerators (GPUs) can significantly speed up the execution of numerical problems. However, porting programs to graphics accelerators is not an easy task, sometimes requiring their almost complete rewriting. CUDA graphics accelerators, thanks to technology developed by NVIDIA, allow one to have a single source code for both conventional processors (CPUs) and CUDA. However, parallelization on shared memory is still done differently and should be specified explicitly. The use of a functional programming library developed by the authors makes it possible to hide the use of one or another parallelization mechanism on shared memory within the library and make the user’s source code completely independent of the computing device used (CPU or CUDA). This article shows how this can be done.</p>","PeriodicalId":54555,"journal":{"name":"Programming and Computer Software","volume":"21 1","pages":""},"PeriodicalIF":0.7,"publicationDate":"2024-05-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141153222","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Applying Computer Algebra Systems to Study Chaundy-Bullard Identities for the Vector Partition Function with Weight 应用计算机代数系统研究带权重矢量分割函数的 Chaundy-Bullard 特性
IF 0.7 4区 计算机科学 Q4 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2024-05-22 DOI: 10.1134/s0361768824020105
A. B. Leinartene, A. P. Lyapin

Abstract

An algorithm for obtaining the Chaundy-Bullard identity for a vector partition function with weight that uses computer algebra methods is proposed. To automate this process in Maple, an algorithm was developed and implemented that calculates the values of the vector partition function with weight by finding non-negative solutions of systems of linear Diophantine equations that are used to form the identities involved. The algorithm’s input data is represented by the set of integer vectors that form a pointed lattice cone and by some point from this cone, and the Chaundy-Bullard identity for the vector partition function with weight is its output. The code involved is stored in the depository and is ready-to-use. An example demonstrating the algorithm’s operation is given.

摘要 提出了一种利用计算机代数方法获得带权向量分割函数的 Chaundy-Bullard 特性的算法。为了在 Maple 中自动完成这一过程,开发并实现了一种算法,该算法通过查找线性二叉方程组的非负解来计算带权向量分割函数的值,这些解用于形成相关的标识。该算法的输入数据由构成尖格锥的整数向量集和该锥中的某个点表示,带权向量分割函数的乔恩迪-布拉德特性是其输出。相关代码已存储在数据库中,可随时使用。示例演示了该算法的运行。
{"title":"Applying Computer Algebra Systems to Study Chaundy-Bullard Identities for the Vector Partition Function with Weight","authors":"A. B. Leinartene, A. P. Lyapin","doi":"10.1134/s0361768824020105","DOIUrl":"https://doi.org/10.1134/s0361768824020105","url":null,"abstract":"<h3 data-test=\"abstract-sub-heading\">Abstract</h3><p>An algorithm for obtaining the Chaundy-Bullard identity for a vector partition function with weight that uses computer algebra methods is proposed. To automate this process in Maple, an algorithm was developed and implemented that calculates the values of the vector partition function with weight by finding non-negative solutions of systems of linear Diophantine equations that are used to form the identities involved. The algorithm’s input data is represented by the set of integer vectors that form a pointed lattice cone and by some point from this cone, and the Chaundy-Bullard identity for the vector partition function with weight is its output. The code involved is stored in the depository and is ready-to-use. An example demonstrating the algorithm’s operation is given.</p>","PeriodicalId":54555,"journal":{"name":"Programming and Computer Software","volume":"49 1","pages":""},"PeriodicalIF":0.7,"publicationDate":"2024-05-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141153089","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Computer-Algebraic Approach to First Differential Approximations: Van der Pol Oscillator 一阶微分逼近的计算机代数方法:范德波尔振荡器
IF 0.7 4区 计算机科学 Q4 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2024-05-22 DOI: 10.1134/s0361768824020026
Yu. A. Blinkov

Abstract

First differential approximation has been used to analyze various numerical methods for solving systems of ordinary differential equations. This has made it possible to estimate the stiffness of the ODE system that models the oscillations of the Van der Pol oscillator and the error of the method as well as to propose simple criteria for choosing a calculation step. The presented methods allow one to perform efficient calculations using computer algebra systems.

AbstractFirst differential approximation has been used to analyze various numerical methods for solving systems of ordinary differential equations.这使得估算范德尔波尔振荡器振荡模型的常微分方程系统的刚度和方法的误差以及提出选择计算步骤的简单标准成为可能。所提出的方法允许人们使用计算机代数系统进行高效计算。
{"title":"Computer-Algebraic Approach to First Differential Approximations: Van der Pol Oscillator","authors":"Yu. A. Blinkov","doi":"10.1134/s0361768824020026","DOIUrl":"https://doi.org/10.1134/s0361768824020026","url":null,"abstract":"<h3 data-test=\"abstract-sub-heading\">Abstract</h3><p>First differential approximation has been used to analyze various numerical methods for solving systems of ordinary differential equations. This has made it possible to estimate the stiffness of the ODE system that models the oscillations of the Van der Pol oscillator and the error of the method as well as to propose simple criteria for choosing a calculation step. The presented methods allow one to perform efficient calculations using computer algebra systems.</p>","PeriodicalId":54555,"journal":{"name":"Programming and Computer Software","volume":"57 1","pages":""},"PeriodicalIF":0.7,"publicationDate":"2024-05-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141153118","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Solving Rician Data Analysis Problems: Theory and Numerical Modeling Using Computer Algebra Methods in Wolfram Mathematica 解决里森数据分析问题:使用 Wolfram Mathematica 中的计算机代数方法进行理论和数值建模
IF 0.7 4区 计算机科学 Q4 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2024-05-22 DOI: 10.1134/s0361768824020154
T. V. Yakovleva

Abstract

This paper considers theoretical foundations and mathematical methods of data analysis under the conditions of the Rice statistical distribution. The problem involves joint estimation of the signal and noise parameters. It is shown that this estimation requires the solution of a complex system of essentially nonlinear equations with two unknown variables, which implies significant computational costs. This study is aimed at mathematical optimization of computer algebra methods for numerical solution of the problem of Rician data analysis. As a result of the optimization, the solution of the system of two nonlinear equations is reduced to the solution of one equation with one unknown variable, which significantly simplifies algorithms for the numerical solution of the problem, reduces the amount of necessary computational resources, and enables the use of advanced methods for parameter estimation in information systems with priority of real-time operation. Results of numerical experiments carried out using Wolfram Mathematica confirm the effectiveness of the developed methods for two-parameter analysis of Rician data. The data analysis methods considered in this paper are useful for solving many scientific and applied problems that involve analysis of data described by the Rice statistical model.

摘要 本文探讨了赖斯统计分布条件下数据分析的理论基础和数学方法。问题涉及信号和噪声参数的联合估计。结果表明,这种估计需要求解带有两个未知变量的复杂的非线性方程组,这意味着巨大的计算成本。本研究旨在对用于数值求解 Rician 数据分析问题的计算机代数方法进行数学优化。通过优化,两个非线性方程组的解法被简化为一个未知变量方程组的解法,从而大大简化了问题数值解法的算法,减少了所需的计算资源,并能在优先考虑实时运行的信息系统中使用先进的参数估计方法。使用 Wolfram Mathematica 进行的数值实验结果证实了所开发的里克里亚数据双参数分析方法的有效性。本文所考虑的数据分析方法有助于解决许多涉及赖斯统计模型描述的数据分析的科学和应用问题。
{"title":"Solving Rician Data Analysis Problems: Theory and Numerical Modeling Using Computer Algebra Methods in Wolfram Mathematica","authors":"T. V. Yakovleva","doi":"10.1134/s0361768824020154","DOIUrl":"https://doi.org/10.1134/s0361768824020154","url":null,"abstract":"<h3 data-test=\"abstract-sub-heading\">Abstract</h3><p>This paper considers theoretical foundations and mathematical methods of data analysis under the conditions of the Rice statistical distribution. The problem involves joint estimation of the signal and noise parameters. It is shown that this estimation requires the solution of a complex system of essentially nonlinear equations with two unknown variables, which implies significant computational costs. This study is aimed at mathematical optimization of computer algebra methods for numerical solution of the problem of Rician data analysis. As a result of the optimization, the solution of the system of two nonlinear equations is reduced to the solution of one equation with one unknown variable, which significantly simplifies algorithms for the numerical solution of the problem, reduces the amount of necessary computational resources, and enables the use of advanced methods for parameter estimation in information systems with priority of real-time operation. Results of numerical experiments carried out using Wolfram Mathematica confirm the effectiveness of the developed methods for two-parameter analysis of Rician data. The data analysis methods considered in this paper are useful for solving many scientific and applied problems that involve analysis of data described by the Rice statistical model.</p>","PeriodicalId":54555,"journal":{"name":"Programming and Computer Software","volume":"20 1","pages":""},"PeriodicalIF":0.7,"publicationDate":"2024-05-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141153080","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Integration of a Degenerate System of ODEs 退化 ODEs 系统的积分
IF 0.7 4区 计算机科学 Q4 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2024-05-22 DOI: 10.1134/s036176882402004x
A. D. Bruno, V. F. Edneral

Abstract

The integrability of a two-dimensional autonomous polynomial system of ordinary differential equations (ODEs) with a degenerate singular point at the origin that depends on six parameters is investigated. The integrability condition for the first quasihomogeneous approximation allows one of these parameters to be fixed on a countable set of values. The further analysis is carried out for this value and five free parameters. Using the power geometry method, the system is reduced to a non-degenerate form through the blowup process. Then, the necessary conditions for its local integrability are calculated using the method of normal forms. In other words, the conditions for the parameters under which the original system is locally integrable near the degenerate stationary point are found. By resolving these conditions, we find seven two-parameter families in the five-dimensional parametric space. For parameter values from these families, the first integrals of the system are found. The cumbersome calculations that occur in the problem under consideration are carried out using computer algebra.

摘要 研究了在原点有退化奇点的二维自治多项式常微分方程(ODE)系统的可整性,该系统取决于六个参数。第一个准均质近似的可整性条件允许将其中一个参数固定在一个可数值集合上。针对该值和五个自由参数进行了进一步分析。利用幂几何方法,通过炸毁过程将系统还原为非退化形式。然后,利用正态法计算出局部可积分性的必要条件。换句话说,我们找到了原始系统在退化静止点附近局部可积分的参数条件。通过解析这些条件,我们在五维参数空间中找到了七个双参数族。对于这些族中的参数值,可以找到系统的初积分。在所考虑的问题中出现的繁琐计算是利用计算机代数进行的。
{"title":"Integration of a Degenerate System of ODEs","authors":"A. D. Bruno, V. F. Edneral","doi":"10.1134/s036176882402004x","DOIUrl":"https://doi.org/10.1134/s036176882402004x","url":null,"abstract":"<h3 data-test=\"abstract-sub-heading\">Abstract</h3><p>The integrability of a two-dimensional autonomous polynomial system of ordinary differential equations (ODEs) with a degenerate singular point at the origin that depends on six parameters is investigated. The integrability condition for the first quasihomogeneous approximation allows one of these parameters to be fixed on a countable set of values. The further analysis is carried out for this value and five free parameters. Using the power geometry method, the system is reduced to a non-degenerate form through the blowup process. Then, the necessary conditions for its local integrability are calculated using the method of normal forms. In other words, the conditions for the parameters under which the original system is locally integrable near the degenerate stationary point are found. By resolving these conditions, we find seven two-parameter families in the five-dimensional parametric space. For parameter values from these families, the first integrals of the system are found. The cumbersome calculations that occur in the problem under consideration are carried out using computer algebra.</p>","PeriodicalId":54555,"journal":{"name":"Programming and Computer Software","volume":"139 1","pages":""},"PeriodicalIF":0.7,"publicationDate":"2024-05-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141145857","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Implementation of Analytic Projective Geometry for Computer Graphics 为计算机图形学实现解析投影几何
IF 0.7 4区 计算机科学 Q4 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2024-05-22 DOI: 10.1134/s0361768824020075
M. N. Gevorkyan, A. V. Korol’kova, D. S. Kulyabov, L. A. Sevast’yanov

Abstract

In their research, the authors actively exploit different branches of geometry. For geometric constructions, computer algebra approaches and systems are used. Currently, we are interested in computer geometry, more specifically, the implementation of computer graphics. The use of the projective space and homogeneous coordinates has actually become a standard in modern computer graphics. In other words, the problem is reduced to the application of analytic projective geometry. The authors failed to find a computer algebra system that could implement projective geometry in its entirety. Therefore, it was decided to partially implement computer algebra for visualization of algebraic relations. For this purpose, the Asymptote system was employed.

摘要 作者在研究中积极利用几何的不同分支。在几何构造方面,使用了计算机代数方法和系统。目前,我们感兴趣的是计算机几何,更具体地说,是计算机图形的实现。使用投影空间和同质坐标实际上已成为现代计算机制图的标准。换句话说,问题被简化为解析投影几何的应用。作者未能找到一个可以完整实现投影几何的计算机代数系统。因此,他们决定部分实施计算机代数,以实现代数关系的可视化。为此,采用了渐近系统。
{"title":"Implementation of Analytic Projective Geometry for Computer Graphics","authors":"M. N. Gevorkyan, A. V. Korol’kova, D. S. Kulyabov, L. A. Sevast’yanov","doi":"10.1134/s0361768824020075","DOIUrl":"https://doi.org/10.1134/s0361768824020075","url":null,"abstract":"<h3 data-test=\"abstract-sub-heading\">Abstract</h3><p>In their research, the authors actively exploit different branches of geometry. For geometric constructions, computer algebra approaches and systems are used. Currently, we are interested in computer geometry, more specifically, the implementation of computer graphics. The use of the projective space and homogeneous coordinates has actually become a standard in modern computer graphics. In other words, the problem is reduced to the application of analytic projective geometry. The authors failed to find a computer algebra system that could implement projective geometry in its entirety. Therefore, it was decided to partially implement computer algebra for visualization of algebraic relations. For this purpose, the Asymptote system was employed.</p>","PeriodicalId":54555,"journal":{"name":"Programming and Computer Software","volume":"54 1","pages":""},"PeriodicalIF":0.7,"publicationDate":"2024-05-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141153088","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Interactive Calculation of Light Refraction and Caustics Using a Graphics Processor 使用图形处理器交互式计算光的折射和赝像
IF 0.7 4区 计算机科学 Q4 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2024-05-22 DOI: 10.1134/s0361768824010122
S. I. Vyatkin, B. S. Dolgovesov

Abstract

While modern rendering systems are efficient for modeling complex light paths in complex environments, the rendering of refractive caustics still takes a long time. Caustics are light patterns that occur when light is refracted and reflected from a surface. Due to an irregular density distribution of these specular events, rendering algorithms mainly rely on direct sampling of the bidirectional dispersion distribution function on these surfaces to plot trajectories. This requires a lot of calculations. Photonic maps are also used. However, there are difficulties that limit the applicability of caustic maps. Since each photon in the photon buffer must be processed, one has to choose between a strongly underestimated caustic sampling and a large decrease in speed in order to use a sufficient number of photons for caustics in order to obtain high-quality images. Complex specular interactions cause oversampling in bright focal areas, while other areas of the caustic map remain undersampled and noisy. At the same time, speed takes precedence over realism in most interactive applications. However, the desire to improve the quality of graphics prompted the development of various fast approximations for realistic lighting. This paper presents a combined method for rendering refraction of light and caustics using backward integration for illumination and direct integration for viewing rays. An approach for simultaneous propagation of light and for tracking rays in a volume is used; therefore, it does not require storing data of an intermediate volume of illumination. In the implementation of this method, the distance between the light planes is set to one voxel, which provides at least one sample per voxel for all orientations. The method does not use preliminary calculations, and all rendering parameters can be changed interactively. As a result, using the proposed method, it is possible to create plausible approximations of complex phenomena, such as refractions and caustics. The effect of refraction on the shadow is shown. Complex light patterns occurring due to the curved geometry of objects are demonstrated. The visualization results show the importance of refraction for the appearance of transparent objects, e.g., the effect distortions caused by refraction in the medium and refraction on the interfaces between media. The difference in refractive indices between different media causes a complex interaction between light and shadow areas. It is shown how refraction and caustics improve rendering of functionally defined objects by providing additional information about their shape and location.

摘要虽然现代渲染系统可以高效地模拟复杂环境中的复杂光路,但折射凹凸的渲染仍然需要很长时间。凹凸是光线从表面折射和反射时产生的光斑。由于这些镜面现象的密度分布不规则,渲染算法主要依靠对这些表面的双向色散分布函数进行直接采样来绘制轨迹。这需要大量的计算。也可以使用光子地图。不过,苛性贴图的适用性受到一些困难的限制。由于必须处理光子缓冲区中的每个光子,因此必须在严重低估苛性取样和大幅降低速度之间做出选择,以便使用足够数量的光子进行苛性取样,从而获得高质量的图像。复杂的镜面反射会导致明亮焦点区域采样过多,而苛化图的其他区域则采样不足,噪声较大。同时,在大多数交互应用中,速度优先于逼真度。然而,提高图形质量的愿望促使人们开发出各种快速逼真照明近似方法。本文介绍了一种渲染光的折射和腐蚀的组合方法,使用后向积分法进行照明,使用直接积分法进行观察光线。本文采用了一种在体积中同时传播光线和跟踪光线的方法,因此无需存储中间照明体积的数据。在该方法的实施过程中,光线平面之间的距离设定为一个体素,这样每个体素至少可以为所有方向提供一个样本。该方法不使用初步计算,所有渲染参数都可以交互式更改。因此,使用所提出的方法,可以对折射和钝化等复杂现象进行可信的近似处理。图中显示了折射对阴影的影响。演示了由于物体的弯曲几何形状而产生的复杂光型。可视化结果显示了折射对透明物体外观的重要性,例如,介质中的折射和介质间界面上的折射所造成的扭曲效果。不同介质之间折射率的差异会导致光影区域之间复杂的相互作用。图中展示了折射和腐蚀如何通过提供有关物体形状和位置的附加信息来改善功能定义物体的渲染效果。
{"title":"Interactive Calculation of Light Refraction and Caustics Using a Graphics Processor","authors":"S. I. Vyatkin, B. S. Dolgovesov","doi":"10.1134/s0361768824010122","DOIUrl":"https://doi.org/10.1134/s0361768824010122","url":null,"abstract":"<h3 data-test=\"abstract-sub-heading\">Abstract</h3><p>While modern rendering systems are efficient for modeling complex light paths in complex environments, the rendering of refractive caustics still takes a long time. Caustics are light patterns that occur when light is refracted and reflected from a surface. Due to an irregular density distribution of these specular events, rendering algorithms mainly rely on direct sampling of the bidirectional dispersion distribution function on these surfaces to plot trajectories. This requires a lot of calculations. Photonic maps are also used. However, there are difficulties that limit the applicability of caustic maps. Since each photon in the photon buffer must be processed, one has to choose between a strongly underestimated caustic sampling and a large decrease in speed in order to use a sufficient number of photons for caustics in order to obtain high-quality images. Complex specular interactions cause oversampling in bright focal areas, while other areas of the caustic map remain undersampled and noisy. At the same time, speed takes precedence over realism in most interactive applications. However, the desire to improve the quality of graphics prompted the development of various fast approximations for realistic lighting. This paper presents a combined method for rendering refraction of light and caustics using backward integration for illumination and direct integration for viewing rays. An approach for simultaneous propagation of light and for tracking rays in a volume is used; therefore, it does not require storing data of an intermediate volume of illumination. In the implementation of this method, the distance between the light planes is set to one voxel, which provides at least one sample per voxel for all orientations. The method does not use preliminary calculations, and all rendering parameters can be changed interactively. As a result, using the proposed method, it is possible to create plausible approximations of complex phenomena, such as refractions and caustics. The effect of refraction on the shadow is shown. Complex light patterns occurring due to the curved geometry of objects are demonstrated. The visualization results show the importance of refraction for the appearance of transparent objects, e.g., the effect distortions caused by refraction in the medium and refraction on the interfaces between media. The difference in refractive indices between different media causes a complex interaction between light and shadow areas. It is shown how refraction and caustics improve rendering of functionally defined objects by providing additional information about their shape and location.</p>","PeriodicalId":54555,"journal":{"name":"Programming and Computer Software","volume":"23 1","pages":""},"PeriodicalIF":0.7,"publicationDate":"2024-05-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141153117","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Software Implementation of an Algorithm for Automatic Detection of Lineaments and Their Properties in Open-Pit Dumps 露天采场线状物及其特性自动检测算法的软件实现
IF 0.7 4区 计算机科学 Q4 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2024-05-22 DOI: 10.1134/s0361768824010080
S. E. Popov, V. P. Potapov, R. Y. Zamaraev

Abstract

This paper presents an algorithm and description of its software implementation for detection of lineaments (ground erosions or cracks) in aerial images of open pits. The proposed approach is based on the apparatus of convolutional neural networks for semantic classification of binarized images of lineament objects, as well as graph theory for determining the geometric location of linearized lineament objects with subsequent calculation of their lengths and areas. As source data, three-channel RGB images of high-resolution aerial photography (10×10 cm) are used. The software module of the model is logically divided into three levels: preprocessing, detection, and post-processing. The first level implements the preprocessing of input data to form a training sample based on successive transformations of RGB images into binary images by using the OpenCV library. A neural network of the U-Net type, which includes convolutional (Encoder) and scanning (Decoder) blocks, represents the second level of the information model. At this level, automatic detection of objects is implemented. The third level of the model is responsible for calculating their areas and lengths. The result provided by the convolutional neural network is passed to it as input data. The lineament area is calculated by summing the total number of points and multiplying by the pixel size. The lineament length is calculated by linearizing the areal object into a segmented object with node pixels and, then, calculating the lengths between them while taking into account the resolution of the source image. The software module can work with fragments of the source image by combining them. The module is implemented in Python and its source code is available at https://gitlab.ict.sbras.ru/popov/lineaments/-/tree/master/lineaments-cnn.

摘要 本文介绍了一种在露天坑航拍图像中检测线状物(地面侵蚀或裂缝)的算法及其软件实施说明。所提出的方法基于卷积神经网络装置,用于对线状物体的二值化图像进行语义分类,并基于图论确定线状物体的几何位置,然后计算其长度和面积。源数据采用高分辨率航空摄影(10×10 厘米)的三通道 RGB 图像。该模型的软件模块在逻辑上分为三个层次:预处理、检测和后处理。第一层是对输入数据进行预处理,在使用 OpenCV 库将 RGB 图像连续变换为二值图像的基础上形成训练样本。U-Net 类型的神经网络包括卷积(编码器)和扫描(解码器)模块,代表了信息模型的第二层。在这个层次上,实现了物体的自动检测。模型的第三层负责计算物体的面积和长度。卷积神经网络提供的结果作为输入数据传递给它。线状物面积的计算方法是将点的总数相加,再乘以像素大小。线状线长度的计算方法是,将面积对象线性化为具有节点像素的分割对象,然后计算它们之间的长度,同时考虑到源图像的分辨率。该软件模块可以通过组合源图像的片段来工作。该模块用 Python 实现,其源代码可从 https://gitlab.ict.sbras.ru/popov/lineaments/-/tree/master/lineaments-cnn 上获取。
{"title":"Software Implementation of an Algorithm for Automatic Detection of Lineaments and Their Properties in Open-Pit Dumps","authors":"S. E. Popov, V. P. Potapov, R. Y. Zamaraev","doi":"10.1134/s0361768824010080","DOIUrl":"https://doi.org/10.1134/s0361768824010080","url":null,"abstract":"<h3 data-test=\"abstract-sub-heading\">Abstract</h3><p>This paper presents an algorithm and description of its software implementation for detection of lineaments (ground erosions or cracks) in aerial images of open pits. The proposed approach is based on the apparatus of convolutional neural networks for semantic classification of binarized images of lineament objects, as well as graph theory for determining the geometric location of linearized lineament objects with subsequent calculation of their lengths and areas. As source data, three-channel RGB images of high-resolution aerial photography (10×10 cm) are used. The software module of the model is logically divided into three levels: preprocessing, detection, and post-processing. The first level implements the preprocessing of input data to form a training sample based on successive transformations of RGB images into binary images by using the OpenCV library. A neural network of the U-Net type, which includes convolutional (Encoder) and scanning (Decoder) blocks, represents the second level of the information model. At this level, automatic detection of objects is implemented. The third level of the model is responsible for calculating their areas and lengths. The result provided by the convolutional neural network is passed to it as input data. The lineament area is calculated by summing the total number of points and multiplying by the pixel size. The lineament length is calculated by linearizing the areal object into a segmented object with node pixels and, then, calculating the lengths between them while taking into account the resolution of the source image. The software module can work with fragments of the source image by combining them. The module is implemented in Python and its source code is available at https://gitlab.ict.sbras.ru/popov/lineaments/-/tree/master/lineaments-cnn.</p>","PeriodicalId":54555,"journal":{"name":"Programming and Computer Software","volume":"42 1","pages":""},"PeriodicalIF":0.7,"publicationDate":"2024-05-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141153246","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Symbolic Studies of Maxwell’s Equations in Space-Time Algebra Formalism 时空代数形式主义下麦克斯韦方程的符号研究
IF 0.7 4区 计算机科学 Q4 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2024-05-22 DOI: 10.1134/s0361768824020087
A. V. Korol’kova, M. N. Gevorkyan, A. V. Fedorov, K. A. Shtepa, D. S. Kulyabov

Abstract

Different implementations of Clifford algebra: spinors, quaternions, and geometric algebra, are used to describe physical and technical systems. The geometric algebra formalism is a relatively new approach, destined to be used primarily by engineers and applied researchers. In a number of works, the authors examined the implementation of the geometric algebra formalism for computer algebra systems. In this article, the authors extend elliptic geometric algebra to hyperbolic space-time algebra. The results are illustrated by different representations of Maxwell’s equations. Using a computer algebra system, Maxwell’s vacuum equations in the space-time algebra representation are converted to Maxwell’s equations in vector formalism. In addition to practical application, the authors would like to draw attention to the didactic significance of these studies.

摘要克利福德代数的不同实现:旋量、四元数和几何代数,被用来描述物理和技术系统。几何代数形式是一种相对较新的方法,主要用于工程师和应用研究人员。在一些著作中,作者研究了几何代数形式主义在计算机代数系统中的应用。在本文中,作者将椭圆几何代数扩展到双曲时空代数。结果通过麦克斯韦方程组的不同表示法加以说明。利用计算机代数系统,将时空代数表示法中的麦克斯韦真空方程转换为向量形式主义中的麦克斯韦方程。除了实际应用之外,作者还希望提请注意这些研究的教学意义。
{"title":"Symbolic Studies of Maxwell’s Equations in Space-Time Algebra Formalism","authors":"A. V. Korol’kova, M. N. Gevorkyan, A. V. Fedorov, K. A. Shtepa, D. S. Kulyabov","doi":"10.1134/s0361768824020087","DOIUrl":"https://doi.org/10.1134/s0361768824020087","url":null,"abstract":"<h3 data-test=\"abstract-sub-heading\">Abstract</h3><p>Different implementations of Clifford algebra: spinors, quaternions, and geometric algebra, are used to describe physical and technical systems. The geometric algebra formalism is a relatively new approach, destined to be used primarily by engineers and applied researchers. In a number of works, the authors examined the implementation of the geometric algebra formalism for computer algebra systems. In this article, the authors extend elliptic geometric algebra to hyperbolic space-time algebra. The results are illustrated by different representations of Maxwell’s equations. Using a computer algebra system, Maxwell’s vacuum equations in the space-time algebra representation are converted to Maxwell’s equations in vector formalism. In addition to practical application, the authors would like to draw attention to the didactic significance of these studies.</p>","PeriodicalId":54555,"journal":{"name":"Programming and Computer Software","volume":"1 1","pages":""},"PeriodicalIF":0.7,"publicationDate":"2024-05-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141153263","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
On Linear Cellular Automata 论线性蜂窝自动机
IF 0.7 4区 计算机科学 Q4 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2024-05-22 DOI: 10.1134/s0361768824010067
V. R. Kulikov, A. A. Kytmanov, A. O. Poroshin, I. V. Timofeev, D. P. Fedchenko

Abstract

wolfram cellular automata are considered and their operation is demonstrated using an example of traffic flow simulation. For the class of one-dimensional elementary cellular automata, the concept of linearity is introduced in the language of Zhegalkin operators. An algorithm for finding linear Zhegalkin operators with multipliers of three variables is presented. The algorithm is implemented in Python.

摘要 研究了沃尔夫拉姆蜂窝自动机,并以交通流模拟为例演示了它们的运行。针对一维基本蜂窝自动机类,在哲加金算子语言中引入了线性概念。介绍了一种查找具有三个变量乘数的线性哲加金算子的算法。该算法用 Python 实现。
{"title":"On Linear Cellular Automata","authors":"V. R. Kulikov, A. A. Kytmanov, A. O. Poroshin, I. V. Timofeev, D. P. Fedchenko","doi":"10.1134/s0361768824010067","DOIUrl":"https://doi.org/10.1134/s0361768824010067","url":null,"abstract":"<h3 data-test=\"abstract-sub-heading\">Abstract</h3><p>wolfram cellular automata are considered and their operation is demonstrated using an example of traffic flow simulation. For the class of one-dimensional elementary cellular automata, the concept of linearity is introduced in the language of Zhegalkin operators. An algorithm for finding linear Zhegalkin operators with multipliers of three variables is presented. The algorithm is implemented in Python.</p>","PeriodicalId":54555,"journal":{"name":"Programming and Computer Software","volume":"120 1","pages":""},"PeriodicalIF":0.7,"publicationDate":"2024-05-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141153119","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
期刊
Programming and Computer Software
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1