Image Interpolation with Contour Stencils
|
00001 00016 #ifndef _CWINTERP_H_ 00017 #define _CWINTERP_H_ 00018 00019 #include "basic.h" 00020 00022 typedef struct 00023 { 00025 double ScaleFactor; 00026 int CenteredGrid; 00028 int RefinementSteps; 00030 double PsfSigma; 00032 double PhiSigmaTangent; 00034 double PhiSigmaNormal; 00035 } cwparams; 00036 00037 00038 int32_t *PreCWInterp(cwparams Param); 00039 00040 int CWInterp(uint32_t *Output, const uint32_t *Input, 00041 int InputWidth, int InputHeight, const int32_t *Psi, cwparams Param); 00042 00043 int CWInterpEx(uint32_t *Output, int OutputWidth, int OutputHeight, 00044 const uint32_t *Input, int InputWidth, int InputHeight, 00045 const int32_t *Psi, cwparams Param); 00046 00047 int DisplayContours(uint32_t *Output, int OutputWidth, int OutputHeight, 00048 uint32_t *Input, int InputWidth, int InputHeight, cwparams Param); 00049 00050 #endif /* _CWINTERP_H_ */