Exact Two-Dimensional Integration inside Quadrilateral Boundaries

J. Tumblin
{"title":"Exact Two-Dimensional Integration inside Quadrilateral Boundaries","authors":"J. Tumblin","doi":"10.1080/2151237X.2006.10129212","DOIUrl":null,"url":null,"abstract":"This paper shows how shift, add, scale, and multiply operations on a few small matrices can compute the integral of any 2D polynomial ƒ(x, y) within any specified quadrilateral boundaries, including nonconvex chevrons, bow-ties, and triangles. For applications such as antialiased rendering, compositing, anisotropic texture filtering, and high-contrast imagery, such quad-bounded integrals are usually approximated by sampling or dicing into small fragments, but the method presented here is exact. It may be suitable for hardware implementation, but is practical only for low-degree polynomials (e.g., N,M < 5) due to machine-precision limits and high cost O(N 3 M 3). Sample C++ source code is provided online. Extending the same method to tensors may be useful for higher-dimensional polynomials within a limited class of curved boundaries as well.","PeriodicalId":318334,"journal":{"name":"Journal of Graphics Tools","volume":"84 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2006-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Graphics Tools","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1080/2151237X.2006.10129212","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

This paper shows how shift, add, scale, and multiply operations on a few small matrices can compute the integral of any 2D polynomial ƒ(x, y) within any specified quadrilateral boundaries, including nonconvex chevrons, bow-ties, and triangles. For applications such as antialiased rendering, compositing, anisotropic texture filtering, and high-contrast imagery, such quad-bounded integrals are usually approximated by sampling or dicing into small fragments, but the method presented here is exact. It may be suitable for hardware implementation, but is practical only for low-degree polynomials (e.g., N,M < 5) due to machine-precision limits and high cost O(N 3 M 3). Sample C++ source code is provided online. Extending the same method to tensors may be useful for higher-dimensional polynomials within a limited class of curved boundaries as well.
四边形边界内的精确二维积分
本文展示了在几个小矩阵上的移位、加法、缩放和乘法运算如何在任意指定的四边形边界内计算任意二维多项式f (x, y)的积分,包括非凸线形、领结和三角形。对于诸如抗锯齿渲染、合成、各向异性纹理滤波和高对比度图像等应用,这种四界积分通常通过采样或切分成小块来近似,但这里提出的方法是精确的。它可能适合硬件实现,但由于机器精度限制和高成本O(n3m3),它仅适用于低次多项式(例如,N,M < 5)。在线提供了示例c++源代码。将同样的方法推广到张量上,对于有限弯曲边界内的高维多项式也可能有用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信