首页 > 最新文献

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
Fuzzy Measure on p-Adic Balls Defined on a Finite Number Set 定义在有限数集上的 p-Adic 球的模糊度量
IF 0.7 4区 计算机科学 Q4 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2024-05-22 DOI: 10.1134/s036176882401002x
V. P. Bocharnikov, S. V. Sveshnikov

Abstract

An approach to constructing a fuzzy measure on p-adic balls is considered that does not require the measure density to be directly specified. Relationships for determining this measure for an arbitrary subset of a bounded number set represented as a set of p-adic balls have been proven. Uniform and nonuniform fuzzy measures are considered. An algorithm for determining a fuzzy measure on p-adic balls is proposed. Examples of calculating this measure are given.

摘要 本文考虑了一种构建 p-adic 球上模糊度量的方法,这种方法不需要直接指定度量密度。已经证明了为用 p-adic 球集表示的有界数集的任意子集确定该度量的关系。考虑了均匀和非均匀模糊度量。提出了一种确定 p-adic 球上模糊度量的算法。给出了计算该度量的示例。
{"title":"Fuzzy Measure on p-Adic Balls Defined on a Finite Number Set","authors":"V. P. Bocharnikov, S. V. Sveshnikov","doi":"10.1134/s036176882401002x","DOIUrl":"https://doi.org/10.1134/s036176882401002x","url":null,"abstract":"<h3 data-test=\"abstract-sub-heading\">Abstract</h3><p>An approach to constructing a fuzzy measure on <i>p</i>-adic balls is considered that does not require the measure density to be directly specified. Relationships for determining this measure for an arbitrary subset of a bounded number set represented as a set of <i>p</i>-adic balls have been proven. Uniform and nonuniform fuzzy measures are considered. An algorithm for determining a fuzzy measure on <i>p</i>-adic balls is proposed. Examples of calculating this measure are given.</p>","PeriodicalId":54555,"journal":{"name":"Programming and Computer Software","volume":"13 1","pages":""},"PeriodicalIF":0.7,"publicationDate":"2024-05-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141153078","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
An Extendable Essay on the Sage Computer Algebra System and an Editor for Creating Extendable Essays 关于贤者计算机代数系统的可扩展论文和创建可扩展论文的编辑器
IF 0.7 4区 计算机科学 Q4 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2024-05-22 DOI: 10.1134/s0361768824020038
E. A. Bordachenkova, V. N. Zubareva, A. A. Panferov

Abstract

An extendable essay is a special format of electronic texts that is more convenient for reading than hypertext. To facilitate the creation and editing of extendable essays, an editor program implemented as a web application is proposed. Using this editor, an extendable essay on the Sage computer algebra system is written. Sage seems to be a good choice for the users who are not familiar with computer algebra systems.

摘要 可扩展论文是一种特殊的电子文本格式,比超文本更便于阅读。为了方便可扩展论文的创建和编辑,本文提出了一个以网络应用程序形式实现的编辑程序。利用该编辑器,我们编写了一篇关于 Sage 计算机代数系统的可扩展论文。对于不熟悉计算机代数系统的用户来说,Sage 似乎是一个不错的选择。
{"title":"An Extendable Essay on the Sage Computer Algebra System and an Editor for Creating Extendable Essays","authors":"E. A. Bordachenkova, V. N. Zubareva, A. A. Panferov","doi":"10.1134/s0361768824020038","DOIUrl":"https://doi.org/10.1134/s0361768824020038","url":null,"abstract":"<h3 data-test=\"abstract-sub-heading\">Abstract</h3><p>An extendable essay is a special format of electronic texts that is more convenient for reading than hypertext. To facilitate the creation and editing of extendable essays, an editor program implemented as a web application is proposed. Using this editor, an extendable essay on the Sage computer algebra system is written. Sage seems to be a good choice for the users who are not familiar with computer algebra systems.</p>","PeriodicalId":54555,"journal":{"name":"Programming and Computer Software","volume":"56 1","pages":""},"PeriodicalIF":0.7,"publicationDate":"2024-05-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141153086","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学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1