|
Linear Methods for Image Interpolation
|
Interpolation kernel and basis functions for linear interpolation. More...

Go to the source code of this file.
Defines | |
| #define | M_PI 3.14159265358979323846264338327950288 |
| The constant pi. | |
| #define | NUMEL(x) (sizeof(x)/sizeof(*(x))) |
| Macro to get the number of elements in a static array. | |
Functions | |
| float | NearestNeighborKernel (float x) |
| Bilinear interpolation kernel (KernelRadius = 0.5) | |
| interpmethod * | GetInterpMethod (const char *Name) |
| Get the interpmethod struct for an interpolation method by name. | |
Interpolation kernel and basis functions for linear interpolation.
Copyright (c) 2010-2011, Pascal Getreuer All rights reserved.
This program is free software: you can use, modify and/or redistribute it under the terms of the simplified BSD License. You should have received a copy of this license along this program. If not, see <http://www.opensource.org/licenses/bsd-license.html>.
Definition in file lkernels.c.
| #define M_PI 3.14159265358979323846264338327950288 |
The constant pi.
Definition at line 22 of file lkernels.c.
| #define NUMEL | ( | x | ) | (sizeof(x)/sizeof(*(x))) |
Macro to get the number of elements in a static array.
Definition at line 26 of file lkernels.c.
| interpmethod* GetInterpMethod | ( | const char * | Name | ) |
Get the interpmethod struct for an interpolation method by name.
| Name | name of the interpolation method |
Choices are
Definition at line 492 of file lkernels.c.

| float NearestNeighborKernel | ( | float | x | ) |
Bilinear interpolation kernel (KernelRadius = 0.5)
| x | coordinate at which to evaluate the kernel |
Definition at line 34 of file lkernels.c.
1.7.4