33 lines
649 B
C
33 lines
649 B
C
/*********************************************************************
|
|
* 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
|