Linear Methods for Image Interpolation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
linterp.h
Go to the documentation of this file.
1 
16 #ifndef _LINTERP_H_
17 #define _LINTERP_H_
18 
19 typedef enum
20 {
25 
26 int LinScale2d(float *Dest, int DestWidth, float XStart, float XStep,
27  int DestHeight, float YStart, float YStep,
28  const float *Src, int SrcWidth, int SrcHeight, int NumChannels,
29  float (*Kernel)(float), float KernelRadius, int KernelNormalize,
30  boundaryhandling Boundary);
31 
32 int FourierScale2d(float *Dest, int DestWidth, float XStart,
33  int DestHeight, float YStart,
34  const float *Src, int SrcWidth, int SrcHeight, int NumChannels,
35  double PsfSigma, boundaryhandling Boundary);
36 
37 int LinInterp2d(float *Dest, const float *Src, int SrcWidth, int SrcHeight,
38  float *X, float *Y, int NumSamples,
39  float (*Kernel)(float), float KernelRadius, int KernelNormalize,
40  boundaryhandling Boundary);
41 
42 int MakeScaleRotationGrid(float **X, float **Y, int *GridWidth,
43  int *GridHeight, int SrcWidth, int SrcHeight, float Scale, float Theta);
44 
45 #include "lprefilt.h"
46 #include "lkernels.h"
47 
48 #endif /* _LINTERP_H_ */