Exprimental feature auto lens distortion correction, on behalf of Guokai; see issue #576

This commit is contained in:
Oliver Duis
2011-03-12 18:45:44 +01:00
parent aded66851e
commit 751dbfd408
38 changed files with 5463 additions and 7 deletions

32
rtengine/klt/convolve.h Normal file
View File

@@ -0,0 +1,32 @@
/*********************************************************************
* convolve.h
*********************************************************************/
#ifndef _CONVOLVE_H_
#define _CONVOLVE_H_
#include "klt.h"
#include "klt_util.h"
void _KLTToFloatImage(
KLT_PixelType *img,
int ncols, int nrows,
_KLT_FloatImage floatimg);
void _KLTComputeGradients(
_KLT_FloatImage img,
float sigma,
_KLT_FloatImage gradx,
_KLT_FloatImage grady);
void _KLTGetKernelWidths(
float sigma,
int *gauss_width,
int *gaussderiv_width);
void _KLTComputeSmoothedImage(
_KLT_FloatImage img,
float sigma,
_KLT_FloatImage smooth);
#endif