Optimal Piecewise Linear Function Approximation for GPU-based Applications

10/10/2015
by   Daniel Berjón, et al.
0

Many computer vision and human-computer interaction applications developed in recent years need evaluating complex and continuous mathematical functions as an essential step toward proper operation. However, rigorous evaluation of this kind of functions often implies a very high computational cost, unacceptable in real-time applications. To alleviate this problem, functions are commonly approximated by simpler piecewise-polynomial representations. Following this idea, we propose a novel, efficient, and practical technique to evaluate complex and continuous functions using a nearly optimal design of two types of piecewise linear approximations in the case of a large budget of evaluation subintervals. To this end, we develop a thorough error analysis that yields asymptotically tight bounds to accurately quantify the approximation performance of both representations. It provides an improvement upon previous error estimates and allows the user to control the trade-off between the approximation error and the number of evaluation subintervals. To guarantee real-time operation, the method is suitable for, but not limited to, an efficient implementation in modern Graphics Processing Units (GPUs), where it outperforms previous alternative approaches by exploiting the fixed-function interpolation routines present in their texture units. The proposed technique is a perfect match for any application requiring the evaluation of continuous functions, we have measured in detail its quality and efficiency on several functions, and, in particular, the Gaussian function because it is extensively used in many areas of computer vision and cybernetics, and it is expensive to evaluate.

READ FULL TEXT

page 1

page 8

research
10/23/2019

Adaptive Padé-Chebyshev Type Approximation to Piecewise Smooth Functions

The aim of this article is to study the role of piecewise implementation...
research
10/10/2019

Implementing evaluation strategies for continuous real functions

We give a technical overview of our exact-real implementation of various...
research
07/30/2020

On Representing (Anti)Symmetric Functions

Permutation-invariant, -equivariant, and -covariant functions and anti-s...
research
02/06/2023

Moving Least Squares Approximation using Variably Scaled Discontinuous Weight Function

Functions with discontinuities appear in many applications such as image...
research
10/10/2017

Representations and evaluation strategies for feasibly approximable functions

A famous result due to Ko and Friedman (1982) asserts that the problems ...
research
05/22/2020

More on zeros and approximation of the Ising partition function

We consider the problem of computing ∑_x e^f(x), where f(x)=∑_ij a_ijξ_i...
research
10/19/2005

First-Order Modeling and Stability Analysis of Illusory Contours

In visual cognition, illusions help elucidate certain intriguing latent ...

Please sign up or login with your details

Forgot password? Click here to reset