Math operations for IP algorithms. More...
Functions | |
| double | lanczos (double x, std::ptrdiff_t a) |
| Lanczos response at point xLanczos response is defined as: x == 0: 1 -a < x && x < a: 0 otherwise: normalized_sinc(x) / normalized_sinc(x / a) | |
Math operations for IP algorithms.
This is mostly handful of mathemtical operations that are required by other image processing algorithms
Normalized cardinal sine
normalized_sinc(x) = sin(pi * x) / (pi * x)