Image Interpolation with Geometric Contour Stencils
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
sinterp.h
Go to the documentation of this file.
1
16
#ifndef _SINTERP_H_
17
#define _SINTERP_H_
18
19
#include "
sset.h
"
20
21
22
/* sinterp is encapsulated by forward declaration */
23
typedef
struct
sinterpstruct
sinterp
;
24
25
26
sinterp
*
NewSInterp
(
const
sset
*
StencilSet
,
27
float
RhoSigmaTangent
,
float
RhoSigmaNormal
);
28
29
void
FreeSInterp
(
sinterp
*SInterp);
30
31
float
*
ComputeRhoSamples
(
const
sinterp
*SInterp,
32
int
ScaleFactor,
int
CenteredGrid);
33
34
int
Prefilter
(
float
*Filtered,
35
const
int
*Stencil,
const
float
*RhoSamples,
36
const
float
*Input,
int
InputWidth,
int
InputHeight,
37
int
ScaleFactor,
int
CenteredGrid,
float
PsfSigma,
int
NumPasses);
38
39
float
DeconvResidual
(
float
*Residual,
40
const
float
*Coarse,
int
CoarseWidth,
int
CoarseHeight,
41
const
float
*Interp,
int
InterpWidth,
int
InterpHeight,
42
float
ScaleFactor,
int
CenteredGrid,
float
PsfSigma);
43
44
void
IntegerScalePass
(
float
*Output,
45
const
int
*Stencil,
const
float
*RhoSamples,
46
const
float
*Input,
int
InputWidth,
int
InputHeight,
47
int
ScaleFactor,
int
CenteredGrid);
48
49
int
ArbitraryScale
(
float
*Output,
int
OutputWidth,
int
OutputHeight,
50
const
int
*Stencil,
const
sinterp
*SInterp,
51
const
float
*Input,
int
InputWidth,
int
InputHeight,
52
float
ScaleFactor,
int
CenteredGrid);
53
54
#endif
/* _SINTERP_H_ */
Generated on Fri Jul 5 2013 19:14:14 for Image Interpolation with Geometric Contour Stencils by
1.8.3.1