123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
-
-
- #ifndef __EDTAA3FUNC_H__
- #define __EDTAA3FUNC_H__
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include <math.h>
- void computegradient(double *img, int w, int h, double *gx, double *gy)
- double edgedf(double gx, double gy, double a)
- double distaa3(double *img, double *gximg, double *gyimg, int w, int c, int xc, int yc, int xi, int yi)
- #define DISTAA(c,xc,yc,xi,yi) (distaa3(img, gx, gy, w, c, xc, yc, xi, yi))
- void edtaa3(double *img, double *gx, double *gy, int w, int h, short *distx, short *disty, double *dist)
- #ifdef __cplusplus
- }
- #endif
- #endif
|