// /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/cc1plus -quiet -I. -I. -I../.. -I. -I../include -I../.. -MD cvfundam.d -MF .deps/cvfundam.TPlo -MP -MT cvfundam.lo -MQ cvfundam.lo -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=2 -D_GNU_SOURCE -DHAVE_CONFIG_H -DNDEBUG -DPIC cvfundam.cpp -D__GNUG__=3 -quiet -dumpbase cvfundam.cpp -mcpu=i686 -march=i686 -auxbase-strip cvfundam.lo -g -O3 -Wall -ffast-math -fomit-frame-pointer -fno-rtti -fPIC -o - # 1 "cvfundam.cpp" # 1 "" # 1 "" # 1 "cvfundam.cpp" # 41 "cvfundam.cpp" # 1 "_cv.h" 1 # 50 "_cv.h" typedef unsigned char uchar; typedef unsigned short ushort; typedef unsigned long ulong; # 79 "_cv.h" # 1 "../include/cv.h" 1 # 73 "../include/cv.h" # 1 "../include/cvtypes.h" 1 # 45 "../include/cvtypes.h" # 1 "/usr/include/assert.h" 1 3 4 # 36 "/usr/include/assert.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 295 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 296 "/usr/include/features.h" 2 3 4 # 318 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 319 "/usr/include/features.h" 2 3 4 # 37 "/usr/include/assert.h" 2 3 4 # 46 "../include/cvtypes.h" 2 # 1 "/usr/include/stdlib.h" 1 3 4 # 33 "/usr/include/stdlib.h" 3 4 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/stddef.h" 3 4 typedef unsigned int size_t; # 34 "/usr/include/stdlib.h" 2 3 4 extern "C" { # 1 "/usr/include/bits/waitflags.h" 1 3 4 # 43 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/bits/waitstatus.h" 1 3 4 # 63 "/usr/include/bits/waitstatus.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 64 "/usr/include/bits/waitstatus.h" 2 3 4 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; } __wait_stopped; }; # 44 "/usr/include/stdlib.h" 2 3 4 # 93 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 137 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) throw (); extern double atof (__const char *__nptr) throw () __attribute__ ((__pure__)); extern int atoi (__const char *__nptr) throw () __attribute__ ((__pure__)); extern long int atol (__const char *__nptr) throw () __attribute__ ((__pure__)); __extension__ extern long long int atoll (__const char *__nptr) throw () __attribute__ ((__pure__)); extern double strtod (__const char *__restrict __nptr, char **__restrict __endptr) throw (); extern float strtof (__const char *__restrict __nptr, char **__restrict __endptr) throw (); extern long double strtold (__const char *__restrict __nptr, char **__restrict __endptr) throw (); extern long int strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw (); extern unsigned long int strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw (); __extension__ extern long long int strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw (); __extension__ extern unsigned long long int strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw (); __extension__ extern long long int strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw (); __extension__ extern unsigned long long int strtoull (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw (); # 225 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/xlocale.h" 1 3 4 # 28 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; # 226 "/usr/include/stdlib.h" 2 3 4 extern long int strtol_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw (); extern unsigned long int strtoul_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw (); __extension__ extern long long int strtoll_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw (); __extension__ extern unsigned long long int strtoull_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw (); extern double strtod_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw (); extern float strtof_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw (); extern long double strtold_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw (); extern double __strtod_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group) throw (); extern float __strtof_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group) throw (); extern long double __strtold_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group) throw (); extern long int __strtol_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group) throw (); extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group) throw (); __extension__ extern long long int __strtoll_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group) throw (); __extension__ extern unsigned long long int __strtoull_internal (__const char * __restrict __nptr, char **__restrict __endptr, int __base, int __group) throw (); extern __inline double strtod (__const char *__restrict __nptr, char **__restrict __endptr) throw () { return __strtod_internal (__nptr, __endptr, 0); } extern __inline long int strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () { return __strtol_internal (__nptr, __endptr, __base, 0); } extern __inline unsigned long int strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () { return __strtoul_internal (__nptr, __endptr, __base, 0); } extern __inline float strtof (__const char *__restrict __nptr, char **__restrict __endptr) throw () { return __strtof_internal (__nptr, __endptr, 0); } extern __inline long double strtold (__const char *__restrict __nptr, char **__restrict __endptr) throw () { return __strtold_internal (__nptr, __endptr, 0); } __extension__ extern __inline long long int strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () { return __strtoll_internal (__nptr, __endptr, __base, 0); } __extension__ extern __inline unsigned long long int strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () { return __strtoull_internal (__nptr, __endptr, __base, 0); } __extension__ extern __inline long long int strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () { return __strtoll_internal (__nptr, __endptr, __base, 0); } __extension__ extern __inline unsigned long long int strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base) throw () { return __strtoull_internal (__nptr, __endptr, __base, 0); } extern __inline double atof (__const char *__nptr) throw () { return strtod (__nptr, (char **) __null); } extern __inline int atoi (__const char *__nptr) throw () { return (int) strtol (__nptr, (char **) __null, 10); } extern __inline long int atol (__const char *__nptr) throw () { return strtol (__nptr, (char **) __null, 10); } __extension__ extern __inline long long int atoll (__const char *__nptr) throw () { return strtoll (__nptr, (char **) __null, 10); } # 408 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) throw (); extern long int a64l (__const char *__s) throw () __attribute__ ((__pure__)); # 1 "/usr/include/sys/types.h" 1 3 4 # 29 "/usr/include/sys/types.h" 3 4 extern "C" { # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/stddef.h" 1 3 4 # 32 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 129 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 130 "/usr/include/bits/types.h" 2 3 4 __extension__ typedef unsigned long long int __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef unsigned long long int __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef long long int __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef unsigned long long int __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef long int __swblk_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef int __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef long long int __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef unsigned long long int __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef unsigned long long int __fsfilcnt64_t; __extension__ typedef int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 32 "/usr/include/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; typedef __ino64_t ino64_t; typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; typedef __off64_t off64_t; typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 58 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 typedef __useconds_t useconds_t; typedef __suseconds_t suseconds_t; # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/stddef.h" 1 3 4 # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 191 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 216 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 23 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 118 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 # 55 "/usr/include/sys/select.h" 3 4 typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 extern "C" { # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); } # 217 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 29 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) throw (); __extension__ extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) throw (); __extension__ extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw (); __extension__ extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) throw () { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) throw () { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 220 "/usr/include/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 258 "/usr/include/sys/types.h" 3 4 typedef __blkcnt64_t blkcnt64_t; typedef __fsblkcnt64_t fsblkcnt64_t; typedef __fsfilcnt64_t fsfilcnt64_t; # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/sched.h" 1 3 4 # 83 "/usr/include/bits/sched.h" 3 4 struct __sched_param { int __sched_priority; }; # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 struct _pthread_fastlock { long int __status; int __spinlock; }; typedef struct _pthread_descr_struct *_pthread_descr; typedef struct __pthread_attr_s { int __detachstate; int __schedpolicy; struct __sched_param __schedparam; int __inheritsched; int __scope; size_t __guardsize; int __stackaddr_set; void *__stackaddr; size_t __stacksize; } pthread_attr_t; __extension__ typedef long long __pthread_cond_align_t; typedef struct { struct _pthread_fastlock __c_lock; _pthread_descr __c_waiting; char __padding[48 - sizeof (struct _pthread_fastlock) - sizeof (_pthread_descr) - sizeof (__pthread_cond_align_t)]; __pthread_cond_align_t __align; } pthread_cond_t; typedef struct { int __dummy; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef struct { int __m_reserved; int __m_count; _pthread_descr __m_owner; int __m_kind; struct _pthread_fastlock __m_lock; } pthread_mutex_t; typedef struct { int __mutexkind; } pthread_mutexattr_t; typedef int pthread_once_t; typedef struct _pthread_rwlock_t { struct _pthread_fastlock __rw_lock; int __rw_readers; _pthread_descr __rw_writer; _pthread_descr __rw_read_waiting; _pthread_descr __rw_write_waiting; int __rw_kind; int __rw_pshared; } pthread_rwlock_t; typedef struct { int __lockkind; int __pshared; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef struct { struct _pthread_fastlock __ba_lock; int __ba_required; int __ba_present; _pthread_descr __ba_waiting; } pthread_barrier_t; typedef struct { int __pshared; } pthread_barrierattr_t; typedef unsigned long int pthread_t; # 267 "/usr/include/sys/types.h" 2 3 4 } # 417 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) throw (); extern void srandom (unsigned int __seed) throw (); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) throw (); extern char *setstate (char *__statebuf) throw (); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) throw (); extern int srandom_r (unsigned int __seed, struct random_data *__buf) throw (); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) throw (); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) throw (); extern int rand (void) throw (); extern void srand (unsigned int __seed) throw (); extern int rand_r (unsigned int *__seed) throw (); extern double drand48 (void) throw (); extern double erand48 (unsigned short int __xsubi[3]) throw (); extern long int lrand48 (void) throw (); extern long int nrand48 (unsigned short int __xsubi[3]) throw (); extern long int mrand48 (void) throw (); extern long int jrand48 (unsigned short int __xsubi[3]) throw (); extern void srand48 (long int __seedval) throw (); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) throw (); extern void lcong48 (unsigned short int __param[7]) throw (); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) throw (); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) throw (); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw (); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw (); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw (); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw (); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) throw (); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) throw (); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) throw (); extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)); extern void *calloc (size_t __nmemb, size_t __size) throw () __attribute__ ((__malloc__)); extern void *realloc (void *__ptr, size_t __size) throw () __attribute__ ((__malloc__)); extern void free (void *__ptr) throw (); extern void cfree (void *__ptr) throw (); # 1 "/usr/include/alloca.h" 1 3 4 # 25 "/usr/include/alloca.h" 3 4 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/stddef.h" 1 3 4 # 26 "/usr/include/alloca.h" 2 3 4 extern "C" { extern void *alloca (size_t __size) throw (); } # 579 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)); extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) throw () __attribute__ ((__malloc__)); extern void abort (void) throw () __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) throw (); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) throw (); extern void exit (int __status) throw () __attribute__ ((__noreturn__)); extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); extern char *getenv (__const char *__name) throw (); extern char *__secure_getenv (__const char *__name) throw (); extern int putenv (char *__string) throw (); extern int setenv (__const char *__name, __const char *__value, int __replace) throw (); extern int unsetenv (__const char *__name) throw (); extern int clearenv (void) throw (); # 663 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) throw (); # 674 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template); # 683 "/usr/include/stdlib.h" 3 4 extern int mkstemp64 (char *__template); # 693 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) throw (); extern int system (__const char *__command); extern char *canonicalize_file_name (__const char *__name) throw (); # 720 "/usr/include/stdlib.h" 3 4 extern char *realpath (__const char *__restrict __name, char *__restrict __resolved) throw (); typedef int (*__compar_fn_t) (__const void *, __const void *); typedef __compar_fn_t comparison_fn_t; extern void *bsearch (__const void *__key, __const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar); extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar); extern int abs (int __x) throw () __attribute__ ((__const__)); extern long int labs (long int __x) throw () __attribute__ ((__const__)); __extension__ extern long long int llabs (long long int __x) throw () __attribute__ ((__const__)); extern div_t div (int __numer, int __denom) throw () __attribute__ ((__const__)); extern ldiv_t ldiv (long int __numer, long int __denom) throw () __attribute__ ((__const__)); __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) throw () __attribute__ ((__const__)); # 784 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw (); extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw (); extern char *gcvt (double __value, int __ndigit, char *__buf) throw (); extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw (); extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw (); extern char *qgcvt (long double __value, int __ndigit, char *__buf) throw (); extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw (); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw (); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw (); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw (); extern int mblen (__const char *__s, size_t __n) throw (); extern int mbtowc (wchar_t *__restrict __pwc, __const char *__restrict __s, size_t __n) throw (); extern int wctomb (char *__s, wchar_t __wchar) throw (); extern size_t mbstowcs (wchar_t *__restrict __pwcs, __const char *__restrict __s, size_t __n) throw (); extern size_t wcstombs (char *__restrict __s, __const wchar_t *__restrict __pwcs, size_t __n) throw (); extern int rpmatch (__const char *__response) throw (); # 866 "/usr/include/stdlib.h" 3 4 extern int getsubopt (char **__restrict __optionp, char *__const *__restrict __tokens, char **__restrict __valuep) throw (); extern void setkey (__const char *__key) throw (); extern int posix_openpt (int __oflag); extern int grantpt (int __fd) throw (); extern int unlockpt (int __fd) throw (); extern char *ptsname (int __fd) throw (); extern int ptsname_r (int __fd, char *__buf, size_t __buflen) throw (); extern int getpt (void); extern int getloadavg (double __loadavg[], int __nelem) throw (); } # 47 "../include/cvtypes.h" 2 # 98 "../include/cvtypes.h" typedef long long int64; typedef unsigned long long uint64; typedef unsigned char uchar; typedef void CvArr; # 149 "../include/cvtypes.h" typedef struct _IplImage { int nSize; int ID; int nChannels; int alphaChannel; int depth; char colorModel[4]; char channelSeq[4]; int dataOrder; int origin; int align; int width; int height; struct _IplROI *roi; struct _IplImage *maskROI; void *imageId; struct _IplTileInfo *tileInfo; int imageSize; char *imageData; int widthStep; int BorderMode[4]; int BorderConst[4]; char *imageDataOrigin; } IplImage; typedef struct _IplTileInfo IplTileInfo; typedef struct _IplROI { int coi; int xOffset; int yOffset; int width; int height; } IplROI; typedef struct _IplConvKernel { int nCols; int nRows; int anchorX; int anchorY; int *values; int nShiftR; } IplConvKernel; typedef struct _IplConvKernelFP { int nCols; int nRows; int anchorX; int anchorY; float *values; } IplConvKernelFP; # 306 "../include/cvtypes.h" typedef struct CvMat { int type; int step; int* refcount; union { uchar* ptr; short* s; int* i; float* fl; double* db; } data; union { int rows; int height; }; union { int cols; int width; }; } CvMat; # 373 "../include/cvtypes.h" inline CvMat cvMat( int rows, int cols, int type, void* data = __null); inline CvMat cvMat( int rows, int cols, int type, void* data ) { CvMat m; (static_cast (0)); type = ((type) & 31); m.type = 0x42420000 | (1 << 9) | type; m.cols = cols; m.rows = rows; m.step = m.cols*(((((type) & (3 << 3)) >> 3) + 1) << ((0xe90 >> ((type) & 7)*2) & 3)); m.data.ptr = (uchar*)data; m.refcount = __null; return m; } # 403 "../include/cvtypes.h" inline double cvmGet( const CvMat* mat, int i, int j ); inline double cvmGet( const CvMat* mat, int i, int j ) { int type; type = ((mat->type) & 31); (static_cast (0)); if( type == (4 + 0*8) ) return ((float*)(mat->data.ptr + (size_t)mat->step*i))[j]; else { (static_cast (0)); return ((double*)(mat->data.ptr + (size_t)mat->step*i))[j]; } } inline void cvmSet( CvMat* mat, int i, int j, double val ); inline void cvmSet( CvMat* mat, int i, int j, double val ) { int type; type = ((mat->type) & 31); (static_cast (0)); if( type == (4 + 0*8) ) ((float*)(mat->data.ptr + (size_t)mat->step*i))[j] = (float)val; else { (static_cast (0)); ((double*)(mat->data.ptr + (size_t)mat->step*i))[j] = (double)val; } } # 449 "../include/cvtypes.h" typedef struct CvMatND { int type; int dims; int* refcount; union { uchar* ptr; float* fl; double* db; int* i; short* s; } data; struct { int size; int step; } dim[16]; } CvMatND; # 486 "../include/cvtypes.h" struct CvSet; typedef struct CvSparseMat { int type; int dims; int* refcount; struct CvSet* heap; void** hashtable; int hashsize; int total; int valoffset; int idxoffset; int size[16]; } CvSparseMat; # 512 "../include/cvtypes.h" typedef struct CvSparseNode { unsigned hashval; struct CvSparseNode* next; } CvSparseNode; typedef struct CvSparseMatIterator { CvSparseMat* mat; CvSparseNode* node; int curidx; } CvSparseMatIterator; # 534 "../include/cvtypes.h" typedef int CvHistType; # 549 "../include/cvtypes.h" typedef struct CvHistogram { int type; CvArr* bins; float thresh[16][2]; float** thresh2; CvMatND mat; } CvHistogram; # 582 "../include/cvtypes.h" inline int cvRound( double val ); inline int cvRound( double val ) { double temp = val + 6755399441055744.0; return (int)*((uint64*)&temp); } inline int cvFloor( double val ); inline int cvFloor( double val ) { double temp = val + 6755399441055744.0; float diff = (float)(val - (int)*((uint64*)&temp)); return (int)*((uint64*)&temp) - (*(int*)&diff < 0); } inline int cvCeil( double val ); inline int cvCeil( double val ) { double temp = val + 6755399441055744.0; float diff = (float)((int)*((uint64*)&temp) - val); return (int)*((uint64*)&temp) + (*(int*)&diff < 0); } typedef struct CvRect { int x; int y; int width; int height; } CvRect; inline CvRect cvRect( int x, int y, int width, int height ); inline CvRect cvRect( int x, int y, int width, int height ) { CvRect r; r.x = x; r.y = y; r.width = width; r.height = height; return r; } inline IplROI cvRectToROI( CvRect rect, int coi = 0); inline IplROI cvRectToROI( CvRect rect, int coi ) { IplROI roi; roi.xOffset = rect.x; roi.yOffset = rect.y; roi.width = rect.width; roi.height = rect.height; roi.coi = coi; return roi; } inline CvRect cvROIToRect( IplROI roi ); inline CvRect cvROIToRect( IplROI roi ) { return cvRect( roi.xOffset, roi.yOffset, roi.width, roi.height ); } typedef struct CvTermCriteria { int type; int maxIter; double epsilon; } CvTermCriteria; inline CvTermCriteria cvTermCriteria( int type, int maxIter, double epsilon ); inline CvTermCriteria cvTermCriteria( int type, int maxIter, double epsilon ) { CvTermCriteria t; t.type = type; t.maxIter = maxIter; t.epsilon = (float)epsilon; return t; } typedef struct CvPoint { int x; int y; } CvPoint; inline CvPoint cvPoint( int x, int y ); inline CvPoint cvPoint( int x, int y ) { CvPoint p; p.x = x; p.y = y; return p; } typedef struct CvPoint2D32f { float x; float y; } CvPoint2D32f; inline CvPoint2D32f cvPoint2D32f( double x, double y ); inline CvPoint2D32f cvPoint2D32f( double x, double y ) { CvPoint2D32f p; p.x = (float)x; p.y = (float)y; return p; } inline CvPoint2D32f cvPointTo32f( CvPoint pt ); inline CvPoint2D32f cvPointTo32f( CvPoint pt ) { return cvPoint2D32f( (float)pt.x, (float)pt.y ); } inline CvPoint cvPointFrom32f( CvPoint2D32f pt ); inline CvPoint cvPointFrom32f( CvPoint2D32f pt ) { return cvPoint( cvRound(pt.x), cvRound(pt.y) ); } typedef struct CvPoint3D32f { float x; float y; float z; } CvPoint3D32f; inline CvPoint3D32f cvPoint3D32f( double x, double y, double z ); inline CvPoint3D32f cvPoint3D32f( double x, double y, double z ) { CvPoint3D32f p; p.x = (float)x; p.y = (float)y; p.z = (float)z; return p; } typedef struct CvPoint2D64d { double x; double y; } CvPoint2D64d; typedef struct CvPoint3D64d { double x; double y; double z; } CvPoint3D64d; typedef struct { int width; int height; } CvSize; inline CvSize cvSize( int width, int height ); inline CvSize cvSize( int width, int height ) { CvSize s; s.width = width; s.height = height; return s; } typedef struct CvSize2D32f { float width; float height; } CvSize2D32f; inline CvSize2D32f cvSize2D32f( double width, double height ); inline CvSize2D32f cvSize2D32f( double width, double height ) { CvSize2D32f s; s.width = (float)width; s.height = (float)height; return s; } typedef struct CvBox2D { CvPoint2D32f center; CvSize2D32f size; float angle; } CvBox2D; typedef struct CvSlice { int startIndex, endIndex; } CvSlice; inline CvSlice cvSlice( int start, int end ); inline CvSlice cvSlice( int start, int end ) { CvSlice slice; slice.startIndex = start; slice.endIndex = end; return slice; } typedef struct CvScalar { double val[4]; } CvScalar; inline CvScalar cvScalar( double a, double b = 0, double c = 0, double d = 0); inline CvScalar cvScalar( double a, double b, double c, double d ) { CvScalar scalar; scalar.val[0] = a; scalar.val[1] = b; scalar.val[2] = c; scalar.val[3] = d; return scalar; } inline CvScalar cvRealScalar( double a ); inline CvScalar cvRealScalar( double a ) { CvScalar scalar; scalar.val[0] = a; scalar.val[1] = scalar.val[2] = scalar.val[3] = 0; return scalar; } inline CvScalar cvScalarAll( double a ); inline CvScalar cvScalarAll( double a ) { CvScalar scalar; scalar.val[0] = scalar.val[1] = scalar.val[2] = scalar.val[3] = a; return scalar; } struct CvSeq; typedef struct CvConnectedComp { double area; double value; CvRect rect; struct CvSeq* contour; } CvConnectedComp; # 937 "../include/cvtypes.h" inline float cvInvSqrt( float arg ); inline float cvInvSqrt( float arg ) { float x, y; unsigned iarg = *((unsigned*)&arg); *((unsigned*)&x) = (0xbe6f0000 - iarg)>>1; y = arg*0.5f; x*= 1.5f - y*x*x; x*= 1.5f - y*x*x; return x; } inline float cvSqrt( float arg ); inline float cvSqrt( float arg ) { float x, y; unsigned iarg = *((unsigned*)&arg); *((unsigned*)&x) = (0xbe6f0000 - iarg)>>1; y = arg*0.5f; x*= 1.5f - y*x*x; x*= 1.5f - y*x*x; return x*arg; } typedef enum CvDisType { CV_DIST_USER = -1, CV_DIST_L1 = 1, CV_DIST_L2 = 2, CV_DIST_C = 3, CV_DIST_L12 = 4, CV_DIST_FAIR = 5, CV_DIST_WELSCH = 6, CV_DIST_HUBER = 7 } CvDisType; typedef enum CvFilter { CV_GAUSSIAN_5x5 = 7 } CvFilter; typedef struct CvMemBlock { struct CvMemBlock* prev; struct CvMemBlock* next; } CvMemBlock; typedef struct CvMemStorage { int signature; CvMemBlock* bottom; CvMemBlock* top; struct CvMemStorage* parent; int block_size; int free_space; } CvMemStorage; typedef struct CvMemStoragePos { CvMemBlock* top; int free_space; } CvMemStoragePos; typedef struct CvSeqBlock { struct CvSeqBlock* prev; struct CvSeqBlock* next; int start_index; int count; char* data; } CvSeqBlock; # 1066 "../include/cvtypes.h" typedef struct CvSeq { int flags; int header_size; struct CvSeq* h_prev; struct CvSeq* h_next; struct CvSeq* v_prev; struct CvSeq* v_next; int total; int elem_size; char* block_max; char* ptr; int delta_elems; CvMemStorage* storage; CvSeqBlock* free_blocks; CvSeqBlock* first; } CvSeq; # 1084 "../include/cvtypes.h" typedef struct CvSetElem { int flags; struct CvSetElem* next_free; } CvSetElem; typedef struct CvSet { int flags; int header_size; struct CvSeq* h_prev; struct CvSeq* h_next; struct CvSeq* v_prev; struct CvSeq* v_next; int total; int elem_size; char* block_max; char* ptr; int delta_elems; CvMemStorage* storage; CvSeqBlock* free_blocks; CvSeqBlock* first; CvSetElem* free_elems; } CvSet; # 1136 "../include/cvtypes.h" typedef struct CvGraphEdge { int flags; float weight; struct CvGraphEdge* next[2]; struct CvGraphVtx* vtx[2]; } CvGraphEdge; typedef struct CvGraphVtx { int flags; struct CvGraphEdge* first; } CvGraphVtx; typedef struct CvGraphVtx2D { int flags; struct CvGraphEdge* first; CvPoint2D32f* ptr; } CvGraphVtx2D; # 1163 "../include/cvtypes.h" typedef struct CvGraph { int flags; int header_size; struct CvSeq* h_prev; struct CvSeq* h_next; struct CvSeq* v_prev; struct CvSeq* v_next; int total; int elem_size; char* block_max; char* ptr; int delta_elems; CvMemStorage* storage; CvSeqBlock* free_blocks; CvSeqBlock* first; CvSetElem* free_elems; CvSet* edges; } CvGraph; typedef struct CvChain { int flags; int header_size; struct CvSeq* h_prev; struct CvSeq* h_next; struct CvSeq* v_prev; struct CvSeq* v_next; int total; int elem_size; char* block_max; char* ptr; int delta_elems; CvMemStorage* storage; CvSeqBlock* free_blocks; CvSeqBlock* first; CvPoint origin; } CvChain; typedef struct CvContour { int flags; int header_size; struct CvSeq* h_prev; struct CvSeq* h_next; struct CvSeq* v_prev; struct CvSeq* v_next; int total; int elem_size; char* block_max; char* ptr; int delta_elems; CvMemStorage* storage; CvSeqBlock* free_blocks; CvSeqBlock* first; CvRect rect; int color; int reserved[3]; } CvContour; typedef CvContour CvPoint2DSeq; # 1327 "../include/cvtypes.h" typedef struct CvSeqWriter { int header_size; CvSeq* seq; CvSeqBlock* block; char* ptr; char* block_min; char* block_max; int reserved[4]; } CvSeqWriter; # 1346 "../include/cvtypes.h" typedef struct CvSeqReader { int header_size; CvSeq* seq; CvSeqBlock* block; char* ptr; char* block_min; char* block_max; int delta_index; char* prev_elem; int reserved[4]; } CvSeqReader; # 1463 "../include/cvtypes.h" typedef struct { const char* file; int line; } CvStackRecord; typedef float* CvVect32f; typedef float* CvMatr32f; typedef double* CvVect64d; typedef double* CvMatr64d; typedef struct CvMatrix3 { float m[3][3]; } CvMatrix3; typedef enum CvStatus { CV_INPLACE_NOT_SUPPORTED_ERR= -112, CV_UNMATCHED_ROI_ERR = -111, CV_NOTFOUND_ERR = -110, CV_BADCONVERGENCE_ERR = -109, CV_BADDEPTH_ERR = -107, CV_BADROI_ERR = -106, CV_BADHEADER_ERR = -105, CV_UNMATCHED_FORMATS_ERR = -104, CV_UNSUPPORTED_COI_ERR = -103, CV_UNSUPPORTED_CHANNELS_ERR = -102, CV_UNSUPPORTED_DEPTH_ERR = -101, CV_UNSUPPORTED_FORMAT_ERR = -100, CV_BADARG_ERR = -49, CV_NOTDEFINED_ERR = -48, CV_BADCHANNELS_ERR = -47, CV_BADRANGE_ERR = -44, CV_BADSTEP_ERR = -29, CV_BADFLAG_ERR = -12, CV_DIV_BY_ZERO_ERR = -11, CV_BADCOEF_ERR = -10, CV_BADFACTOR_ERR = -7, CV_BADPOINT_ERR = -6, CV_BADSCALE_ERR = -4, CV_OUTOFMEM_ERR = -3, CV_NULLPTR_ERR = -2, CV_BADSIZE_ERR = -1, CV_NO_ERR = 0, CV_OK = CV_NO_ERR } CvStatus; # 74 "../include/cv.h" 2 # 1 "../include/cverror.h" 1 # 65 "../include/cverror.h" typedef int CVStatus; # 121 "../include/cverror.h" typedef int ( *CVErrorCallBack) (CVStatus status, const char *func, const char *context, const char *file,int line); # 75 "../include/cv.h" 2 extern "C" { # 88 "../include/cv.h" extern "C" void* cvAlloc( size_t size ); extern "C" void cvFree( void** ptr ); extern "C" IplImage* cvCreateImageHeader( CvSize size, int depth, int channels ); extern "C" IplImage* cvInitImageHeader( IplImage* image, CvSize size, int depth, int channels, int origin = 0, int align = 4); extern "C" IplImage* cvCreateImage( CvSize size, int depth, int channels ); extern "C" void cvReleaseImageHeader( IplImage** image ); extern "C" void cvReleaseImage( IplImage** image ); extern "C" IplImage* cvCloneImage( const IplImage* image ); extern "C" void cvSetImageCOI( IplImage* image, int coi ); extern "C" int cvGetImageCOI( IplImage* image ); extern "C" void cvSetImageROI( IplImage* image, CvRect rect ); extern "C" void cvResetImageROI( IplImage* image ); extern "C" CvRect cvGetImageROI( const IplImage* image ); extern "C" CvMat* cvCreateMatHeader( int rows, int cols, int type ); extern "C" CvMat* cvInitMatHeader( CvMat* mat, int rows, int cols, int type, void* data = __null, int step = 0x7fffffff ); extern "C" CvMat* cvCreateMat( int rows, int cols, int type ); extern "C" void cvReleaseMat( CvMat** mat ); inline void cvDecRefData( CvArr* arr ); inline void cvDecRefData( CvArr* arr ) { if( (((arr) != __null && (((const CvMat*)(arr))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(arr))->data.ptr != __null) || (((arr) != __null && (((const CvMatND*)(arr))->type & 0xFFFF0000) == 0x42430000) && ((const CvMatND*)(arr))->data.ptr != __null)) { CvMat* mat = (CvMat*)arr; mat->data.ptr = __null; if( mat->refcount != __null && --*mat->refcount == 0 ) { uchar* data = (uchar*)mat->refcount + 2*sizeof(mat->refcount); cvFree( (void**)&data ); } mat->refcount = __null; } } inline int cvIncRefData( CvArr* arr ); inline int cvIncRefData( CvArr* arr ) { int refcount = 0; if( (((arr) != __null && (((const CvMat*)(arr))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(arr))->data.ptr != __null) || (((arr) != __null && (((const CvMatND*)(arr))->type & 0xFFFF0000) == 0x42430000) && ((const CvMatND*)(arr))->data.ptr != __null)) { CvMat* mat = (CvMat*)arr; if( mat->refcount != __null ) refcount = ++*mat->refcount; } return refcount; } extern "C" CvMat* cvCloneMat( const CvMat* mat ); extern "C" CvMat* cvGetSubRect( const CvArr* arr, CvMat* submat, CvRect rect ); extern "C" CvMat* cvGetRows( const CvArr* arr, CvMat* submat, int start_row, int end_row ); inline void cvGetRow( const CvArr* arr, CvMat* submat, int row ); inline void cvGetRow( const CvArr* arr, CvMat* submat, int row ) { cvGetRows( arr, submat, row, row + 1 ); } extern "C" CvMat* cvGetCols( const CvArr* arr, CvMat* submat, int start_col, int end_col ); inline void cvGetCol( const CvArr* arr, CvMat* submat, int col ); inline void cvGetCol( const CvArr* arr, CvMat* submat, int col ) { cvGetCols( arr, submat, col, col + 1 ); } extern "C" CvMat* cvGetDiag( const CvArr* arr, CvMat* submat, int diag = 0); extern "C" void cvScalarToRawData( const CvScalar* scalar, void* data, int type, int extend_to_12 = 0 ); extern "C" void cvRawDataToScalar( const void* data, int type, CvScalar* scalar ); extern "C" CvMatND* cvCreateMatNDHeader( int dims, const int* sizes, int type ); extern "C" CvMatND* cvCreateMatND( int dims, const int* sizes, int type ); extern "C" CvMatND* cvInitMatNDHeader( CvMatND* mat, int dims, const int* sizes, int type, void* data = __null ); inline void cvReleaseMatND( CvMatND** mat ); inline void cvReleaseMatND( CvMatND** mat ) { cvReleaseMat( (CvMat**)mat ); } extern "C" CvMatND* cvCloneMatND( const CvMatND* mat ); extern "C" CvSparseMat* cvCreateSparseMat( int dims, const int* sizes, int type ); extern "C" void cvReleaseSparseMat( CvSparseMat** mat ); extern "C" CvSparseMat* cvCloneSparseMat( const CvSparseMat* mat ); extern "C" CvSparseNode* cvInitSparseMatIterator( const CvSparseMat* mat, CvSparseMatIterator* matIterator ); inline CvSparseNode* cvGetNextSparseNode( CvSparseMatIterator* matIterator ); inline CvSparseNode* cvGetNextSparseNode( CvSparseMatIterator* matIterator ) { if( matIterator->node->next ) return matIterator->node = matIterator->node->next; else { int idx; for( idx = ++matIterator->curidx; idx < matIterator->mat->hashsize; idx++ ) { CvSparseNode* node = (CvSparseNode*)matIterator->mat->hashtable[idx]; if( node ) { matIterator->curidx = idx; return matIterator->node = node; } } return __null; } } extern "C" int cvGetElemType( const CvArr* arr ); extern "C" int cvGetDims( const CvArr* arr, int* sizes = __null ); extern "C" int cvGetDimSize( const CvArr* arr, int index ); extern "C" uchar* cvPtr1D( const CvArr* arr, int idx1, int* type = __null); extern "C" uchar* cvPtr2D( const CvArr* arr, int idx1, int idx2, int* type = __null ); extern "C" uchar* cvPtr3D( const CvArr* arr, int idx1, int idx2, int idx3, int* type = __null); extern "C" uchar* cvPtrND( const CvArr* arr, int* idx, int* type = __null ); extern "C" CvScalar cvGet1D( const CvArr* arr, int idx1 ); extern "C" CvScalar cvGet2D( const CvArr* arr, int idx1, int idx2 ); extern "C" CvScalar cvGet3D( const CvArr* arr, int idx1, int idx2, int idx3 ); extern "C" CvScalar cvGetND( const CvArr* arr, int* idx ); extern "C" double cvGetReal1D( const CvArr* arr, int idx1 ); extern "C" double cvGetReal2D( const CvArr* arr, int idx1, int idx2 ); extern "C" double cvGetReal3D( const CvArr* arr, int idx1, int idx2, int idx3 ); extern "C" double cvGetRealND( const CvArr* arr, int* idx ); extern "C" void cvSet1D( CvArr* arr, int idx1, CvScalar value ); extern "C" void cvSet2D( CvArr* arr, int idx1, int idx2, CvScalar value ); extern "C" void cvSet3D( CvArr* arr, int idx1, int idx2, int idx3, CvScalar value ); extern "C" void cvSetND( CvArr* arr, int* idx, CvScalar value ); extern "C" void cvSetReal1D( CvArr* arr, int idx1, double value ); extern "C" void cvSetReal2D( CvArr* arr, int idx1, int idx2, double value ); extern "C" void cvSetReal3D( CvArr* arr, int idx1, int idx2, int idx3, double value ); extern "C" void cvSetRealND( CvArr* arr, int* idx, double value ); extern "C" void cvClearND( CvArr* arr, int* idx ); extern "C" CvMat* cvGetMat( const CvArr* src, CvMat* header, int* coi = __null, int allowND = 0); extern "C" IplImage* cvGetImage( const CvArr* arr, IplImage* img ); # 368 "../include/cv.h" extern "C" CvArr* cvReshapeMatND( const CvArr* arr, int sizeof_header, CvArr* header, int new_cn, int new_dims, int* new_sizes ); extern "C" CvMat* cvReshape( const CvArr* arr, CvMat* header, int new_cn, int new_rows = 0 ); extern "C" void cvRepeat( const CvArr* src, CvArr* dst ); extern "C" void cvCreateData( CvArr* arr ); extern "C" void cvReleaseData( CvArr* arr ); extern "C" void cvSetData( CvArr* arr, void* data, int step ); extern "C" void cvGetRawData( const CvArr* arr, uchar** data, int* step = __null, CvSize* roi_size = __null); extern "C" CvSize cvGetSize( const CvArr* arr ); extern "C" void cvCopy( const CvArr* src, CvArr* dst, const CvArr* mask = __null ); extern "C" void cvSet( CvArr* arr, CvScalar scalar, const CvArr* mask = __null ); extern "C" void cvSetZero( CvArr* mat ); extern "C" void cvCvtPixToPlane( const void *src, void *dst0, void *dst1, void *dst2, void *dst3 ); extern "C" void cvCvtPlaneToPix( const void *src0, const void *src1, const void *src2, const void *src3, void *dst ); extern "C" void cvConvertScale( const CvArr *src, CvArr *dst, double scale = 1, double shift = 0 ); # 447 "../include/cv.h" extern "C" void cvConvertScaleAbs( const void *src, void *dst, double scale = 1, double shift = 0 ); extern "C" CvRect cvMaxRect( const CvRect* rect1, const CvRect* rect2 ); extern "C" void cvBoxPoints( CvBox2D box, CvPoint2D32f pt[4] ); extern "C" void cvAdd( const CvArr* srcA, const CvArr* srcB, CvArr* dst, const CvArr* mask = __null); extern "C" void cvAddS( const CvArr* src, CvScalar value, CvArr* dst, const CvArr* mask = __null); extern "C" void cvSub( const CvArr* srcA, const CvArr* srcB, CvArr* dst, const CvArr* mask = __null); inline void cvSubS( const CvArr* src, CvScalar value, CvArr* dst, const CvArr* mask = __null); inline void cvSubS( const CvArr* src, CvScalar value, CvArr* dst, const CvArr* mask ) { cvAddS( src, cvScalar( -value.val[0], -value.val[1], -value.val[2], -value.val[3]), dst, mask ); } extern "C" void cvSubRS( const CvArr* src, CvScalar value, CvArr* dst, const CvArr* mask = __null); extern "C" void cvMul( const CvArr* srcA, const CvArr* srcB, CvArr* dst, double scale = 1 ); extern "C" void cvDiv( const CvArr* srcA, const CvArr* srcB, CvArr* dst, double scale = 1); extern "C" void cvScaleAdd( const CvArr* srcA, CvScalar scale, const CvArr* srcB, CvArr* dst ); extern "C" void cvAddWeighted( const CvArr* srcA, double alpha, const CvArr* srcB, double beta, double gamma, CvArr* dst ); extern "C" double cvDotProduct( const CvArr* srcA, const CvArr* srcB ); extern "C" void cvAnd( const CvArr* src1, const CvArr* src2, CvArr* dst, const CvArr* mask = __null); extern "C" void cvAndS( const CvArr* src, CvScalar value, CvArr* dst, const CvArr* mask = __null); extern "C" void cvOr( const CvArr* src1, const CvArr* src2, CvArr* dst, const CvArr* mask = __null); extern "C" void cvOrS( const CvArr* src, CvScalar value, CvArr* dst, const CvArr* mask = __null); extern "C" void cvXor( const CvArr* src1, const CvArr* src2, CvArr* dst, const CvArr* mask = __null); extern "C" void cvXorS( const CvArr* src, CvScalar value, CvArr* dst, const CvArr* mask = __null); extern "C" void cvNot( const CvArr* src, CvArr* dst ); extern "C" void cvInRange( const CvArr* src, const CvArr* lower, const CvArr* upper, CvArr* dst ); extern "C" void cvInRangeS( const CvArr* src, CvScalar lower, CvScalar upper, CvArr* dst ); # 560 "../include/cv.h" extern "C" void cvCmp( const CvArr* src1, const CvArr* src2, CvArr* dst, int cmpOp ); extern "C" void cvCmpS( const CvArr* src1, double scalar, CvArr* dst, int cmpOp ); extern "C" void cvMin( const CvArr* src1, const CvArr* src2, CvArr* dst ); extern "C" void cvMax( const CvArr* src1, const CvArr* src2, CvArr* dst ); extern "C" void cvMinS( const CvArr* src, double scalar, CvArr* dst ); extern "C" void cvMaxS( const CvArr* src, double scalar, CvArr* dst ); # 584 "../include/cv.h" extern "C" void cvCartToPolar( const CvArr* x, const CvArr* y, CvArr* magnitude, CvArr* angle = __null, int angle_in_degrees = 0); extern "C" void cvPolarToCart( const CvArr* magnitude, const CvArr* angle, CvArr* x, CvArr* y, int angle_in_degrees = 0); extern "C" void cvPow( const CvArr* src, CvArr* dst, double power ); extern "C" void cvExp( const CvArr* src, CvArr* dst ); extern "C" void cvLog( const CvArr* src, CvArr* dst ); extern "C" int cvCheckArr( const CvArr* arr, int flags = 0, double minVal = 0, double maxVal = 0); typedef struct CvRandState { uint64 state; int disttype; CvScalar param[2]; } CvRandState; extern "C" void cvRandInit( CvRandState* state, double param1, double param2, int seed, int disttype = 0); extern "C" void cvRandSetRange( CvRandState* state, double param1, double param2, int index = -1); extern "C" void cvRand( CvRandState* state, CvArr* arr ); inline unsigned cvRandNext( CvRandState* state ); inline unsigned cvRandNext( CvRandState* state ) { uint64 temp = state->state; temp = (uint64)(unsigned)temp*1554115554 + (temp >> 32); state->state = temp; return (unsigned)temp; } extern "C" void cvCrossProduct( const CvArr* srcA, const CvArr* srcB, CvArr* dst ); extern "C" void cvMatMulAdd( const CvArr* srcA, const CvArr* srcB, const CvArr* srcC, CvArr* dst ); extern "C" void cvGEMM( const CvArr* srcA, const CvArr* srcB, double alpha, const CvArr* srcC, double beta, CvArr* dst, int tABC = 0); extern "C" void cvMatMulAddS( const CvArr* src, CvArr* dst, const CvMat* transform, const CvMat* shiftvec = __null); extern "C" void cvMulTransposed( const CvArr* srcarr, CvArr* dstarr, int order ); extern "C" void cvTranspose( const CvArr* src, CvArr* dst ); extern "C" void cvFlip( const CvArr* src, CvArr* dst = __null, int flip_mode = 0); # 706 "../include/cv.h" extern "C" void cvSVD( CvArr* A, CvArr* W = __null, CvArr* U = __null, CvArr* V = __null, int flags = 0); extern "C" void cvSVBkSb( const CvArr* warr, const CvArr* uarr, const CvArr* varr, const CvArr* barr, CvArr* xarr, int flags ); extern "C" double cvInvert( const CvArr* src, CvArr* dst, int method = 0); extern "C" int cvSolve( const CvArr* A, const CvArr* b, CvArr* x, int method = 0); extern "C" double cvDet( const CvArr* mat ); extern "C" CvScalar cvTrace( const CvArr* mat ); extern "C" void cvEigenVV( CvArr* src, CvArr* evects, CvArr* evals, double eps ); extern "C" void cvSetIdentity( CvArr* mat, CvScalar value = cvScalar(1) ); extern "C" void cvPerspectiveTransform( const CvArr* src, CvArr* dst, const CvArr* mat ); extern "C" void cvCalcCovarMatrix( const CvArr** vects, CvArr* covarMatrix, CvArr* avg ); extern "C" double cvMahalanobis( const CvArr* srcA, const CvArr* srcB, CvArr* mat ); extern "C" CvScalar cvSum( const CvArr* arr ); extern "C" int cvCountNonZero( const CvArr* arr ); extern "C" CvScalar cvAvg( const CvArr* arr, const CvArr* mask = __null ); extern "C" void cvAvgSdv( const CvArr* arr, CvScalar* mean, CvScalar* std_dev, const CvArr* mask = __null ); extern "C" void cvMinMaxLoc( const CvArr* arr, double* min_val, double* max_val, CvPoint* min_loc = __null, CvPoint* max_loc = __null, const CvArr* mask = __null ); # 793 "../include/cv.h" extern "C" double cvNorm( const CvArr* arrA, const CvArr* arrB = __null, int normType = 4, const CvArr* mask = __null ); # 811 "../include/cv.h" extern "C" void cvDFT( const CvArr* src, CvArr* dst, int flags ); extern "C" void cvMulCcs( const CvArr* srcA, const CvArr* srcB, CvArr* dst ); extern "C" void cvDCT( const CvArr* src, CvArr* dst, int flags ); # 828 "../include/cv.h" extern "C" CvMemStorage* cvCreateMemStorage( int block_size = 0); extern "C" CvMemStorage* cvCreateChildMemStorage( CvMemStorage* parent ); extern "C" void cvReleaseMemStorage( CvMemStorage** storage ); extern "C" void cvClearMemStorage( CvMemStorage* storage ); extern "C" void cvSaveMemStoragePos( const CvMemStorage* storage, CvMemStoragePos* pos ); extern "C" void cvRestoreMemStoragePos( CvMemStorage* storage, CvMemStoragePos* pos ); extern "C" void* cvMemStorageAlloc( CvMemStorage* storage, int size ); extern "C" CvSeq* cvCreateSeq( int seq_flags, int header_size, int elem_size, CvMemStorage* storage ); extern "C" void cvSetSeqBlockSize( CvSeq* seq, int delta_elements ); extern "C" char* cvSeqPush( CvSeq* seq, void* element = __null); extern "C" char* cvSeqPushFront( CvSeq* seq, void* element = __null); extern "C" void cvSeqPop( CvSeq* seq, void* element = __null); extern "C" void cvSeqPopFront( CvSeq* seq, void* element = __null); extern "C" void cvSeqPushMulti( CvSeq* seq, void* elements, int count, int in_front = 0 ); extern "C" void cvSeqPopMulti( CvSeq* seq, void* elements, int count, int in_front = 0 ); extern "C" char* cvSeqInsert( CvSeq* seq, int before_index, void* element = __null); extern "C" void cvSeqRemove( CvSeq* seq, int index ); extern "C" void cvClearSeq( CvSeq* seq ); extern "C" char* cvGetSeqElem( CvSeq* seq, int index, CvSeqBlock** block = __null ); extern "C" int cvSeqElemIdx( const CvSeq* seq, const void* element, CvSeqBlock** block = __null ); extern "C" void cvStartAppendToSeq( CvSeq* seq, CvSeqWriter* writer ); extern "C" void cvStartWriteSeq( int seq_flags, int header_size, int elem_size, CvMemStorage* storage, CvSeqWriter* writer ); extern "C" CvSeq* cvEndWriteSeq( CvSeqWriter* writer ); extern "C" void cvFlushSeqWriter( CvSeqWriter* writer ); extern "C" void cvStartReadSeq( const CvSeq* seq, CvSeqReader* reader, int reverse = 0 ); extern "C" int cvGetSeqReaderPos( CvSeqReader* reader ); extern "C" void cvSetSeqReaderPos( CvSeqReader* reader, int index, int is_relative = 0); extern "C" void* cvCvtSeqToArray( CvSeq* seq, CvArr* arr, CvSlice slice = cvSlice(0, 0x3fffffff) ); extern "C" CvSeq* cvMakeSeqHeaderForArray( int seq_type, int header_size, int elem_size, void* elements, int total, CvSeq* seq, CvSeqBlock* block ); extern "C" CvSeq* cvSeqSlice( CvSeq* seq, CvSlice slice, CvMemStorage* storage = __null, int copy_data = 0); inline CvSeq* cvCloneSeq( CvSeq* seq, CvMemStorage* storage = __null); inline CvSeq* cvCloneSeq( CvSeq* seq, CvMemStorage* storage ) { return cvSeqSlice( seq, cvSlice(0, 0x3fffffff), storage, 1 ); } extern "C" void cvSeqRemoveSlice( CvSeq* seq, CvSlice slice ); extern "C" void cvSeqInsertSlice( CvSeq* seq, int index, const CvArr* from_arr ); extern "C" { typedef int (* CvCmpFunc) (const void* a, const void* b, void* userdata ); }; extern "C" void cvSeqSort( CvSeq* seq, CvCmpFunc func, void* userdata ); extern "C" void cvSeqInvert( CvSeq* seq ); extern "C" int cvPartitionSeq( CvSeq* seq, CvMemStorage* storage, CvSeq** comps, CvCmpFunc is_equal, void* userdata, int is_set ); extern "C" void cvChangeSeqBlock( CvSeqReader* reader, int direction ); extern "C" void cvCreateSeqBlock( CvSeqWriter* writer ); extern "C" CvSet* cvCreateSet( int set_flags, int header_size, int elem_size, CvMemStorage* storage ); extern "C" int cvSetAdd( CvSet* set_header, CvSetElem* element = __null, CvSetElem** inserted_element = __null ); inline CvSetElem* cvSetNew( CvSet* set_header ); inline CvSetElem* cvSetNew( CvSet* set_header ) { CvSetElem* elem = set_header->free_elems; if( elem ) { set_header->free_elems = elem->next_free; elem->flags = elem->flags & ((1 << 24) - 1); } else cvSetAdd( set_header, __null, (CvSetElem**)&elem ); return elem; } inline void cvSetRemoveByPtr( CvSet* set_header, void* _elem ); inline void cvSetRemoveByPtr( CvSet* set_header, void* _elem ) { CvSetElem* elem = (CvSetElem*)_elem; (static_cast (0)); elem->next_free = set_header->free_elems; elem->flags = (elem->flags & ((1 << 24) - 1)) | (1 << (sizeof(int)*8-1)); set_header->free_elems = elem; } extern "C" void cvSetRemove( CvSet* set_header, int index ); extern "C" CvSetElem* cvGetSetElem( CvSet* set_header, int index ); extern "C" void cvClearSet( CvSet* set_header ); extern "C" CvGraph* cvCreateGraph( int graph_flags, int header_size, int vtx_size, int edge_size, CvMemStorage* storage ); extern "C" int cvGraphAddVtx( CvGraph* graph, CvGraphVtx* vertex = __null, CvGraphVtx** inserted_vertex = __null ); extern "C" void cvGraphRemoveVtx( CvGraph* graph, int index ); extern "C" void cvGraphRemoveVtxByPtr( CvGraph* graph, CvGraphVtx* vtx ); extern "C" int cvGraphAddEdge( CvGraph* graph, int start_idx, int end_idx, CvGraphEdge* edge = __null, CvGraphEdge** inserted_edge = __null ); extern "C" int cvGraphAddEdgeByPtr( CvGraph* graph, CvGraphVtx* start_vtx, CvGraphVtx* end_vtx, CvGraphEdge* edge = __null, CvGraphEdge** inserted_edge = __null ); extern "C" void cvGraphRemoveEdge( CvGraph* graph, int start_idx, int end_idx ); extern "C" void cvGraphRemoveEdgeByPtr( CvGraph* graph, CvGraphVtx* start_vtx, CvGraphVtx* end_vtx ); extern "C" CvGraphEdge* cvFindGraphEdge( CvGraph* graph, int start_idx, int end_idx ); extern "C" CvGraphEdge* cvFindGraphEdgeByPtr( CvGraph* graph, CvGraphVtx* start_vtx, CvGraphVtx* end_vtx ); extern "C" void cvClearGraph( CvGraph* graph ); extern "C" int cvGraphVtxDegree( CvGraph* graph, int vtx_idx ); extern "C" int cvGraphVtxDegreeByPtr( CvGraph* graph, CvGraphVtx* vtx ); # 1129 "../include/cv.h" typedef struct CvGraphScanner { CvGraphVtx* vtx; CvGraphVtx* dst; CvGraphEdge* edge; CvGraph* graph; CvSeq* stack; int index; int mask; } CvGraphScanner; extern "C" void cvStartScanGraph( CvGraph* graph, CvGraphScanner* scanner, CvGraphVtx* vtx = __null, int mask = -1); extern "C" void cvEndScanGraph( CvGraphScanner* scanner ); extern "C" int cvNextGraphItem( CvGraphScanner* scanner ); extern "C" CvGraph* cvCloneGraph( const CvGraph* graph, CvMemStorage* storage ); extern "C" void cvLUT( const CvArr* srcarr, CvArr* dstarr, const CvArr* lutarr ); # 1174 "../include/cv.h" extern "C" void cvSmooth( const CvArr* srcarr, CvArr* dstarr, int smoothtype = 2, int param1 = 3, int param2 = 0); extern "C" void cvIntegral( const CvArr* image, CvArr* sumImage, CvArr* sumSqImage = __null, CvArr* tiltedSumImage = __null); extern "C" void cvPyrDown( const CvArr* src, CvArr* dst, int filter = CV_GAUSSIAN_5x5 ); extern "C" void cvPyrUp( const CvArr* src, CvArr* dst, int filter = CV_GAUSSIAN_5x5 ); # 1210 "../include/cv.h" extern "C" void cvPyrSegmentation( IplImage* src, IplImage* dst, CvMemStorage *storage, CvSeq **comp, int level, double threshold1, double threshold2 ); extern "C" void cvSobel( const CvArr* src, CvArr* dst, int xorder, int yorder, int apertureSize = 3); extern "C" void cvLaplace( const CvArr* src, CvArr* dst, int apertureSize = 3 ); # 1301 "../include/cv.h" extern "C" void cvCvtColor( const CvArr* src, CvArr* dst, int colorCvtCode ); extern "C" void cvResize( const CvArr* src, CvArr* dst, int method = 1); # 1319 "../include/cv.h" extern "C" IplConvKernel* cvCreateStructuringElementEx( int cols, int rows, int anchorX, int anchorY, int shape, int* values = __null ); extern "C" void cvReleaseStructuringElement( IplConvKernel** element ); extern "C" void cvErode( const CvArr* src, CvArr* dst, IplConvKernel* element = __null, int iterations = 1 ); extern "C" void cvDilate( const CvArr* src, CvArr* dst, IplConvKernel* element = __null, int iterations = 1 ); # 1346 "../include/cv.h" extern "C" void cvMorphologyEx( const CvArr* src, CvArr* dst, CvArr* temp, IplConvKernel* element, int operation, int iterations = 1 ); typedef struct CvMoments { double m00, m10, m01, m20, m11, m02, m30, m21, m12, m03; double mu20, mu11, mu02, mu30, mu21, mu12, mu03; double inv_sqrt_m00; } CvMoments; extern "C" void cvMoments( const CvArr* arr, CvMoments* moments, int binary = 0); extern "C" double cvGetSpatialMoment( CvMoments* moments, int x_order, int y_order ); extern "C" double cvGetCentralMoment( CvMoments* moments, int x_order, int y_order ); extern "C" double cvGetNormalizedCentralMoment( CvMoments* moments, int x_order, int y_order ); typedef struct CvHuMoments { double hu1, hu2, hu3, hu4, hu5, hu6, hu7; } CvHuMoments; extern "C" void cvGetHuMoments( CvMoments* moments, CvHuMoments* hu_moments ); # 1394 "../include/cv.h" extern "C" void cvLine( CvArr* arr, CvPoint pt1, CvPoint pt2, double color, int thickness = 1, int connectivity = 8 ); extern "C" void cvLineAA( CvArr* arr, CvPoint pt1, CvPoint pt2, double color, int scale = 0); extern "C" void cvRectangle( CvArr* arr, CvPoint pt1, CvPoint pt2, double color, int thickness = 1); extern "C" void cvCircle( CvArr* arr, CvPoint center, int radius, double color, int thickness = 1); extern "C" void cvCircleAA( CvArr* arr, CvPoint center, int radius, double color, int scale = 0 ); extern "C" void cvEllipse( CvArr* arr, CvPoint center, CvSize axes, double angle, double startAngle, double endAngle, double color, int thickness = 1); inline void cvEllipseBox( CvArr* arr, CvBox2D box, double color, int thickness = 1); inline void cvEllipseBox( CvArr* arr, CvBox2D box, double color, int thickness ) { cvEllipse( arr, cvPointFrom32f( box.center ), cvSize( cvRound(box.size.height*0.5), cvRound(box.size.width*0.5)), box.angle*180/3.1415926535897932384626433832795, 0, 360, color, thickness ); } extern "C" void cvEllipseAA( CvArr* arr, CvPoint center, CvSize axes, double angle, double startAngle, double endAngle, double color, int scale = 0 ); extern "C" void cvFillConvexPoly( CvArr* arr, CvPoint* pts, int npts, double color ); extern "C" void cvFillPoly( CvArr* arr, CvPoint** pts, int* npts, int contours, double color ); extern "C" void cvPolyLine( CvArr* arr, CvPoint** pts, int* npts, int contours, int closed, double color, int thickness = 1, int connectivity = 8); extern "C" void cvPolyLineAA( CvArr* arr, CvPoint** pts, int* npts, int contours, int closed, double color, int scale = 0 ); typedef struct CvFont { const int* data; CvSize size; int italic_scale; int thickness; int dx; } CvFont; extern "C" void cvInitFont( CvFont* font, int font_face, double hscale, double vscale, double italic_scale = 0, int thickness = 1 ); extern "C" void cvPutText( CvArr* arr, const char* text, CvPoint org, CvFont* font, double color ); extern "C" void cvGetTextSize( const char* text_string, CvFont* font, CvSize* text_size, int* ymin ); typedef struct CvLineIterator { uchar* ptr; int err; int plus_delta; int minus_delta; int plus_step; int minus_step; } CvLineIterator; extern "C" int cvInitLineIterator( const CvArr* arr, CvPoint pt1, CvPoint pt2, CvLineIterator* lineIterator, int connectivity = 8); # 1522 "../include/cv.h" extern "C" int cvSampleLine( const CvArr* arr, CvPoint pt1, CvPoint pt2, void* buffer, int connectivity = 8); extern "C" void cvGetRectSubPix( const CvArr* src, CvArr* dst, CvPoint2D32f center ); extern "C" void cvGetQuadrangleSubPix( const CvArr* src, CvArr* dstarr, const CvArr* matrixarr, int fillOutliers = 0, CvScalar fillvalue = cvScalarAll(0)); # 1551 "../include/cv.h" extern "C" void cvMatchTemplate( const CvArr* arr, const CvArr* templ, CvArr* result, int method ); extern "C" { typedef float ( * CvDistanceFunction) ( const float* a, const float* b, void* user_param ); }; extern "C" float cvCalcEMD2( const CvArr* signature1, const CvArr* signature2, CvDisType dist_type, CvDistanceFunction dist_func = 0, const CvArr* cost_matrix = 0, CvArr* flow = 0, float* lower_bound = 0, void* user_param = 0); # 1576 "../include/cv.h" typedef struct _CvContourScanner* CvContourScanner; typedef enum CvContourRetrievalMode { CV_RETR_EXTERNAL = 0, CV_RETR_LIST = 1, CV_RETR_CCOMP = 2, CV_RETR_TREE = 3 } CvContourRetrievalMode; typedef enum CvChainApproxMethod { CV_CHAIN_CODE = 0, CV_CHAIN_APPROX_NONE = 1, CV_CHAIN_APPROX_SIMPLE = 2, CV_CHAIN_APPROX_TC89_L1 = 3, CV_CHAIN_APPROX_TC89_KCOS = 4, CV_LINK_RUNS = 5 } CvChainApproxMethod; extern "C" int cvFindContours( CvArr* arr, CvMemStorage* storage, CvSeq** firstContour, int headerSize = sizeof(CvContour), CvContourRetrievalMode mode = CV_RETR_LIST, CvChainApproxMethod method = CV_CHAIN_APPROX_SIMPLE); extern "C" CvContourScanner cvStartFindContours( CvArr* arr, CvMemStorage* storage, int header_size, CvContourRetrievalMode mode, CvChainApproxMethod method ); extern "C" CvSeq* cvFindNextContour( CvContourScanner scanner ); extern "C" void cvSubstituteContour( CvContourScanner scanner, CvSeq* newContour ); extern "C" CvSeq* cvEndFindContours( CvContourScanner* scanner ); extern "C" void cvDrawContours( CvArr *img, CvSeq* contour, double external_color, double hole_color, int max_level, int thickness = 1, int connectivity = 8); typedef struct CvTreeNodeIterator { const void* node; int level; int maxLevel; } CvTreeNodeIterator; extern "C" void cvInitTreeNodeIterator( CvTreeNodeIterator* treeIterator, const void* first, int maxLevel ); extern "C" void* cvNextTreeNode( CvTreeNodeIterator* treeIterator ); extern "C" void* cvPrevTreeNode( CvTreeNodeIterator* treeIterator ); extern "C" void cvInsertNodeIntoTree( void* node, void* parent, void* frame ); extern "C" void cvRemoveNodeFromTree( void* node, void* frame ); extern "C" CvSeq* cvTreeToNodeSeq( const void* first, int header_size, CvMemStorage* storage ); extern "C" CvSeq* cvApproxChains( CvSeq* src_seq, CvMemStorage* storage, CvChainApproxMethod method = CV_CHAIN_APPROX_SIMPLE, double parameter = 0, int minimal_perimeter = 0, int recursive = 0); typedef struct CvChainPtReader { int header_size; CvSeq* seq; CvSeqBlock* block; char* ptr; char* block_min; char* block_max; int delta_index; char* prev_elem; char code; CvPoint pt; char deltas[8][2]; int reserved[2]; } CvChainPtReader; extern "C" void cvStartReadChainPoints( CvChain* chain, CvChainPtReader* reader ); extern "C" CvPoint cvReadChainPoint( CvChainPtReader* reader ); # 1696 "../include/cv.h" extern "C" void cvAbsDiff( const CvArr* srcA, const CvArr* srcB, CvArr* dst ); extern "C" void cvAbsDiffS( const CvArr* src, CvArr* dst, CvScalar value ); extern "C" void cvCalcOpticalFlowLK( const CvArr* srcA, const CvArr* srcB, CvSize winSize, CvArr* velx, CvArr* vely ); extern "C" void cvCalcOpticalFlowBM( const CvArr* srcA, const CvArr* srcB, CvSize blockSize, CvSize shiftSize, CvSize maxRange, int usePrevious, CvArr* velx, CvArr* vely ); extern "C" void cvCalcOpticalFlowHS( const CvArr* srcA, const CvArr* srcB, int usePrevious, CvArr* velx, CvArr* vely, double lambda, CvTermCriteria criteria ); # 1730 "../include/cv.h" extern "C" void cvCalcOpticalFlowPyrLK( const CvArr* imgA, const CvArr* imgB, CvArr* pyrA, CvArr* pyrB, CvPoint2D32f* featuresA, CvPoint2D32f* featuresB, int count, CvSize winSize, int level, char* status, float* error, CvTermCriteria criteria, int flags ); extern "C" void cvCalcAffineFlowPyrLK( const CvArr* imgA, const CvArr* imgB, CvArr* pyrA, CvArr* pyrB, CvPoint2D32f* featuresA, CvPoint2D32f* featuresB, float* matrices, int count, CvSize winSize, int level, char* status, float* error, CvTermCriteria criteria, int flags ); # 1767 "../include/cv.h" extern "C" void cvUpdateMotionHistory( const CvArr* silhouette, CvArr* mhi, double timestamp, double mhiDuration ); extern "C" void cvCalcMotionGradient( const CvArr* mhi, CvArr* mask, CvArr* orientation, double delta1, double delta2, int aperture_size = 3); extern "C" double cvCalcGlobalOrientation( const CvArr* orientation, const CvArr* mask, const CvArr* mhi, double curr_mhi_timestamp, double mhi_duration ); extern "C" CvSeq* cvSegmentMotion( const CvArr* mhi, CvArr* seg_mask, CvMemStorage* storage, double timestamp, double seg_thresh ); extern "C" void cvAcc( const CvArr* image, CvArr* sum, const CvArr* mask = __null ); extern "C" void cvSquareAcc( const CvArr* image, CvArr* sqSum, const CvArr* mask = __null ); extern "C" void cvMultiplyAcc( const CvArr* imgA, const CvArr* imgB, CvArr* acc, const CvArr* mask = __null ); extern "C" void cvRunningAvg( const CvArr* imgY, CvArr* imgU, double alpha, const CvArr* mask = __null ); # 1814 "../include/cv.h" extern "C" int cvCamShift( const CvArr* imgProb, CvRect windowIn, CvTermCriteria criteria, CvConnectedComp* out, CvBox2D* box ); extern "C" int cvMeanShift( const CvArr* imgProb, CvRect windowIn, CvTermCriteria criteria, CvConnectedComp* out ); typedef struct CvConDensation { int MP; int DP; float* DynamMatr; float* State; int SamplesNum; float** flSamples; float** flNewSamples; float* flConfidence; float* flCumulative; float* Temp; float* RandomSample; CvRandState* RandS; } CvConDensation; extern "C" CvConDensation* cvCreateConDensation( int DP, int MP, int SamplesNum); extern "C" void cvReleaseConDensation( CvConDensation** ConDensation); extern "C" void cvConDensUpdateByTime( CvConDensation* ConDens); extern "C" void cvConDensInitSampleSet( CvConDensation* conDens, CvMat* lowerBound,CvMat* upperBound); typedef struct CvKalman { int MP; int DP; int CP; float* PosterState; float* PriorState; float* DynamMatr; float* MeasurementMatr; float* MNCovariance; float* PNCovariance; float* KalmGainMatr; float* PriorErrorCovariance; float* PosterErrorCovariance; float* Temp1; float* Temp2; CvMat* state_pre; CvMat* state_post; CvMat* transition_matrix; CvMat* control_matrix; CvMat* measurement_matrix; CvMat* process_noise_cov; CvMat* measurement_noise_cov; CvMat* error_cov_pre; CvMat* gain; CvMat* error_cov_post; CvMat* temp1; CvMat* temp2; CvMat* temp3; CvMat* temp4; CvMat* temp5; } CvKalman; extern "C" CvKalman* cvCreateKalman( int dynamParams, int measureParams, int controlParams = 0); extern "C" void cvReleaseKalman( CvKalman** Kalman); extern "C" const CvMat* cvKalmanPredict( CvKalman* Kalman, const CvMat* control = __null); extern "C" const CvMat* cvKalmanCorrect( CvKalman* Kalman, const CvMat* measurement ); typedef long CvSubdiv2DEdge; # 1938 "../include/cv.h" typedef struct CvQuadEdge2D { int flags; struct CvSubdiv2DPoint* pt[4]; CvSubdiv2DEdge next[4]; } CvQuadEdge2D; typedef struct CvSubdiv2DPoint { int flags; CvSubdiv2DEdge first; CvPoint2D32f pt; } CvSubdiv2DPoint; # 1958 "../include/cv.h" typedef struct CvSubdiv2D { int flags; int header_size; struct CvSeq* h_prev; struct CvSeq* h_next; struct CvSeq* v_prev; struct CvSeq* v_next; int total; int elem_size; char* block_max; char* ptr; int delta_elems; CvMemStorage* storage; CvSeqBlock* free_blocks; CvSeqBlock* first; CvSetElem* free_elems; CvSet* edges; int quad_edges; int is_geometry_valid; CvSubdiv2DEdge recent_edge; CvPoint2D32f topleft; CvPoint2D32f bottomright; } CvSubdiv2D; typedef enum CvSubdiv2DPointLocation { CV_PTLOC_ERROR = -2, CV_PTLOC_OUTSIDE_RECT = -1, CV_PTLOC_INSIDE = 0, CV_PTLOC_VERTEX = 1, CV_PTLOC_ON_EDGE = 2 } CvSubdiv2DPointLocation; typedef enum CvNextEdgeType { CV_NEXT_AROUND_ORG = 0x00, CV_NEXT_AROUND_DST = 0x22, CV_PREV_AROUND_ORG = 0x11, CV_PREV_AROUND_DST = 0x33, CV_NEXT_AROUND_LEFT = 0x13, CV_NEXT_AROUND_RIGHT = 0x31, CV_PREV_AROUND_LEFT = 0x20, CV_PREV_AROUND_RIGHT = 0x02 } CvNextEdgeType; extern "C" void cvInitSubdivDelaunay2D( CvSubdiv2D* subdiv, CvRect rect ); extern "C" CvSubdiv2D* cvCreateSubdiv2D( int subdiv_type, int header_size, int vtx_size, int quadedge_size, CvMemStorage* storage ); inline CvSubdiv2D* cvCreateSubdivDelaunay2D( CvRect rect, CvMemStorage* storage ); inline CvSubdiv2D* cvCreateSubdivDelaunay2D( CvRect rect, CvMemStorage* storage ) { CvSubdiv2D* subdiv = cvCreateSubdiv2D( (4 << 5), sizeof(*subdiv), sizeof(CvSubdiv2DPoint), sizeof(CvQuadEdge2D), storage ); cvInitSubdivDelaunay2D( subdiv, rect ); return subdiv; } extern "C" CvSubdiv2DPoint* cvSubdivDelaunay2DInsert( CvSubdiv2D* subdiv, CvPoint2D32f pt); extern "C" CvSubdiv2DPointLocation cvSubdiv2DLocate( CvSubdiv2D* subdiv, CvPoint2D32f pt, CvSubdiv2DEdge *_edge, CvSubdiv2DPoint** _point = __null ); extern "C" void cvCalcSubdivVoronoi2D( CvSubdiv2D* subdiv ); extern "C" void cvClearSubdivVoronoi2D( CvSubdiv2D* subdiv ); extern "C" CvSubdiv2DPoint* cvFindNearestPoint2D( CvSubdiv2D* subdiv, CvPoint2D32f pt ); inline CvSubdiv2DEdge cvSubdiv2DNextEdge( CvSubdiv2DEdge edge ); inline CvSubdiv2DEdge cvSubdiv2DNextEdge( CvSubdiv2DEdge edge ) { return (((CvQuadEdge2D*)((edge) & ~3))->next[(edge)&3]); } inline CvSubdiv2DEdge cvSubdiv2DRotateEdge( CvSubdiv2DEdge edge, int rotate ); inline CvSubdiv2DEdge cvSubdiv2DRotateEdge( CvSubdiv2DEdge edge, int rotate ) { return (edge & ~3) + ((edge + rotate) & 3); } inline CvSubdiv2DEdge cvSubdiv2DSymEdge( CvSubdiv2DEdge edge ); inline CvSubdiv2DEdge cvSubdiv2DSymEdge( CvSubdiv2DEdge edge ) { return edge ^ 2; } inline CvSubdiv2DEdge cvSubdiv2DGetEdge( CvSubdiv2DEdge edge, CvNextEdgeType type ); inline CvSubdiv2DEdge cvSubdiv2DGetEdge( CvSubdiv2DEdge edge, CvNextEdgeType type ) { CvQuadEdge2D* e = (CvQuadEdge2D*)(edge & ~3); edge = e->next[(edge + (int)type) & 3]; return (edge & ~3) + ((edge + ((int)type >> 4)) & 3); } inline CvSubdiv2DPoint* cvSubdiv2DEdgeOrg( CvSubdiv2DEdge edge ); inline CvSubdiv2DPoint* cvSubdiv2DEdgeOrg( CvSubdiv2DEdge edge ) { CvQuadEdge2D* e = (CvQuadEdge2D*)(edge & ~3); return (CvSubdiv2DPoint*)e->pt[edge & 3]; } inline CvSubdiv2DPoint* cvSubdiv2DEdgeDst( CvSubdiv2DEdge edge ); inline CvSubdiv2DPoint* cvSubdiv2DEdgeDst( CvSubdiv2DEdge edge ) { CvQuadEdge2D* e = (CvQuadEdge2D*)(edge & ~3); return (CvSubdiv2DPoint*)e->pt[(edge + 2) & 3]; } inline double cvTriangleArea( CvPoint2D32f a, CvPoint2D32f b, CvPoint2D32f c ); inline double cvTriangleArea( CvPoint2D32f a, CvPoint2D32f b, CvPoint2D32f c ) { return (b.x - a.x) * (c.y - a.y) - (b.y - a.y) * (c.x - a.x); } # 2098 "../include/cv.h" extern "C" CvSeq* cvApproxPoly( const void* src_seq, int header_size, CvMemStorage* storage, int method, double parameter, int parameter2 = 0); extern "C" double cvArcLength( const void* curve, CvSlice slice = cvSlice(0, 0x3fffffff), int is_closed = -1); extern "C" CvRect cvBoundingRect( const void* points, int update = 0 ); extern "C" double cvContourArea( const void* contour, CvSlice slice = cvSlice(0, 0x3fffffff)); extern "C" CvBox2D cvMinAreaRect2( const void* points, CvMemStorage* storage = __null); extern "C" void cvMinEnclosingCircle( const void* points, CvPoint2D32f* center, float* radius ); extern "C" double cvMatchShapes( const void* contour1, const void* contour2, int method, double parameter = 0); typedef struct CvContourTree { int flags; int header_size; struct CvSeq* h_prev; struct CvSeq* h_next; struct CvSeq* v_prev; struct CvSeq* v_next; int total; int elem_size; char* block_max; char* ptr; int delta_elems; CvMemStorage* storage; CvSeqBlock* free_blocks; CvSeqBlock* first; CvPoint p1; CvPoint p2; } CvContourTree; extern "C" CvContourTree* cvCreateContourTree( CvSeq* contour, CvMemStorage* storage, double threshold ); extern "C" CvSeq* cvContourFromContourTree( CvContourTree *tree, CvMemStorage* storage, CvTermCriteria criteria ); extern "C" double cvMatchContourTrees( CvContourTree *tree1, CvContourTree *tree2, int method, double threshold ); extern "C" void cvCalcPGH( const CvSeq* contour, CvHistogram* hist ); extern "C" CvSeq* cvConvexHull2( const CvArr* input, void* hull_storage = __null, int orientation = 1, int return_points = 0); extern "C" int cvCheckContourConvexity( const CvArr* contour ); typedef struct CvConvexityDefect { CvPoint* start; CvPoint* end; CvPoint* depth_point; float depth; } CvConvexityDefect; extern "C" CvSeq* cvConvexityDefects( const CvArr* contour, const CvArr* convexhull, CvMemStorage* storage = __null); extern "C" CvBox2D cvFitEllipse2( const CvArr* points ); extern "C" CvHistogram* cvCreateHist( int dims, int* sizes, int type, float** ranges = __null, int uniform = 1); extern "C" void cvSetHistBinRanges( CvHistogram* hist, float** ranges, int uniform = 1); extern "C" CvHistogram* cvMakeHistHeaderForArray( int dims, int* sizes, CvHistogram* hist, float* data, float** ranges = __null, int uniform = 1); extern "C" void cvReleaseHist( CvHistogram** hist ); extern "C" void cvClearHist( CvHistogram* hist ); extern "C" void cvGetMinMaxHistValue( const CvHistogram* hist, float* value_min, float* value_max, int* idx_min = __null, int* idx_max = __null); extern "C" void cvNormalizeHist( CvHistogram* hist, double factor ); extern "C" void cvThreshHist( CvHistogram* hist, double thresh ); extern "C" double cvCompareHist( const CvHistogram* hist1, const CvHistogram* hist2, int method); extern "C" void cvCopyHist( const CvHistogram* src, CvHistogram** dst ); extern "C" void cvCalcBayesianProb( CvHistogram** src, int number, CvHistogram** dst); extern "C" void cvCalcArrHist( CvArr** arr, CvHistogram* hist, int doNotClear = 0, const CvArr* mask = __null ); inline void cvCalcHist( IplImage** img, CvHistogram* hist, int doNotClear = 0, const CvArr* mask = __null ); inline void cvCalcHist( IplImage** img, CvHistogram* hist, int doNotClear, const CvArr* mask ) { cvCalcArrHist( (CvArr**)img, hist, doNotClear, mask ); } extern "C" void cvCalcArrBackProject( CvArr** img, CvArr* dst, const CvHistogram* hist ); extern "C" void cvCalcArrBackProjectPatch( CvArr** img, CvArr* dst, CvSize range, CvHistogram* hist, int method, double normFactor ); extern "C" void cvCalcProbDensity( const CvHistogram* hist, const CvHistogram* hist_mask, CvHistogram* hist_dens, double scale = 255 ); extern "C" void cvSnakeImage( const IplImage* src, CvPoint* points, int length, float* alpha, float* beta, float* gamma, int coeffUsage, CvSize win, CvTermCriteria criteria, int calcGradient = 1); extern "C" void cvCalcImageHomography(float *line, CvPoint3D32f* center, float* intrinsic, float* homography); extern "C" void cvDistTransform( const CvArr* src, CvArr* dst, CvDisType disType = CV_DIST_L2, int maskSize = 3, const float* mask = __null); # 2315 "../include/cv.h" extern "C" void cvThreshold( const CvArr* src, CvArr* dst, double thresh, double maxValue, int type ); # 2326 "../include/cv.h" extern "C" void cvAdaptiveThreshold( const CvArr* src, CvArr* dst, double maxValue, int method = 0, int type = 0, int blockSize = 3, double param1 = 5); extern "C" void cvFloodFill( CvArr* arr, CvPoint seedPoint, double newVal, double loDiff = 0, double upDiff = 0, CvConnectedComp* comp = __null, int flags = 4, CvArr* mask = __null); extern "C" void cvCanny( const CvArr* src, CvArr* dst, double low_threshold, double high_threshold, int aperture_size = 3 ); extern "C" void cvPreCornerDetect( const CvArr* src, CvArr* dst, int aperture_size = 3 ); extern "C" void cvCornerEigenValsAndVecs( const CvArr* src, CvArr* eigenvv, int blockSize, int aperture_size = 3 ); extern "C" void cvCornerMinEigenVal( const CvArr* src, CvArr* eigenval, int blockSize, int aperture_size = 3 ); extern "C" void cvFindCornerSubPix( const CvArr* src,CvPoint2D32f* corners, int count, CvSize win,CvSize zero_zone, CvTermCriteria criteria ); extern "C" void cvGoodFeaturesToTrack( const CvArr* image, CvArr* eig_image, CvArr* temp_image, CvPoint2D32f* corners, int* corner_count, double quality_level, double min_distance, const CvArr* mask = __null); # 2392 "../include/cv.h" extern "C" CvSeq* cvHoughLines2( CvArr* image, void* line_storage, int method, double rho, double theta, int threshold, double param1 = 0, double param2 = 0); extern "C" void cvProject3D( CvPoint3D32f* points3D, int count, CvPoint2D32f* points2D, int xIndx, int yIndx ); extern "C" void cvFitLine( const CvArr* points, CvDisType dist, double param, double reps, double aeps, float* line ); # 2412 "../include/cv.h" extern "C" { typedef CvStatus ( * CvCallback) (int index, void* buffer, void* userData); }; typedef union { CvCallback callback; void* data; } CvInput; extern "C" void cvCalcCovarMatrixEx( int nObjects, void* input, int ioFlags, int ioBufSize, uchar* buffer, void* userData, IplImage* avg, float* covarMatrix ); extern "C" void cvCalcEigenObjects( int nObjects, void* input, void* output, int ioFlags, int ioBufSize, void* userData, CvTermCriteria* calcLimit, IplImage* avg, float* eigVals ); extern "C" double cvCalcDecompCoeff( IplImage* obj, IplImage* eigObj, IplImage* avg ); extern "C" void cvEigenDecomposite( IplImage* obj, int nEigObjs, void* eigInput, int ioFlags, void* userData, IplImage* avg, float* coeffs ); extern "C" void cvEigenProjection( void* eigInput, int nEigObjs, int ioFlags, void* userData, float* coeffs, IplImage* avg, IplImage* proj ); typedef struct CvEHMMState { int num_mix; float* mu; float* inv_var; float* log_var_val; float* weight; } CvEHMMState; typedef struct CvEHMM { int level; int num_states; float* transP; float** obsProb; union { CvEHMMState* state; struct CvEHMM* ehmm; } u; } CvEHMM; extern "C" CvEHMM* cvCreate2DHMM( int* stateNumber, int* numMix, int obsSize ); extern "C" void cvRelease2DHMM( CvEHMM** hmm ); # 2489 "../include/cv.h" typedef struct CvImgObsInfo { int obs_x; int obs_y; int obs_size; float* obs; int* state; int* mix; } CvImgObsInfo; extern "C" CvImgObsInfo* cvCreateObsInfo( CvSize numObs, int obsSize ); extern "C" void cvReleaseObsInfo( CvImgObsInfo** obs_info ); extern "C" void cvImgToObs_DCT( const CvArr* arr, float* obs, CvSize dctSize, CvSize obsSize, CvSize delta ); extern "C" void cvUniformImgSegm( CvImgObsInfo* obs_info, CvEHMM* ehmm ); extern "C" void cvInitMixSegm( CvImgObsInfo** obs_info_array, int num_img, CvEHMM* hmm ); extern "C" void cvEstimateHMMStateParams( CvImgObsInfo** obs_info_array, int num_img, CvEHMM* hmm ); extern "C" void cvEstimateTransProb( CvImgObsInfo** obs_info_array, int num_img, CvEHMM* hmm ); extern "C" void cvEstimateObsProb( CvImgObsInfo* obs_info, CvEHMM* hmm ); extern "C" float cvEViterbi( CvImgObsInfo* obs_info, CvEHMM* hmm ); extern "C" void cvMixSegmL2( CvImgObsInfo** obs_info_array, int num_img, CvEHMM* hmm ); extern "C" void cvKMeans2( const CvArr* samples, int cluster_count, CvArr* cluster_idx, CvTermCriteria termcrit ); extern "C" void cvUnDistortOnce( const CvArr* srcImage, CvArr* dstImage, const float* intrMatrix, const float* distCoeffs, int interpolate = 1 ); extern "C" void cvUnDistortInit( const CvArr* srcImage, CvArr* undistMap, const float* intrMatrix, const float* distCoeffs, int interpolate = 1 ); extern "C" void cvUnDistort( const CvArr* srcImage, CvArr* dstImage, const CvArr* undistMap, int interpolate = 1); extern "C" void cvConvertMap( const CvArr* srcImage, const CvArr* flUndistMap, CvArr* undistMap, int iterpolate = 1 ); extern "C" void cvCalibrateCamera( int numImages, int* numPoints, CvSize imageSize, CvPoint2D32f* imagePoints32f, CvPoint3D32f* objectPoints32f, CvVect32f distortion32f, CvMatr32f cameraMatrix32f, CvVect32f transVects32f, CvMatr32f rotMatrs32f, int useIntrinsicGuess); extern "C" void cvCalibrateCamera_64d( int numImages, int* numPoints, CvSize imageSize, CvPoint2D64d* imagePoints, CvPoint3D64d* objectPoints, CvVect64d distortion, CvMatr64d cameraMatrix, CvVect64d transVects, CvMatr64d rotMatrs, int useIntrinsicGuess ); extern "C" void cvFindExtrinsicCameraParams( int numPoints, CvSize imageSize, CvPoint2D32f* imagePoints32f, CvPoint3D32f* objectPoints32f, CvVect32f focalLength32f, CvPoint2D32f principalPoint32f, CvVect32f distortion32f, CvVect32f rotVect32f, CvVect32f transVect32f); extern "C" void cvFindExtrinsicCameraParams_64d( int numPoints, CvSize imageSize, CvPoint2D64d* imagePoints, CvPoint3D64d* objectPoints, CvVect64d focalLength, CvPoint2D64d principalPoint, CvVect64d distortion, CvVect64d rotVect, CvVect64d transVect); extern "C" void cvRodrigues( CvMat* rotMatrix, CvMat* rotVector, CvMat* jacobian, int convType); extern "C" void cvProjectPoints( int numPoints, CvPoint3D64d* objectPoints, CvVect64d rotVect, CvVect64d transVect, CvVect64d focalLength, CvPoint2D64d principalPoint, CvVect64d distortion, CvPoint2D64d* imagePoints, CvVect64d derivPointsRot, CvVect64d derivPointsTrans, CvVect64d derivPointsFocal, CvVect64d derivPointsPrincipal, CvVect64d derivPointsDistort); extern "C" void cvProjectPointsSimple( int numPoints, CvPoint3D64d * objectPoints, CvVect64d rotMatr, CvVect64d transVect, CvMatr64d cameraMatrix, CvVect64d distortion, CvPoint2D64d* imagePoints); extern "C" int cvFindChessBoardCornerGuesses( const CvArr* arr, CvArr* thresh, CvMemStorage* storage, CvSize etalon_size, CvPoint2D32f* corners, int *corner_count = __null); typedef struct CvPOSITObject CvPOSITObject; extern "C" CvPOSITObject* cvCreatePOSITObject( CvPoint3D32f* points, int numPoints ); extern "C" void cvPOSIT( CvPOSITObject* pObject, CvPoint2D32f* imagePoints, double focalLength, CvTermCriteria criteria, CvMatr32f rotation, CvVect32f translation); extern "C" void cvReleasePOSITObject( CvPOSITObject** ppObject ); extern "C" void cvMake2DPoints(CvMat* srcPoint,CvMat* dstPoint); extern "C" void cvMake3DPoints(CvMat* srcPoint,CvMat* dstPoint); extern "C" int cvSolveCubic(CvMat* coeffs,CvMat* result); extern "C" int cvFindFundamentalMat( CvMat* points1, CvMat* points2, CvMat* fundMatr, int method, double param1, double param2, CvMat* status ); extern "C" void cvComputeCorrespondEpilines(CvMat* points, int pointImageID, CvMat* fundMatr, CvMat* corrLines); extern "C" void cvMakeScanlines( const CvMatrix3* matrix, CvSize imgSize, int* scanlines_1, int* scanlines_2, int* lens_1, int* lens_2, int* numlines); extern "C" void cvPreWarpImage( int numLines, IplImage* img, uchar* dst, int* dst_nums, int* scanlines); extern "C" void cvFindRuns( int numLines, uchar* prewarp_1, uchar* prewarp_2, int* line_lens_1, int* line_lens_2, int* runs_1, int* runs_2, int* num_runs_1, int* num_runs_2); extern "C" void cvDynamicCorrespondMulti( int lines, int* first, int* first_runs, int* second, int* second_runs, int* first_corr, int* second_corr); extern "C" void cvMakeAlphaScanlines( int* scanlines_1, int* scanlines_2, int* scanlines_a, int* lens, int numlines, float alpha); extern "C" void cvMorphEpilinesMulti( int lines, uchar* first_pix, int* first_num, uchar* second_pix, int* second_num, uchar* dst_pix, int* dst_num, float alpha, int* first, int* first_runs, int* second, int* second_runs, int* first_corr, int* second_corr); extern "C" void cvPostWarpImage( int numLines, uchar* src, int* src_nums, IplImage* img, int* scanlines); extern "C" void cvDeleteMoire( IplImage* img); extern "C" int cvLoadPrimitives( const char* proc_type = __null ); extern "C" int cvFillInternalFuncsTable(void* table); extern "C" void cvGetLibraryInfo( const char** version, int* loaded, const char** loaded_modules ); extern "C" CVStatus cvGetErrStatus( void ); extern "C" void cvSetErrStatus( CVStatus status ); extern "C" int cvGetErrMode( void ); extern "C" void cvSetErrMode( int mode ); extern "C" CVStatus cvError( CVStatus code, const char *func, const char *context, const char *file, int line); extern "C" const char* cvErrorStr( CVStatus status ); extern "C" CVErrorCallBack cvRedirectError(CVErrorCallBack cvErrorFunc); # 2838 "../include/cv.h" extern "C" CVStatus cvNulDevReport( CVStatus status, const char *funcName, const char *context, const char *file, int line ); extern "C" CVStatus cvStdErrReport( CVStatus status, const char *funcName, const char *context, const char *file, int line ); extern "C" CVStatus cvGuiBoxReport( CVStatus status, const char *funcName, const char *context, const char *file, int line); extern "C" void cvGetCallStack(CvStackRecord** stack, int* size); extern "C" void cvStartProfile( const char* call, const char* file, int line ); extern "C" void cvEndProfile( const char* file, int line ); extern "C" { typedef void (* CvStartProfileFunc)(const char*,const char*,int); }; extern "C" { typedef void (* CvEndProfileFunc)(const char*,int); }; extern "C" void cvSetProfile( CvStartProfileFunc startProfile, CvEndProfileFunc endProfile ); extern "C" void cvRemoveProfile(); extern "C" { typedef void* ( *CvAllocFunc)(size_t, const char*, int); }; extern "C" { typedef int ( *CvFreeFunc)(void**, const char*, int); }; extern "C" void cvSetMemoryManager( CvAllocFunc allocFunc = 0, CvFreeFunc freeFunc = 0); extern "C" { typedef IplImage* (* Cv_iplCreateImageHeader) (int,int,int,char*,char*,int,int,int,int,int, IplROI*,IplImage*,void*,IplTileInfo*); }; extern "C" { typedef void (* Cv_iplAllocateImageData)(IplImage*,int,int); }; extern "C" { typedef void (* Cv_iplDeallocate)(IplImage*,int); }; extern "C" { typedef IplROI* (* Cv_iplCreateROI)(int,int,int,int,int); }; extern "C" { typedef IplImage* (* Cv_iplCloneImage)(const IplImage*); }; extern "C" void cvSetIPLAllocators( Cv_iplCreateImageHeader createHeader, Cv_iplAllocateImageData allocateData, Cv_iplDeallocate deallocate, Cv_iplCreateROI createROI, Cv_iplCloneImage cloneImage ); # 2906 "../include/cv.h" typedef struct CvFileStorage CvFileStorage; # 2917 "../include/cv.h" extern "C" CvFileStorage* cvOpenFileStorage( const char* filename, CvMemStorage* storage, int flags ); extern "C" void cvReleaseFileStorage( CvFileStorage** storage ); typedef struct CvAttrList { char** attr; struct CvAttrList* next; } CvAttrList; inline CvAttrList cvAttrList( char** attr = __null, CvAttrList* next = __null ); inline CvAttrList cvAttrList( char** attr, CvAttrList* next ) { CvAttrList l; l.attr = attr; l.next = next; return l; } extern "C" const char* cvAttrValue( const CvAttrList* attr, const char* attr_name ); struct CvTypeInfo; typedef struct CvFileNode { int flags; int header_size; struct CvFileNode* h_prev; struct CvFileNode* h_next; struct CvFileNode* v_prev; struct CvFileNode* v_next; const char* tagname; const char* name; CvAttrList* attr; struct CvFileNode* hash_next; unsigned hash_val; int elem_size; struct CvTypeInfo* typeinfo; const char* body; const void* content; } CvFileNode; extern "C" void cvWrite( CvFileStorage* storage, const char* name, const void* struct_ptr, CvAttrList attributes = cvAttrList(), int flags = 0); extern "C" void cvStartWriteStruct( CvFileStorage* storage, const char* name, const char* type_name = __null, const void* struct_ptr = __null, CvAttrList attributes = cvAttrList()); extern "C" void cvEndWriteStruct( CvFileStorage* storage ); extern "C" void cvWriteElem( CvFileStorage* storage, const char* name, const char* elem_spec, const void* data_ptr ); extern "C" CvFileNode* cvGetFileNode( CvFileStorage* storage, const char* name ); extern "C" const void* cvReadFileNode( CvFileStorage* storage, CvFileNode* node, CvAttrList** attr_list = __null); inline const void* cvRead( CvFileStorage* storage, const char* name, CvAttrList** attr_list = __null ); inline const void* cvRead( CvFileStorage* storage, const char* name, CvAttrList** attr_list ) { return cvReadFileNode( storage, cvGetFileNode( storage, name ), attr_list ); } extern "C" int cvReadElem( CvFileStorage* storage, const char* name, void* data_ptr ); extern "C" { typedef int ( *CvIsInstanceFunc)(const void* struct_ptr); }; extern "C" { typedef void ( *CvReleaseFunc)(void** struct_dblptr); }; extern "C" { typedef void* ( *CvReadFunc)( CvFileStorage* storage, CvFileNode* node ); }; extern "C" { typedef void ( *CvWriteFunc)( CvFileStorage* storage, const char* name, const void* struct_ptr, CvAttrList attributes, int flags ); }; extern "C" { typedef void* ( *CvCloneFunc)( const void* struct_ptr); }; typedef struct CvTypeInfo { int flags; int header_size; struct CvTypeInfo* prev; struct CvTypeInfo* next; const char* type_name; CvIsInstanceFunc is_instance; CvReleaseFunc release; CvReadFunc read; CvWriteFunc write; CvCloneFunc clone; } CvTypeInfo; extern "C" CvTypeInfo* cvRegisterType( CvTypeInfo* info_data ); extern "C" void cvUnregisterType( const char* type_name ); extern "C" CvTypeInfo* cvFirstType(void); extern "C" CvTypeInfo* cvFindType( const char* type_name ); extern "C" CvTypeInfo* cvTypeOf( const void* struct_ptr ); extern "C" void cvRelease( void** struct_ptr ); extern "C" void* cvClone( const void* struct_ptr ); } # 1 "../include/cvcompat.h" 1 # 50 "../include/cvcompat.h" # 1 "/usr/include/string.h" 1 3 4 # 28 "/usr/include/string.h" 3 4 extern "C" { # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/stddef.h" 1 3 4 # 34 "/usr/include/string.h" 2 3 4 extern void *memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) throw (); extern void *memmove (void *__dest, __const void *__src, size_t __n) throw (); extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, int __c, size_t __n) throw (); extern void *memset (void *__s, int __c, size_t __n) throw (); extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) throw () __attribute__ ((__pure__)); extern void *memchr (__const void *__s, int __c, size_t __n) throw () __attribute__ ((__pure__)); extern void *rawmemchr (__const void *__s, int __c) throw () __attribute__ ((__pure__)); extern void *memrchr (__const void *__s, int __c, size_t __n) throw () __attribute__ ((__pure__)); extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) throw (); extern char *strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) throw (); extern char *strcat (char *__restrict __dest, __const char *__restrict __src) throw (); extern char *strncat (char *__restrict __dest, __const char *__restrict __src, size_t __n) throw (); extern int strcmp (__const char *__s1, __const char *__s2) throw () __attribute__ ((__pure__)); extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) throw () __attribute__ ((__pure__)); extern int strcoll (__const char *__s1, __const char *__s2) throw () __attribute__ ((__pure__)); extern size_t strxfrm (char *__restrict __dest, __const char *__restrict __src, size_t __n) throw (); # 117 "/usr/include/string.h" 3 4 extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) throw () __attribute__ ((__pure__)); extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, __locale_t __l) throw (); extern char *strdup (__const char *__s) throw () __attribute__ ((__malloc__)); extern char *strndup (__const char *__string, size_t __n) throw () __attribute__ ((__malloc__)); # 160 "/usr/include/string.h" 3 4 extern char *strchr (__const char *__s, int __c) throw () __attribute__ ((__pure__)); extern char *strrchr (__const char *__s, int __c) throw () __attribute__ ((__pure__)); extern char *strchrnul (__const char *__s, int __c) throw () __attribute__ ((__pure__)); extern size_t strcspn (__const char *__s, __const char *__reject) throw () __attribute__ ((__pure__)); extern size_t strspn (__const char *__s, __const char *__accept) throw () __attribute__ ((__pure__)); extern char *strpbrk (__const char *__s, __const char *__accept) throw () __attribute__ ((__pure__)); extern char *strstr (__const char *__haystack, __const char *__needle) throw () __attribute__ ((__pure__)); extern char *strtok (char *__restrict __s, __const char *__restrict __delim) throw (); extern char *__strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) throw (); extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) throw (); extern char *strcasestr (__const char *__haystack, __const char *__needle) throw () __attribute__ ((__pure__)); extern void *memmem (__const void *__haystack, size_t __haystacklen, __const void *__needle, size_t __needlelen) throw () __attribute__ ((__pure__)); extern void *__mempcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) throw (); extern void *mempcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) throw (); extern size_t strlen (__const char *__s) throw () __attribute__ ((__pure__)); extern size_t strnlen (__const char *__string, size_t __maxlen) throw () __attribute__ ((__pure__)); extern char *strerror (int __errnum) throw (); extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) throw (); extern void __bzero (void *__s, size_t __n) throw (); extern void bcopy (__const void *__src, void *__dest, size_t __n) throw (); extern void bzero (void *__s, size_t __n) throw (); extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) throw () __attribute__ ((__pure__)); extern char *index (__const char *__s, int __c) throw () __attribute__ ((__pure__)); extern char *rindex (__const char *__s, int __c) throw () __attribute__ ((__pure__)); extern int ffs (int __i) throw () __attribute__ ((__const__)); extern int ffsl (long int __l) throw () __attribute__ ((__const__)); __extension__ extern int ffsll (long long int __ll) throw () __attribute__ ((__const__)); extern int strcasecmp (__const char *__s1, __const char *__s2) throw () __attribute__ ((__pure__)); extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) throw () __attribute__ ((__pure__)); extern int strcasecmp_l (__const char *__s1, __const char *__s2, __locale_t __loc) throw () __attribute__ ((__pure__)); extern int strncasecmp_l (__const char *__s1, __const char *__s2, size_t __n, __locale_t __loc) throw () __attribute__ ((__pure__)); extern char *strsep (char **__restrict __stringp, __const char *__restrict __delim) throw (); extern int strverscmp (__const char *__s1, __const char *__s2) throw () __attribute__ ((__pure__)); extern char *strsignal (int __sig) throw (); extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) throw (); extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) throw (); extern char *__stpncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) throw (); extern char *stpncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) throw (); extern char *strfry (char *__string) throw (); extern void *memfrob (void *__s, size_t __n) throw (); extern char *basename (__const char *__filename) throw (); # 379 "/usr/include/string.h" 3 4 } # 51 "../include/cvcompat.h" 2 # 104 "../include/cvcompat.h" inline CvMat cvMatArray( int rows, int cols, int type, int count, void* data = 0); inline CvMat cvMatArray( int rows, int cols, int type, int count, void* data ) { return cvMat( rows*count, cols, type, data ); } # 122 "../include/cvcompat.h" inline double cvMean( const CvArr* image, const CvArr* mask = 0); inline double cvMean( const CvArr* image, const CvArr* mask ) { CvScalar mean = cvAvg( image, mask ); return mean.val[0]; } inline double cvSumPixels( const CvArr* image ); inline double cvSumPixels( const CvArr* image ) { CvScalar scalar = cvSum( image ); return scalar.val[0]; } inline void cvMean_StdDev( const CvArr* image, double* mean, double* sdv, const CvArr* mask = 0); inline void cvMean_StdDev( const CvArr* image, double* mean, double* sdv, const CvArr* mask ) { CvScalar _mean, _sdv; cvAvgSdv( image, &_mean, &_sdv, mask ); if( mean ) *mean = _mean.val[0]; if( sdv ) *sdv = _sdv.val[0]; } inline void cvmPerspectiveProject( const CvArr* mat, const CvArr* src, CvArr* dst ); inline void cvmPerspectiveProject( const CvArr* mat, const CvArr* src, CvArr* dst ) { CvMat tsrc, tdst; cvReshape( src, &tsrc, 3, 0 ); cvReshape( dst, &tdst, 3, 0 ); cvPerspectiveTransform( &tsrc, &tdst, mat ); } inline void cvFillImage( CvArr* mat, double color ); inline void cvFillImage( CvArr* mat, double color ) { CvPoint left_top = { 0, 0 }, right_bottom = { 0, 0 }; cvGetRawData( mat, 0, 0, (CvSize*)&right_bottom ); right_bottom.x--; right_bottom.y--; cvRectangle( mat, left_top, right_bottom, color, -1 ); } inline void cvbRand( CvRandState* state, float* dst, int len ); inline void cvbRand( CvRandState* state, float* dst, int len ) { CvMat mat = cvMat( 1, len, 4, (void*)dst ); cvRand( state, &mat ); } inline void cvbCartToPolar( const float* y, const float* x, float* magnitude, float* angle, int len ); inline void cvbCartToPolar( const float* y, const float* x, float* magnitude, float* angle, int len ) { CvMat mx = cvMat( 1, len, 4, (void*)x ); CvMat my = mx; CvMat mm = mx; CvMat ma = mx; my.data.fl = (float*)y; mm.data.fl = (float*)magnitude; ma.data.fl = (float*)angle; cvCartToPolar( &mx, &my, &mm, angle ? &ma : __null, 1 ); } inline void cvbFastArctan( const float* y, const float* x, float* angle, int len ); inline void cvbFastArctan( const float* y, const float* x, float* angle, int len ) { CvMat mx = cvMat( 1, len, 4, (void*)x ); CvMat my = mx; CvMat ma = mx; my.data.fl = (float*)y; ma.data.fl = (float*)angle; cvCartToPolar( &mx, &my, __null, &ma, 1 ); } inline void cvbSqrt( const float* x, float* y, int len ); inline void cvbSqrt( const float* x, float* y, int len ) { CvMat mx = cvMat( 1, len, 4, (void*)x ); CvMat my = mx; my.data.fl = (float*)y; cvPow( &mx, &my, 0.5 ); } inline void cvbInvSqrt( const float* x, float* y, int len ); inline void cvbInvSqrt( const float* x, float* y, int len ) { CvMat mx = cvMat( 1, len, 4, (void*)x ); CvMat my = mx; my.data.fl = (float*)y; cvPow( &mx, &my, -0.5 ); } inline void cvbReciprocal( const float* x, float* y, int len ); inline void cvbReciprocal( const float* x, float* y, int len ) { CvMat mx = cvMat( 1, len, 4, (void*)x ); CvMat my = mx; my.data.fl = (float*)y; cvPow( &mx, &my, -1 ); } inline void cvbFastExp( const float* x, double* y, int len ); inline void cvbFastExp( const float* x, double* y, int len ) { CvMat mx = cvMat( 1, len, 4, (void*)x ); CvMat my = cvMat( 1, len, 5, y ); cvExp( &mx, &my ); } inline void cvbFastLog( const double* x, float* y, int len ); inline void cvbFastLog( const double* x, float* y, int len ) { CvMat mx = cvMat( 1, len, 5, (void*)x ); CvMat my = cvMat( 1, len, 4, y ); cvLog( &mx, &my ); } inline CvRect cvContourBoundingRect( const void* point_set, int update = 0); inline CvRect cvContourBoundingRect( const void* point_set, int update ) { return cvBoundingRect( point_set, update ); } inline double cvPseudoInverse( const CvArr* src, CvArr* dst, int flags = 0); inline double cvPseudoInverse( const CvArr* src, CvArr* dst, int flags ) { ; return cvInvert( src, dst, 1 ); } # 328 "../include/cvcompat.h" inline void cvConvexHull( CvPoint* points, int num_points, CvRect* bound_rect, int orientation, int* hull, int* hullsize ); inline void cvConvexHull( CvPoint* points, int num_points, CvRect* bound_rect, int orientation, int* hull, int* hullsize ) { CvMat points1 = cvMat( 1, num_points, (3 + 1*8), points ); CvMat hull1 = cvMat( 1, num_points, (3 + 0*8), hull ); ; cvConvexHull2( &points1, &hull1, orientation, 0 ); *hullsize = hull1.cols; } # 356 "../include/cvcompat.h" inline void cvMinAreaRect( CvPoint* points, int n, int left, int bottom, int right, int top, CvPoint2D32f* anchor, CvPoint2D32f* vect1, CvPoint2D32f* vect2 ); inline void cvMinAreaRect( CvPoint* points, int n, int left, int bottom, int right, int top, CvPoint2D32f* anchor, CvPoint2D32f* vect1, CvPoint2D32f* vect2 ) { CvMat mat = cvMat( 1, n, (3 + 1*8), points ); CvBox2D box = cvMinAreaRect2( &mat, 0 ); CvPoint2D32f pt[4]; cvBoxPoints( box, pt ); *anchor = pt[0]; vect1->x = pt[1].x - pt[0].x; vect1->y = pt[1].y - pt[0].y; vect2->x = pt[3].x - pt[0].x; vect2->y = pt[3].y - pt[0].y; ; } inline void cvFitLine3D( CvPoint3D32f* points, int count, CvDisType dist, void *param, float reps, float aeps, float* line ); inline void cvFitLine3D( CvPoint3D32f* points, int count, CvDisType dist, void *param, float reps, float aeps, float* line ) { CvMat mat = cvMat( 1, count, (4 + 2*8), points ); float _param = param != __null ? *(float*)param : 0.f; (static_cast (0)); cvFitLine( &mat, dist, _param, reps, aeps, line ); } inline void cvFitLine2D( CvPoint2D32f* points, int count, CvDisType dist, void *param, float reps, float aeps, float* line ); inline void cvFitLine2D( CvPoint2D32f* points, int count, CvDisType dist, void *param, float reps, float aeps, float* line ) { CvMat mat = cvMat( 1, count, (4 + 1*8), points ); float _param = param != __null ? *(float*)param : 0.f; (static_cast (0)); cvFitLine( &mat, dist, _param, reps, aeps, line ); } inline void cvFitEllipse( const CvPoint2D32f* points, int count, CvBox2D* box ); inline void cvFitEllipse( const CvPoint2D32f* points, int count, CvBox2D* box ) { CvMat mat = cvMat( 1, count, (4 + 1*8), (void*)points ); *box = cvFitEllipse2( &mat ); } # 440 "../include/cvcompat.h" inline int cvHoughLines( CvArr* image, double rho, double theta, int threshold, float* lines, int linesNumber ); inline int cvHoughLines( CvArr* image, double rho, double theta, int threshold, float* lines, int linesNumber ) { CvMat linesMat = cvMat( 1, linesNumber, (4 + 1*8), lines ); cvHoughLines2( image, &linesMat, 0, rho, theta, threshold, 0, 0 ); return linesMat.rows; } inline int cvHoughLinesP( CvArr* image, double rho, double theta, int threshold, int lineLength, int lineGap, int* lines, int linesNumber ); inline int cvHoughLinesP( CvArr* image, double rho, double theta, int threshold, int lineLength, int lineGap, int* lines, int linesNumber ) { CvMat linesMat = cvMat( 1, linesNumber, (3 + 3*8), lines ); cvHoughLines2( image, &linesMat, 1, rho, theta, threshold, lineLength, lineGap ); return linesMat.rows; } inline int cvHoughLinesSDiv( CvArr* image, double rho, int srn, double theta, int stn, int threshold, float* lines, int linesNumber ); inline int cvHoughLinesSDiv( CvArr* image, double rho, int srn, double theta, int stn, int threshold, float* lines, int linesNumber ) { CvMat linesMat = cvMat( 1, linesNumber, (4 + 1*8), lines ); cvHoughLines2( image, &linesMat, 2, rho, theta, threshold, srn, stn ); return linesMat.rows; } inline void cvFindFundamentalMatrix( int* points1, int* points2, int numpoints, int method, float* matrix ); inline void cvFindFundamentalMatrix( int* points1, int* points2, int numpoints, int method, float* matrix ) { CvMat* pointsMat1; CvMat* pointsMat2; CvMat fundMatr = cvMat(3,3,4,matrix); int i, curr = 0; method = method; pointsMat1 = cvCreateMat(3,numpoints,5); pointsMat2 = cvCreateMat(3,numpoints,5); for( i = 0; i < numpoints; i++ ) { cvmSet(pointsMat1,0,i,points1[curr]); cvmSet(pointsMat1,1,i,points1[curr+1]); cvmSet(pointsMat1,2,i,1.0); cvmSet(pointsMat2,0,i,points2[curr]); cvmSet(pointsMat2,1,i,points2[curr+1]); cvmSet(pointsMat2,2,i,1.0); curr += 2; } cvFindFundamentalMat(pointsMat1,pointsMat2,&fundMatr,3,1,0.99,0); cvReleaseMat(&pointsMat1); cvReleaseMat(&pointsMat2); } inline float cvCalcEMD( const float* signature1, int size1, const float* signature2, int size2, int dims, CvDisType dist_type = CV_DIST_L2, CvDistanceFunction dist_func = 0, float* lower_bound = 0, void* user_param = 0); inline float cvCalcEMD( const float* signature1, int size1, const float* signature2, int size2, int dims, CvDisType dist_type, CvDistanceFunction dist_func, float* lower_bound, void* user_param ) { CvMat sign1 = cvMat( size1, dims + 1, (4 + 0*8), (void*)signature1 ); CvMat sign2 = cvMat( size2, dims + 1, (4 + 0*8), (void*)signature2 ); return cvCalcEMD2( &sign1, &sign2, dist_type, dist_func, 0, 0, lower_bound, user_param ); } inline void cvKMeans( int num_clusters, float** samples, int num_samples, int vec_size, CvTermCriteria termcrit, int* cluster_idx ); inline void cvKMeans( int num_clusters, float** samples, int num_samples, int vec_size, CvTermCriteria termcrit, int* cluster_idx ) { CvMat* samples_mat = cvCreateMat( num_samples, vec_size, (4 + 0*8) ); CvMat cluster_idx_mat = cvMat( num_samples, 1, (3 + 0*8), cluster_idx ); int i; for( i = 0; i < num_samples; i++ ) memcpy( samples_mat->data.fl + i*vec_size, samples[i], vec_size*sizeof(float)); cvKMeans2( samples_mat, num_clusters, &cluster_idx_mat, termcrit ); cvReleaseMat( &samples_mat ); } extern "C" void cvCreateHandMask( CvSeq* hand_points, IplImage *img_mask, CvRect *roi); extern "C" void cvFindHandRegion (CvPoint3D32f* points, int count, CvSeq* indexs, float* line, CvSize2D32f size, int flag, CvPoint3D32f* center, CvMemStorage* storage, CvSeq **numbers); extern "C" void cvFindHandRegionA( CvPoint3D32f* points, int count, CvSeq* indexs, float* line, CvSize2D32f size, int jc, CvPoint3D32f* center, CvMemStorage* storage, CvSeq **numbers); typedef struct _CvPixelPosition8u { unsigned char* currline; unsigned char* topline; unsigned char* bottomline; int x; int width; int height; int step; int step_arr[3]; } CvPixelPosition8u; typedef struct _CvPixelPosition8s { char* currline; char* topline; char* bottomline; int x; int width; int height; int step; int step_arr[3]; } CvPixelPosition8s; typedef struct _CvPixelPosition32f { float* currline; float* topline; float* bottomline; int x; int width; int height; int step; int step_arr[3]; } CvPixelPosition32f; # 3050 "../include/cv.h" 2 # 80 "_cv.h" 2 # 1 "/usr/include/math.h" 1 3 4 # 29 "/usr/include/math.h" 3 4 extern "C" { # 1 "/usr/include/bits/huge_val.h" 1 3 4 # 34 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/nan.h" 1 3 4 # 38 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/mathdef.h" 1 3 4 # 29 "/usr/include/bits/mathdef.h" 3 4 typedef long double float_t; typedef long double double_t; # 41 "/usr/include/math.h" 2 3 4 # 65 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern double acos (double __x) throw (); extern double __acos (double __x) throw (); extern double asin (double __x) throw (); extern double __asin (double __x) throw (); extern double atan (double __x) throw (); extern double __atan (double __x) throw (); extern double atan2 (double __y, double __x) throw (); extern double __atan2 (double __y, double __x) throw (); extern double cos (double __x) throw (); extern double __cos (double __x) throw (); extern double sin (double __x) throw (); extern double __sin (double __x) throw (); extern double tan (double __x) throw (); extern double __tan (double __x) throw (); extern double cosh (double __x) throw (); extern double __cosh (double __x) throw (); extern double sinh (double __x) throw (); extern double __sinh (double __x) throw (); extern double tanh (double __x) throw (); extern double __tanh (double __x) throw (); extern void sincos (double __x, double *__sinx, double *__cosx) throw (); extern void __sincos (double __x, double *__sinx, double *__cosx) throw (); extern double acosh (double __x) throw (); extern double __acosh (double __x) throw (); extern double asinh (double __x) throw (); extern double __asinh (double __x) throw (); extern double atanh (double __x) throw (); extern double __atanh (double __x) throw (); extern double exp (double __x) throw (); extern double __exp (double __x) throw (); extern double frexp (double __x, int *__exponent) throw (); extern double __frexp (double __x, int *__exponent) throw (); extern double ldexp (double __x, int __exponent) throw (); extern double __ldexp (double __x, int __exponent) throw (); extern double log (double __x) throw (); extern double __log (double __x) throw (); extern double log10 (double __x) throw (); extern double __log10 (double __x) throw (); extern double modf (double __x, double *__iptr) throw (); extern double __modf (double __x, double *__iptr) throw (); extern double exp10 (double __x) throw (); extern double __exp10 (double __x) throw (); extern double pow10 (double __x) throw (); extern double __pow10 (double __x) throw (); extern double expm1 (double __x) throw (); extern double __expm1 (double __x) throw (); extern double log1p (double __x) throw (); extern double __log1p (double __x) throw (); extern double logb (double __x) throw (); extern double __logb (double __x) throw (); extern double exp2 (double __x) throw (); extern double __exp2 (double __x) throw (); extern double log2 (double __x) throw (); extern double __log2 (double __x) throw (); extern double pow (double __x, double __y) throw (); extern double __pow (double __x, double __y) throw (); extern double sqrt (double __x) throw (); extern double __sqrt (double __x) throw (); extern double hypot (double __x, double __y) throw (); extern double __hypot (double __x, double __y) throw (); extern double cbrt (double __x) throw (); extern double __cbrt (double __x) throw (); extern double ceil (double __x) throw () __attribute__ ((__const__)); extern double __ceil (double __x) throw () __attribute__ ((__const__)); extern double fabs (double __x) throw () __attribute__ ((__const__)); extern double __fabs (double __x) throw () __attribute__ ((__const__)); extern double floor (double __x) throw () __attribute__ ((__const__)); extern double __floor (double __x) throw () __attribute__ ((__const__)); extern double fmod (double __x, double __y) throw (); extern double __fmod (double __x, double __y) throw (); extern int __isinf (double __value) throw () __attribute__ ((__const__)); extern int __finite (double __value) throw () __attribute__ ((__const__)); extern int isinf (double __value) throw () __attribute__ ((__const__)); extern int finite (double __value) throw () __attribute__ ((__const__)); extern double drem (double __x, double __y) throw (); extern double __drem (double __x, double __y) throw (); extern double significand (double __x) throw (); extern double __significand (double __x) throw (); extern double copysign (double __x, double __y) throw () __attribute__ ((__const__)); extern double __copysign (double __x, double __y) throw () __attribute__ ((__const__)); extern double nan (__const char *__tagb) throw () __attribute__ ((__const__)); extern double __nan (__const char *__tagb) throw () __attribute__ ((__const__)); extern int __isnan (double __value) throw () __attribute__ ((__const__)); extern int isnan (double __value) throw () __attribute__ ((__const__)); extern double j0 (double) throw (); extern double __j0 (double) throw (); extern double j1 (double) throw (); extern double __j1 (double) throw (); extern double jn (int, double) throw (); extern double __jn (int, double) throw (); extern double y0 (double) throw (); extern double __y0 (double) throw (); extern double y1 (double) throw (); extern double __y1 (double) throw (); extern double yn (int, double) throw (); extern double __yn (int, double) throw (); extern double erf (double) throw (); extern double __erf (double) throw (); extern double erfc (double) throw (); extern double __erfc (double) throw (); extern double lgamma (double) throw (); extern double __lgamma (double) throw (); extern double tgamma (double) throw (); extern double __tgamma (double) throw (); extern double gamma (double) throw (); extern double __gamma (double) throw (); extern double lgamma_r (double, int *__signgamp) throw (); extern double __lgamma_r (double, int *__signgamp) throw (); extern double rint (double __x) throw (); extern double __rint (double __x) throw (); extern double nextafter (double __x, double __y) throw () __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) throw () __attribute__ ((__const__)); extern double nexttoward (double __x, long double __y) throw () __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) throw () __attribute__ ((__const__)); extern double remainder (double __x, double __y) throw (); extern double __remainder (double __x, double __y) throw (); extern double scalbn (double __x, int __n) throw (); extern double __scalbn (double __x, int __n) throw (); extern int ilogb (double __x) throw (); extern int __ilogb (double __x) throw (); extern double scalbln (double __x, long int __n) throw (); extern double __scalbln (double __x, long int __n) throw (); extern double nearbyint (double __x) throw (); extern double __nearbyint (double __x) throw (); extern double round (double __x) throw () __attribute__ ((__const__)); extern double __round (double __x) throw () __attribute__ ((__const__)); extern double trunc (double __x) throw () __attribute__ ((__const__)); extern double __trunc (double __x) throw () __attribute__ ((__const__)); extern double remquo (double __x, double __y, int *__quo) throw (); extern double __remquo (double __x, double __y, int *__quo) throw (); extern long int lrint (double __x) throw (); extern long int __lrint (double __x) throw (); extern long long int llrint (double __x) throw (); extern long long int __llrint (double __x) throw (); extern long int lround (double __x) throw (); extern long int __lround (double __x) throw (); extern long long int llround (double __x) throw (); extern long long int __llround (double __x) throw (); extern double fdim (double __x, double __y) throw (); extern double __fdim (double __x, double __y) throw (); extern double fmax (double __x, double __y) throw (); extern double __fmax (double __x, double __y) throw (); extern double fmin (double __x, double __y) throw (); extern double __fmin (double __x, double __y) throw (); extern int __fpclassify (double __value) throw () __attribute__ ((__const__)); extern int __signbit (double __value) throw () __attribute__ ((__const__)); extern double fma (double __x, double __y, double __z) throw (); extern double __fma (double __x, double __y, double __z) throw (); extern double scalb (double __x, double __n) throw (); extern double __scalb (double __x, double __n) throw (); # 66 "/usr/include/math.h" 2 3 4 # 88 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern float acosf (float __x) throw (); extern float __acosf (float __x) throw (); extern float asinf (float __x) throw (); extern float __asinf (float __x) throw (); extern float atanf (float __x) throw (); extern float __atanf (float __x) throw (); extern float atan2f (float __y, float __x) throw (); extern float __atan2f (float __y, float __x) throw (); extern float cosf (float __x) throw (); extern float __cosf (float __x) throw (); extern float sinf (float __x) throw (); extern float __sinf (float __x) throw (); extern float tanf (float __x) throw (); extern float __tanf (float __x) throw (); extern float coshf (float __x) throw (); extern float __coshf (float __x) throw (); extern float sinhf (float __x) throw (); extern float __sinhf (float __x) throw (); extern float tanhf (float __x) throw (); extern float __tanhf (float __x) throw (); extern void sincosf (float __x, float *__sinx, float *__cosx) throw (); extern void __sincosf (float __x, float *__sinx, float *__cosx) throw (); extern float acoshf (float __x) throw (); extern float __acoshf (float __x) throw (); extern float asinhf (float __x) throw (); extern float __asinhf (float __x) throw (); extern float atanhf (float __x) throw (); extern float __atanhf (float __x) throw (); extern float expf (float __x) throw (); extern float __expf (float __x) throw (); extern float frexpf (float __x, int *__exponent) throw (); extern float __frexpf (float __x, int *__exponent) throw (); extern float ldexpf (float __x, int __exponent) throw (); extern float __ldexpf (float __x, int __exponent) throw (); extern float logf (float __x) throw (); extern float __logf (float __x) throw (); extern float log10f (float __x) throw (); extern float __log10f (float __x) throw (); extern float modff (float __x, float *__iptr) throw (); extern float __modff (float __x, float *__iptr) throw (); extern float exp10f (float __x) throw (); extern float __exp10f (float __x) throw (); extern float pow10f (float __x) throw (); extern float __pow10f (float __x) throw (); extern float expm1f (float __x) throw (); extern float __expm1f (float __x) throw (); extern float log1pf (float __x) throw (); extern float __log1pf (float __x) throw (); extern float logbf (float __x) throw (); extern float __logbf (float __x) throw (); extern float exp2f (float __x) throw (); extern float __exp2f (float __x) throw (); extern float log2f (float __x) throw (); extern float __log2f (float __x) throw (); extern float powf (float __x, float __y) throw (); extern float __powf (float __x, float __y) throw (); extern float sqrtf (float __x) throw (); extern float __sqrtf (float __x) throw (); extern float hypotf (float __x, float __y) throw (); extern float __hypotf (float __x, float __y) throw (); extern float cbrtf (float __x) throw (); extern float __cbrtf (float __x) throw (); extern float ceilf (float __x) throw () __attribute__ ((__const__)); extern float __ceilf (float __x) throw () __attribute__ ((__const__)); extern float fabsf (float __x) throw () __attribute__ ((__const__)); extern float __fabsf (float __x) throw () __attribute__ ((__const__)); extern float floorf (float __x) throw () __attribute__ ((__const__)); extern float __floorf (float __x) throw () __attribute__ ((__const__)); extern float fmodf (float __x, float __y) throw (); extern float __fmodf (float __x, float __y) throw (); extern int __isinff (float __value) throw () __attribute__ ((__const__)); extern int __finitef (float __value) throw () __attribute__ ((__const__)); extern int isinff (float __value) throw () __attribute__ ((__const__)); extern int finitef (float __value) throw () __attribute__ ((__const__)); extern float dremf (float __x, float __y) throw (); extern float __dremf (float __x, float __y) throw (); extern float significandf (float __x) throw (); extern float __significandf (float __x) throw (); extern float copysignf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) throw () __attribute__ ((__const__)); extern float nanf (__const char *__tagb) throw () __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) throw () __attribute__ ((__const__)); extern int __isnanf (float __value) throw () __attribute__ ((__const__)); extern int isnanf (float __value) throw () __attribute__ ((__const__)); extern float j0f (float) throw (); extern float __j0f (float) throw (); extern float j1f (float) throw (); extern float __j1f (float) throw (); extern float jnf (int, float) throw (); extern float __jnf (int, float) throw (); extern float y0f (float) throw (); extern float __y0f (float) throw (); extern float y1f (float) throw (); extern float __y1f (float) throw (); extern float ynf (int, float) throw (); extern float __ynf (int, float) throw (); extern float erff (float) throw (); extern float __erff (float) throw (); extern float erfcf (float) throw (); extern float __erfcf (float) throw (); extern float lgammaf (float) throw (); extern float __lgammaf (float) throw (); extern float tgammaf (float) throw (); extern float __tgammaf (float) throw (); extern float gammaf (float) throw (); extern float __gammaf (float) throw (); extern float lgammaf_r (float, int *__signgamp) throw (); extern float __lgammaf_r (float, int *__signgamp) throw (); extern float rintf (float __x) throw (); extern float __rintf (float __x) throw (); extern float nextafterf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) throw () __attribute__ ((__const__)); extern float nexttowardf (float __x, long double __y) throw () __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) throw () __attribute__ ((__const__)); extern float remainderf (float __x, float __y) throw (); extern float __remainderf (float __x, float __y) throw (); extern float scalbnf (float __x, int __n) throw (); extern float __scalbnf (float __x, int __n) throw (); extern int ilogbf (float __x) throw (); extern int __ilogbf (float __x) throw (); extern float scalblnf (float __x, long int __n) throw (); extern float __scalblnf (float __x, long int __n) throw (); extern float nearbyintf (float __x) throw (); extern float __nearbyintf (float __x) throw (); extern float roundf (float __x) throw () __attribute__ ((__const__)); extern float __roundf (float __x) throw () __attribute__ ((__const__)); extern float truncf (float __x) throw () __attribute__ ((__const__)); extern float __truncf (float __x) throw () __attribute__ ((__const__)); extern float remquof (float __x, float __y, int *__quo) throw (); extern float __remquof (float __x, float __y, int *__quo) throw (); extern long int lrintf (float __x) throw (); extern long int __lrintf (float __x) throw (); extern long long int llrintf (float __x) throw (); extern long long int __llrintf (float __x) throw (); extern long int lroundf (float __x) throw (); extern long int __lroundf (float __x) throw (); extern long long int llroundf (float __x) throw (); extern long long int __llroundf (float __x) throw (); extern float fdimf (float __x, float __y) throw (); extern float __fdimf (float __x, float __y) throw (); extern float fmaxf (float __x, float __y) throw (); extern float __fmaxf (float __x, float __y) throw (); extern float fminf (float __x, float __y) throw (); extern float __fminf (float __x, float __y) throw (); extern int __fpclassifyf (float __value) throw () __attribute__ ((__const__)); extern int __signbitf (float __value) throw () __attribute__ ((__const__)); extern float fmaf (float __x, float __y, float __z) throw (); extern float __fmaf (float __x, float __y, float __z) throw (); extern float scalbf (float __x, float __n) throw (); extern float __scalbf (float __x, float __n) throw (); # 89 "/usr/include/math.h" 2 3 4 # 109 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern long double acosl (long double __x) throw (); extern long double __acosl (long double __x) throw (); extern long double asinl (long double __x) throw (); extern long double __asinl (long double __x) throw (); extern long double atanl (long double __x) throw (); extern long double __atanl (long double __x) throw (); extern long double atan2l (long double __y, long double __x) throw (); extern long double __atan2l (long double __y, long double __x) throw (); extern long double cosl (long double __x) throw (); extern long double __cosl (long double __x) throw (); extern long double sinl (long double __x) throw (); extern long double __sinl (long double __x) throw (); extern long double tanl (long double __x) throw (); extern long double __tanl (long double __x) throw (); extern long double coshl (long double __x) throw (); extern long double __coshl (long double __x) throw (); extern long double sinhl (long double __x) throw (); extern long double __sinhl (long double __x) throw (); extern long double tanhl (long double __x) throw (); extern long double __tanhl (long double __x) throw (); extern void sincosl (long double __x, long double *__sinx, long double *__cosx) throw (); extern void __sincosl (long double __x, long double *__sinx, long double *__cosx) throw (); extern long double acoshl (long double __x) throw (); extern long double __acoshl (long double __x) throw (); extern long double asinhl (long double __x) throw (); extern long double __asinhl (long double __x) throw (); extern long double atanhl (long double __x) throw (); extern long double __atanhl (long double __x) throw (); extern long double expl (long double __x) throw (); extern long double __expl (long double __x) throw (); extern long double frexpl (long double __x, int *__exponent) throw (); extern long double __frexpl (long double __x, int *__exponent) throw (); extern long double ldexpl (long double __x, int __exponent) throw (); extern long double __ldexpl (long double __x, int __exponent) throw (); extern long double logl (long double __x) throw (); extern long double __logl (long double __x) throw (); extern long double log10l (long double __x) throw (); extern long double __log10l (long double __x) throw (); extern long double modfl (long double __x, long double *__iptr) throw (); extern long double __modfl (long double __x, long double *__iptr) throw (); extern long double exp10l (long double __x) throw (); extern long double __exp10l (long double __x) throw (); extern long double pow10l (long double __x) throw (); extern long double __pow10l (long double __x) throw (); extern long double expm1l (long double __x) throw (); extern long double __expm1l (long double __x) throw (); extern long double log1pl (long double __x) throw (); extern long double __log1pl (long double __x) throw (); extern long double logbl (long double __x) throw (); extern long double __logbl (long double __x) throw (); extern long double exp2l (long double __x) throw (); extern long double __exp2l (long double __x) throw (); extern long double log2l (long double __x) throw (); extern long double __log2l (long double __x) throw (); extern long double powl (long double __x, long double __y) throw (); extern long double __powl (long double __x, long double __y) throw (); extern long double sqrtl (long double __x) throw (); extern long double __sqrtl (long double __x) throw (); extern long double hypotl (long double __x, long double __y) throw (); extern long double __hypotl (long double __x, long double __y) throw (); extern long double cbrtl (long double __x) throw (); extern long double __cbrtl (long double __x) throw (); extern long double ceill (long double __x) throw () __attribute__ ((__const__)); extern long double __ceill (long double __x) throw () __attribute__ ((__const__)); extern long double fabsl (long double __x) throw () __attribute__ ((__const__)); extern long double __fabsl (long double __x) throw () __attribute__ ((__const__)); extern long double floorl (long double __x) throw () __attribute__ ((__const__)); extern long double __floorl (long double __x) throw () __attribute__ ((__const__)); extern long double fmodl (long double __x, long double __y) throw (); extern long double __fmodl (long double __x, long double __y) throw (); extern int __isinfl (long double __value) throw () __attribute__ ((__const__)); extern int __finitel (long double __value) throw () __attribute__ ((__const__)); extern int isinfl (long double __value) throw () __attribute__ ((__const__)); extern int finitel (long double __value) throw () __attribute__ ((__const__)); extern long double dreml (long double __x, long double __y) throw (); extern long double __dreml (long double __x, long double __y) throw (); extern long double significandl (long double __x) throw (); extern long double __significandl (long double __x) throw (); extern long double copysignl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double nanl (__const char *__tagb) throw () __attribute__ ((__const__)); extern long double __nanl (__const char *__tagb) throw () __attribute__ ((__const__)); extern int __isnanl (long double __value) throw () __attribute__ ((__const__)); extern int isnanl (long double __value) throw () __attribute__ ((__const__)); extern long double j0l (long double) throw (); extern long double __j0l (long double) throw (); extern long double j1l (long double) throw (); extern long double __j1l (long double) throw (); extern long double jnl (int, long double) throw (); extern long double __jnl (int, long double) throw (); extern long double y0l (long double) throw (); extern long double __y0l (long double) throw (); extern long double y1l (long double) throw (); extern long double __y1l (long double) throw (); extern long double ynl (int, long double) throw (); extern long double __ynl (int, long double) throw (); extern long double erfl (long double) throw (); extern long double __erfl (long double) throw (); extern long double erfcl (long double) throw (); extern long double __erfcl (long double) throw (); extern long double lgammal (long double) throw (); extern long double __lgammal (long double) throw (); extern long double tgammal (long double) throw (); extern long double __tgammal (long double) throw (); extern long double gammal (long double) throw (); extern long double __gammal (long double) throw (); extern long double lgammal_r (long double, int *__signgamp) throw (); extern long double __lgammal_r (long double, int *__signgamp) throw (); extern long double rintl (long double __x) throw (); extern long double __rintl (long double __x) throw (); extern long double nextafterl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double nexttowardl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double remainderl (long double __x, long double __y) throw (); extern long double __remainderl (long double __x, long double __y) throw (); extern long double scalbnl (long double __x, int __n) throw (); extern long double __scalbnl (long double __x, int __n) throw (); extern int ilogbl (long double __x) throw (); extern int __ilogbl (long double __x) throw (); extern long double scalblnl (long double __x, long int __n) throw (); extern long double __scalblnl (long double __x, long int __n) throw (); extern long double nearbyintl (long double __x) throw (); extern long double __nearbyintl (long double __x) throw (); extern long double roundl (long double __x) throw () __attribute__ ((__const__)); extern long double __roundl (long double __x) throw () __attribute__ ((__const__)); extern long double truncl (long double __x) throw () __attribute__ ((__const__)); extern long double __truncl (long double __x) throw () __attribute__ ((__const__)); extern long double remquol (long double __x, long double __y, int *__quo) throw (); extern long double __remquol (long double __x, long double __y, int *__quo) throw (); extern long int lrintl (long double __x) throw (); extern long int __lrintl (long double __x) throw (); extern long long int llrintl (long double __x) throw (); extern long long int __llrintl (long double __x) throw (); extern long int lroundl (long double __x) throw (); extern long int __lroundl (long double __x) throw (); extern long long int llroundl (long double __x) throw (); extern long long int __llroundl (long double __x) throw (); extern long double fdiml (long double __x, long double __y) throw (); extern long double __fdiml (long double __x, long double __y) throw (); extern long double fmaxl (long double __x, long double __y) throw (); extern long double __fmaxl (long double __x, long double __y) throw (); extern long double fminl (long double __x, long double __y) throw (); extern long double __fminl (long double __x, long double __y) throw (); extern int __fpclassifyl (long double __value) throw () __attribute__ ((__const__)); extern int __signbitl (long double __value) throw () __attribute__ ((__const__)); extern long double fmal (long double __x, long double __y, long double __z) throw (); extern long double __fmal (long double __x, long double __y, long double __z) throw (); extern long double scalbl (long double __x, long double __n) throw (); extern long double __scalbl (long double __x, long double __n) throw (); # 110 "/usr/include/math.h" 2 3 4 # 125 "/usr/include/math.h" 3 4 extern int signgam; # 166 "/usr/include/math.h" 3 4 enum { FP_NAN, FP_INFINITE, FP_ZERO, FP_SUBNORMAL, FP_NORMAL }; # 252 "/usr/include/math.h" 3 4 typedef enum { _IEEE_ = -1, _SVID_, _XOPEN_, _POSIX_, _ISOC_ } _LIB_VERSION_TYPE; extern _LIB_VERSION_TYPE _LIB_VERSION; # 275 "/usr/include/math.h" 3 4 struct __exception { int type; char *name; double arg1; double arg2; double retval; }; extern int matherr (struct __exception *__exc) throw (); # 362 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathinline.h" 1 3 4 # 127 "/usr/include/bits/mathinline.h" 3 4 __inline int __signbitf (float __x) throw () { __extension__ union { float __f; int __i; } __u = { __f: __x }; return __u.__i < 0; } __inline int __signbit (double __x) throw () { __extension__ union { double __d; int __i[2]; } __u = { __d: __x }; return __u.__i[1] < 0; } __inline int __signbitl (long double __x) throw () { __extension__ union { long double __l; int __i[3]; } __u = { __l: __x }; return (__u.__i[2] & 0x8000) != 0; } # 291 "/usr/include/bits/mathinline.h" 3 4 __inline double __sgn (double) throw (); __inline double __sgn (double __x) throw () { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } __inline float __sgnf (float) throw (); __inline float __sgnf (float __x) throw () { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } __inline long double __sgnl (long double) throw (); __inline long double __sgnl (long double __x) throw () { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } __inline double __pow2 (double) throw (); __inline double __pow2 (double __x) throw () { register long double __value; register long double __exponent; __extension__ long long int __p = (long long int) __x; if (__x == (long double) __p) { __asm __volatile__ ("fscale" : "=t" (__value) : "0" (1.0), "u" (__x)); return __value; } __asm __volatile__ ("fld %%st(0)\n\t" "frndint # int(x)\n\t" "fxch\n\t" "fsub %%st(1) # fract(x)\n\t" "f2xm1 # 2^(fract(x)) - 1\n\t" : "=t" (__value), "=u" (__exponent) : "0" (__x)); __value += 1.0; __asm __volatile__ ("fscale" : "=t" (__value) : "0" (__value), "u" (__exponent)); return __value; } __inline float __pow2f (float) throw (); __inline float __pow2f (float __x) throw () { register long double __value; register long double __exponent; __extension__ long long int __p = (long long int) __x; if (__x == (long double) __p) { __asm __volatile__ ("fscale" : "=t" (__value) : "0" (1.0), "u" (__x)); return __value; } __asm __volatile__ ("fld %%st(0)\n\t" "frndint # int(x)\n\t" "fxch\n\t" "fsub %%st(1) # fract(x)\n\t" "f2xm1 # 2^(fract(x)) - 1\n\t" : "=t" (__value), "=u" (__exponent) : "0" (__x)); __value += 1.0; __asm __volatile__ ("fscale" : "=t" (__value) : "0" (__value), "u" (__exponent)); return __value; } __inline long double __pow2l (long double) throw (); __inline long double __pow2l (long double __x) throw () { register long double __value; register long double __exponent; __extension__ long long int __p = (long long int) __x; if (__x == (long double) __p) { __asm __volatile__ ("fscale" : "=t" (__value) : "0" (1.0), "u" (__x)); return __value; } __asm __volatile__ ("fld %%st(0)\n\t" "frndint # int(x)\n\t" "fxch\n\t" "fsub %%st(1) # fract(x)\n\t" "f2xm1 # 2^(fract(x)) - 1\n\t" : "=t" (__value), "=u" (__exponent) : "0" (__x)); __value += 1.0; __asm __volatile__ ("fscale" : "=t" (__value) : "0" (__value), "u" (__exponent)); return __value; } # 343 "/usr/include/bits/mathinline.h" 3 4 __inline void __sincos (double __x, double *__sinx, double *__cosx) throw () { register long double __cosr; register long double __sinr; __asm __volatile__ ("fsincos\n\t" "fnstsw %%ax\n\t" "testl $0x400, %%eax\n\t" "jz 1f\n\t" "fldpi\n\t" "fadd %%st(0)\n\t" "fxch %%st(1)\n\t" "2: fprem1\n\t" "fnstsw %%ax\n\t" "testl $0x400, %%eax\n\t" "jnz 2b\n\t" "fstp %%st(1)\n\t" "fsincos\n\t" "1:" : "=t" (__cosr), "=u" (__sinr) : "0" (__x)); *__sinx = __sinr; *__cosx = __cosr; } __inline void __sincosf (float __x, float *__sinx, float *__cosx) throw () { register long double __cosr; register long double __sinr; __asm __volatile__ ("fsincos\n\t" "fnstsw %%ax\n\t" "testl $0x400, %%eax\n\t" "jz 1f\n\t" "fldpi\n\t" "fadd %%st(0)\n\t" "fxch %%st(1)\n\t" "2: fprem1\n\t" "fnstsw %%ax\n\t" "testl $0x400, %%eax\n\t" "jnz 2b\n\t" "fstp %%st(1)\n\t" "fsincos\n\t" "1:" : "=t" (__cosr), "=u" (__sinr) : "0" (__x)); *__sinx = __sinr; *__cosx = __cosr; } __inline void __sincosl (long double __x, long double *__sinx, long double *__cosx) throw () { register long double __cosr; register long double __sinr; __asm __volatile__ ("fsincos\n\t" "fnstsw %%ax\n\t" "testl $0x400, %%eax\n\t" "jz 1f\n\t" "fldpi\n\t" "fadd %%st(0)\n\t" "fxch %%st(1)\n\t" "2: fprem1\n\t" "fnstsw %%ax\n\t" "testl $0x400, %%eax\n\t" "jnz 2b\n\t" "fstp %%st(1)\n\t" "fsincos\n\t" "1:" : "=t" (__cosr), "=u" (__sinr) : "0" (__x)); *__sinx = __sinr; *__cosx = __cosr; } # 386 "/usr/include/bits/mathinline.h" 3 4 __inline long double __expm1l (long double __x) throw () { register long double __value; register long double __exponent; register long double __temp; __asm __volatile__ ("fldl2e # e^x - 1 = 2^(x * log2(e)) - 1\n\t" "fmul %%st(1) # x * log2(e)\n\t" "fst %%st(1)\n\t" "frndint # int(x * log2(e))\n\t" "fxch\n\t" "fsub %%st(1) # fract(x * log2(e))\n\t" "f2xm1 # 2^(fract(x * log2(e))) - 1\n\t" "fscale # 2^(x * log2(e)) - 2^(int(x * log2(e)))\n\t" : "=t" (__value), "=u" (__exponent) : "0" (__x)); __asm __volatile__ ("fscale # 2^int(x * log2(e))\n\t" : "=t" (__temp) : "0" (1.0), "u" (__exponent)); __temp -= 1.0; __temp += __value; return __temp ? __temp : __x; } # 406 "/usr/include/bits/mathinline.h" 3 4 __inline double exp (double __x) throw () { register long double __value; register long double __exponent; __asm __volatile__ ("fldl2e # e^x = 2^(x * log2(e))\n\t" "fmul %%st(1) # x * log2(e)\n\t" "fst %%st(1)\n\t" "frndint # int(x * log2(e))\n\t" "fxch\n\t" "fsub %%st(1) # fract(x * log2(e))\n\t" "f2xm1 # 2^(fract(x * log2(e))) - 1\n\t" : "=t" (__value), "=u" (__exponent) : "0" (__x)); __value += 1.0; __asm __volatile__ ("fscale" : "=t" (__value) : "0" (__value), "u" (__exponent)); return __value; } __inline float expf (float __x) throw () { register long double __value; register long double __exponent; __asm __volatile__ ("fldl2e # e^x = 2^(x * log2(e))\n\t" "fmul %%st(1) # x * log2(e)\n\t" "fst %%st(1)\n\t" "frndint # int(x * log2(e))\n\t" "fxch\n\t" "fsub %%st(1) # fract(x * log2(e))\n\t" "f2xm1 # 2^(fract(x * log2(e))) - 1\n\t" : "=t" (__value), "=u" (__exponent) : "0" (__x)); __value += 1.0; __asm __volatile__ ("fscale" : "=t" (__value) : "0" (__value), "u" (__exponent)); return __value; } __inline long double expl (long double __x) throw () { register long double __value; register long double __exponent; __asm __volatile__ ("fldl2e # e^x = 2^(x * log2(e))\n\t" "fmul %%st(1) # x * log2(e)\n\t" "fst %%st(1)\n\t" "frndint # int(x * log2(e))\n\t" "fxch\n\t" "fsub %%st(1) # fract(x * log2(e))\n\t" "f2xm1 # 2^(fract(x * log2(e))) - 1\n\t" : "=t" (__value), "=u" (__exponent) : "0" (__x)); __value += 1.0; __asm __volatile__ ("fscale" : "=t" (__value) : "0" (__value), "u" (__exponent)); return __value; } __inline long double __expl (long double __x) throw () { register long double __value; register long double __exponent; __asm __volatile__ ("fldl2e # e^x = 2^(x * log2(e))\n\t" "fmul %%st(1) # x * log2(e)\n\t" "fst %%st(1)\n\t" "frndint # int(x * log2(e))\n\t" "fxch\n\t" "fsub %%st(1) # fract(x * log2(e))\n\t" "f2xm1 # 2^(fract(x * log2(e))) - 1\n\t" : "=t" (__value), "=u" (__exponent) : "0" (__x)); __value += 1.0; __asm __volatile__ ("fscale" : "=t" (__value) : "0" (__value), "u" (__exponent)); return __value; } __inline double tan (double __x) throw () { register long double __value; register long double __value2 __attribute__ ((__unused__)); __asm __volatile__ ("fptan" : "=t" (__value2), "=u" (__value) : "0" (__x)); return __value; } __inline float tanf (float __x) throw () { register long double __value; register long double __value2 __attribute__ ((__unused__)); __asm __volatile__ ("fptan" : "=t" (__value2), "=u" (__value) : "0" (__x)); return __value; } __inline long double tanl (long double __x) throw () { register long double __value; register long double __value2 __attribute__ ((__unused__)); __asm __volatile__ ("fptan" : "=t" (__value2), "=u" (__value) : "0" (__x)); return __value; } # 426 "/usr/include/bits/mathinline.h" 3 4 __inline double atan2 (double __y, double __x) throw () { register long double __value; __asm __volatile__ ("fpatan" : "=t" (__value) : "0" (__x), "u" (__y) : "st(1)"); return __value; } __inline float atan2f (float __y, float __x) throw () { register long double __value; __asm __volatile__ ("fpatan" : "=t" (__value) : "0" (__x), "u" (__y) : "st(1)"); return __value; } __inline long double atan2l (long double __y, long double __x) throw () { register long double __value; __asm __volatile__ ("fpatan" : "=t" (__value) : "0" (__x), "u" (__y) : "st(1)"); return __value; } __inline long double __atan2l (long double __y, long double __x) throw () { register long double __value; __asm __volatile__ ("fpatan" : "=t" (__value) : "0" (__x), "u" (__y) : "st(1)"); return __value; } __inline double fmod (double __x, double __y) throw () { register long double __value; __asm __volatile__ ("1: fprem\n\t" "fnstsw %%ax\n\t" "sahf\n\t" "jp 1b" : "=t" (__value) : "0" (__x), "u" (__y) : "ax", "cc"); return __value; } __inline float fmodf (float __x, float __y) throw () { register long double __value; __asm __volatile__ ("1: fprem\n\t" "fnstsw %%ax\n\t" "sahf\n\t" "jp 1b" : "=t" (__value) : "0" (__x), "u" (__y) : "ax", "cc"); return __value; } __inline long double fmodl (long double __x, long double __y) throw () { register long double __value; __asm __volatile__ ("1: fprem\n\t" "fnstsw %%ax\n\t" "sahf\n\t" "jp 1b" : "=t" (__value) : "0" (__x), "u" (__y) : "ax", "cc"); return __value; } # 442 "/usr/include/bits/mathinline.h" 3 4 __inline double sqrt (double __x) throw () { register double __result; __asm __volatile__ ("fsqrt" : "=t" (__result) : "0" (__x)); return __result; } __inline float sqrtf (float __x) throw () { register float __result; __asm __volatile__ ("fsqrt" : "=t" (__result) : "0" (__x)); return __result; } __inline long double sqrtl (long double __x) throw () { register long double __result; __asm __volatile__ ("fsqrt" : "=t" (__result) : "0" (__x)); return __result; } __inline long double __sqrtl (long double __x) throw () { register long double __result; __asm __volatile__ ("fsqrt" : "=t" (__result) : "0" (__x)); return __result; } __inline double fabs (double __x) throw () { return __builtin_fabs (__x); } __inline float fabsf (float __x) throw () { return __builtin_fabsf (__x); } __inline long double fabsl (long double __x) throw () { return __builtin_fabsl (__x); } __inline long double __fabsl (long double __x) throw () { return __builtin_fabsl (__x); } __inline double sin (double __x) throw () { register double __result; __asm __volatile__ ("fsin" : "=t" (__result) : "0" (__x)); return __result; } __inline float sinf (float __x) throw () { register float __result; __asm __volatile__ ("fsin" : "=t" (__result) : "0" (__x)); return __result; } __inline long double sinl (long double __x) throw () { register long double __result; __asm __volatile__ ("fsin" : "=t" (__result) : "0" (__x)); return __result; } __inline double cos (double __x) throw () { register double __result; __asm __volatile__ ("fcos" : "=t" (__result) : "0" (__x)); return __result; } __inline float cosf (float __x) throw () { register float __result; __asm __volatile__ ("fcos" : "=t" (__result) : "0" (__x)); return __result; } __inline long double cosl (long double __x) throw () { register long double __result; __asm __volatile__ ("fcos" : "=t" (__result) : "0" (__x)); return __result; } __inline double log (double __x) throw () { register double __result; __asm __volatile__ ("fldln2; fxch; fyl2x" : "=t" (__result) : "0" (__x) : "st(1)"); return __result; } __inline float logf (float __x) throw () { register float __result; __asm __volatile__ ("fldln2; fxch; fyl2x" : "=t" (__result) : "0" (__x) : "st(1)"); return __result; } __inline long double logl (long double __x) throw () { register long double __result; __asm __volatile__ ("fldln2; fxch; fyl2x" : "=t" (__result) : "0" (__x) : "st(1)"); return __result; } __inline double log10 (double __x) throw () { register double __result; __asm __volatile__ ("fldlg2; fxch; fyl2x" : "=t" (__result) : "0" (__x) : "st(1)"); return __result; } __inline float log10f (float __x) throw () { register float __result; __asm __volatile__ ("fldlg2; fxch; fyl2x" : "=t" (__result) : "0" (__x) : "st(1)"); return __result; } __inline long double log10l (long double __x) throw () { register long double __result; __asm __volatile__ ("fldlg2; fxch; fyl2x" : "=t" (__result) : "0" (__x) : "st(1)"); return __result; } __inline double asin (double __x) throw () { return __atan2l (__x, __sqrtl (1.0 - __x * __x)); } __inline float asinf (float __x) throw () { return __atan2l (__x, __sqrtl (1.0 - __x * __x)); } __inline long double asinl (long double __x) throw () { return __atan2l (__x, __sqrtl (1.0 - __x * __x)); } __inline double acos (double __x) throw () { return __atan2l (__sqrtl (1.0 - __x * __x), __x); } __inline float acosf (float __x) throw () { return __atan2l (__sqrtl (1.0 - __x * __x), __x); } __inline long double acosl (long double __x) throw () { return __atan2l (__sqrtl (1.0 - __x * __x), __x); } __inline double atan (double __x) throw () { register double __result; __asm __volatile__ ("fld1; fpatan" : "=t" (__result) : "0" (__x) : "st(1)"); return __result; } __inline float atanf (float __x) throw () { register float __result; __asm __volatile__ ("fld1; fpatan" : "=t" (__result) : "0" (__x) : "st(1)"); return __result; } __inline long double atanl (long double __x) throw () { register long double __result; __asm __volatile__ ("fld1; fpatan" : "=t" (__result) : "0" (__x) : "st(1)"); return __result; } __inline long double __sgn1l (long double) throw (); __inline long double __sgn1l (long double __x) throw () { __extension__ union { long double __xld; unsigned int __xi[3]; } __n = { __xld: __x }; __n.__xi[2] = (__n.__xi[2] & 0x8000) | 0x3fff; __n.__xi[1] = 0x80000000; __n.__xi[0] = 0; return __n.__xld; } # 482 "/usr/include/bits/mathinline.h" 3 4 __inline double sinh (double __x) throw () { register long double __exm1 = __expm1l (__fabsl (__x)); return 0.5 * (__exm1 / (__exm1 + 1.0) + __exm1) * __sgn1l (__x); } __inline float sinhf (float __x) throw () { register long double __exm1 = __expm1l (__fabsl (__x)); return 0.5 * (__exm1 / (__exm1 + 1.0) + __exm1) * __sgn1l (__x); } __inline long double sinhl (long double __x) throw () { register long double __exm1 = __expm1l (__fabsl (__x)); return 0.5 * (__exm1 / (__exm1 + 1.0) + __exm1) * __sgn1l (__x); } __inline double cosh (double __x) throw () { register long double __ex = __expl (__x); return 0.5 * (__ex + 1.0 / __ex); } __inline float coshf (float __x) throw () { register long double __ex = __expl (__x); return 0.5 * (__ex + 1.0 / __ex); } __inline long double coshl (long double __x) throw () { register long double __ex = __expl (__x); return 0.5 * (__ex + 1.0 / __ex); } __inline double tanh (double __x) throw () { register long double __exm1 = __expm1l (-__fabsl (__x + __x)); return __exm1 / (__exm1 + 2.0) * __sgn1l (-__x); } __inline float tanhf (float __x) throw () { register long double __exm1 = __expm1l (-__fabsl (__x + __x)); return __exm1 / (__exm1 + 2.0) * __sgn1l (-__x); } __inline long double tanhl (long double __x) throw () { register long double __exm1 = __expm1l (-__fabsl (__x + __x)); return __exm1 / (__exm1 + 2.0) * __sgn1l (-__x); } __inline double floor (double __x) throw () { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } __inline float floorf (float __x) throw () { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } __inline long double floorl (long double __x) throw () { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } # 506 "/usr/include/bits/mathinline.h" 3 4 __inline double ceil (double __x) throw () { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } __inline float ceilf (float __x) throw () { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } __inline long double ceill (long double __x) throw () { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } # 525 "/usr/include/bits/mathinline.h" 3 4 __inline double ldexp (double __x, int __y) throw () { register long double __value; __asm __volatile__ ("fscale" : "=t" (__value) : "0" (__x), "u" ((long double) __y)); return __value; } __inline double expm1 (double __x) throw () { register long double __value; register long double __exponent; register long double __temp; __asm __volatile__ ("fldl2e # e^x - 1 = 2^(x * log2(e)) - 1\n\t" "fmul %%st(1) # x * log2(e)\n\t" "fst %%st(1)\n\t" "frndint # int(x * log2(e))\n\t" "fxch\n\t" "fsub %%st(1) # fract(x * log2(e))\n\t" "f2xm1 # 2^(fract(x * log2(e))) - 1\n\t" "fscale # 2^(x * log2(e)) - 2^(int(x * log2(e)))\n\t" : "=t" (__value), "=u" (__exponent) : "0" (__x)); __asm __volatile__ ("fscale # 2^int(x * log2(e))\n\t" : "=t" (__temp) : "0" (1.0), "u" (__exponent)); __temp -= 1.0; __temp += __value; return __temp ? __temp : __x; } __inline float expm1f (float __x) throw () { register long double __value; register long double __exponent; register long double __temp; __asm __volatile__ ("fldl2e # e^x - 1 = 2^(x * log2(e)) - 1\n\t" "fmul %%st(1) # x * log2(e)\n\t" "fst %%st(1)\n\t" "frndint # int(x * log2(e))\n\t" "fxch\n\t" "fsub %%st(1) # fract(x * log2(e))\n\t" "f2xm1 # 2^(fract(x * log2(e))) - 1\n\t" "fscale # 2^(x * log2(e)) - 2^(int(x * log2(e)))\n\t" : "=t" (__value), "=u" (__exponent) : "0" (__x)); __asm __volatile__ ("fscale # 2^int(x * log2(e))\n\t" : "=t" (__temp) : "0" (1.0), "u" (__exponent)); __temp -= 1.0; __temp += __value; return __temp ? __temp : __x; } __inline long double expm1l (long double __x) throw () { register long double __value; register long double __exponent; register long double __temp; __asm __volatile__ ("fldl2e # e^x - 1 = 2^(x * log2(e)) - 1\n\t" "fmul %%st(1) # x * log2(e)\n\t" "fst %%st(1)\n\t" "frndint # int(x * log2(e))\n\t" "fxch\n\t" "fsub %%st(1) # fract(x * log2(e))\n\t" "f2xm1 # 2^(fract(x * log2(e))) - 1\n\t" "fscale # 2^(x * log2(e)) - 2^(int(x * log2(e)))\n\t" : "=t" (__value), "=u" (__exponent) : "0" (__x)); __asm __volatile__ ("fscale # 2^int(x * log2(e))\n\t" : "=t" (__temp) : "0" (1.0), "u" (__exponent)); __temp -= 1.0; __temp += __value; return __temp ? __temp : __x; } __inline double log1p (double __x) throw () { register long double __value; if (__fabsl (__x) >= 1.0 - 0.5 * 1.41421356237309504880L) __value = logl (1.0 + __x); else __asm __volatile__ ("fldln2\n\t" "fxch\n\t" "fyl2xp1" : "=t" (__value) : "0" (__x) : "st(1)"); return __value; } __inline float log1pf (float __x) throw () { register long double __value; if (__fabsl (__x) >= 1.0 - 0.5 * 1.41421356237309504880L) __value = logl (1.0 + __x); else __asm __volatile__ ("fldln2\n\t" "fxch\n\t" "fyl2xp1" : "=t" (__value) : "0" (__x) : "st(1)"); return __value; } __inline long double log1pl (long double __x) throw () { register long double __value; if (__fabsl (__x) >= 1.0 - 0.5 * 1.41421356237309504880L) __value = logl (1.0 + __x); else __asm __volatile__ ("fldln2\n\t" "fxch\n\t" "fyl2xp1" : "=t" (__value) : "0" (__x) : "st(1)"); return __value; } # 557 "/usr/include/bits/mathinline.h" 3 4 __inline double asinh (double __x) throw () { register long double __y = __fabsl (__x); return (log1pl (__y * __y / (__sqrtl (__y * __y + 1.0) + 1.0) + __y) * __sgn1l (__x)); } __inline float asinhf (float __x) throw () { register long double __y = __fabsl (__x); return (log1pl (__y * __y / (__sqrtl (__y * __y + 1.0) + 1.0) + __y) * __sgn1l (__x)); } __inline long double asinhl (long double __x) throw () { register long double __y = __fabsl (__x); return (log1pl (__y * __y / (__sqrtl (__y * __y + 1.0) + 1.0) + __y) * __sgn1l (__x)); } __inline double acosh (double __x) throw () { return logl (__x + __sqrtl (__x - 1.0) * __sqrtl (__x + 1.0)); } __inline float acoshf (float __x) throw () { return logl (__x + __sqrtl (__x - 1.0) * __sqrtl (__x + 1.0)); } __inline long double acoshl (long double __x) throw () { return logl (__x + __sqrtl (__x - 1.0) * __sqrtl (__x + 1.0)); } __inline double atanh (double __x) throw () { register long double __y = __fabsl (__x); return -0.5 * log1pl (-(__y + __y) / (1.0 + __y)) * __sgn1l (__x); } __inline float atanhf (float __x) throw () { register long double __y = __fabsl (__x); return -0.5 * log1pl (-(__y + __y) / (1.0 + __y)) * __sgn1l (__x); } __inline long double atanhl (long double __x) throw () { register long double __y = __fabsl (__x); return -0.5 * log1pl (-(__y + __y) / (1.0 + __y)) * __sgn1l (__x); } __inline double hypot (double __x, double __y) throw () { return __sqrtl (__x * __x + __y * __y); } __inline float hypotf (float __x, float __y) throw () { return __sqrtl (__x * __x + __y * __y); } __inline long double hypotl (long double __x, long double __y) throw () { return __sqrtl (__x * __x + __y * __y); } __inline double logb (double __x) throw () { register long double __value; register long double __junk; __asm __volatile__ ("fxtract\n\t" : "=t" (__junk), "=u" (__value) : "0" (__x)); return __value; } __inline float logbf (float __x) throw () { register long double __value; register long double __junk; __asm __volatile__ ("fxtract\n\t" : "=t" (__junk), "=u" (__value) : "0" (__x)); return __value; } __inline long double logbl (long double __x) throw () { register long double __value; register long double __junk; __asm __volatile__ ("fxtract\n\t" : "=t" (__junk), "=u" (__value) : "0" (__x)); return __value; } # 585 "/usr/include/bits/mathinline.h" 3 4 __inline double log2 (double __x) throw () { register double __result; __asm __volatile__ ("fld1; fxch; fyl2x" : "=t" (__result) : "0" (__x) : "st(1)"); return __result; } __inline float log2f (float __x) throw () { register float __result; __asm __volatile__ ("fld1; fxch; fyl2x" : "=t" (__result) : "0" (__x) : "st(1)"); return __result; } __inline long double log2l (long double __x) throw () { register long double __result; __asm __volatile__ ("fld1; fxch; fyl2x" : "=t" (__result) : "0" (__x) : "st(1)"); return __result; } __inline float ldexpf (float __x, int __y) throw () { register long double __value; __asm __volatile__ ("fscale" : "=t" (__value) : "0" (__x), "u" ((long double) __y)); return __value; } __inline long double ldexpl (long double __x, int __y) throw () { register long double __value; __asm __volatile__ ("fscale" : "=t" (__value) : "0" (__x), "u" ((long double) __y)); return __value; } __inline double fma (double __x, double __y, double __z) throw () { return (__x * __y) + __z; } __inline float fmaf (float __x, float __y, float __z) throw () { return (__x * __y) + __z; } __inline long double fmal (long double __x, long double __y, long double __z) throw () { return (__x * __y) + __z; } __inline double rint (double __x) throw () { register double __result; __asm __volatile__ ("frndint" : "=t" (__result) : "0" (__x)); return __result; } __inline float rintf (float __x) throw () { register float __result; __asm __volatile__ ("frndint" : "=t" (__result) : "0" (__x)); return __result; } __inline long double rintl (long double __x) throw () { register long double __result; __asm __volatile__ ("frndint" : "=t" (__result) : "0" (__x)); return __result; } # 610 "/usr/include/bits/mathinline.h" 3 4 __inline long int lrintf (float __x) throw () { long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; } __inline long int lrint (double __x) throw () { long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; } __inline long int lrintl (long double __x) throw () { long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; } # 633 "/usr/include/bits/mathinline.h" 3 4 __inline long long int llrintf (float __x) throw () { long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; } __inline long long int llrint (double __x) throw () { long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; } __inline long long int llrintl (long double __x) throw () { long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; } __inline double drem (double __x, double __y) throw () { register double __value; register int __clobbered; __asm __volatile__ ("1: fprem1\n\t" "fstsw %%ax\n\t" "sahf\n\t" "jp 1b" : "=t" (__value), "=&a" (__clobbered) : "0" (__x), "u" (__y) : "cc"); return __value; } __inline float dremf (float __x, float __y) throw () { register double __value; register int __clobbered; __asm __volatile__ ("1: fprem1\n\t" "fstsw %%ax\n\t" "sahf\n\t" "jp 1b" : "=t" (__value), "=&a" (__clobbered) : "0" (__x), "u" (__y) : "cc"); return __value; } __inline long double dreml (long double __x, long double __y) throw () { register double __value; register int __clobbered; __asm __volatile__ ("1: fprem1\n\t" "fstsw %%ax\n\t" "sahf\n\t" "jp 1b" : "=t" (__value), "=&a" (__clobbered) : "0" (__x), "u" (__y) : "cc"); return __value; } # 668 "/usr/include/bits/mathinline.h" 3 4 __inline int __finite (double __x) throw () { return (__extension__ (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1] | 0x800fffffu) + 1) >> 31)); } __inline double __coshm1 (double) throw (); __inline double __coshm1 (double __x) throw () { register long double __exm1 = __expm1l (__fabsl (__x)); return 0.5 * (__exm1 / (__exm1 + 1.0)) * __exm1; } __inline float __coshm1f (float) throw (); __inline float __coshm1f (float __x) throw () { register long double __exm1 = __expm1l (__fabsl (__x)); return 0.5 * (__exm1 / (__exm1 + 1.0)) * __exm1; } __inline long double __coshm1l (long double) throw (); __inline long double __coshm1l (long double __x) throw () { register long double __exm1 = __expm1l (__fabsl (__x)); return 0.5 * (__exm1 / (__exm1 + 1.0)) * __exm1; } __inline double __acosh1p (double) throw (); __inline double __acosh1p (double __x) throw () { return log1pl (__x + __sqrtl (__x) * __sqrtl (__x + 2.0)); } __inline float __acosh1pf (float) throw (); __inline float __acosh1pf (float __x) throw () { return log1pl (__x + __sqrtl (__x) * __sqrtl (__x + 2.0)); } __inline long double __acosh1pl (long double) throw (); __inline long double __acosh1pl (long double __x) throw () { return log1pl (__x + __sqrtl (__x) * __sqrtl (__x + 2.0)); } # 363 "/usr/include/math.h" 2 3 4 # 423 "/usr/include/math.h" 3 4 } # 82 "_cv.h" 2 # 1 "/usr/include/assert.h" 1 3 4 # 83 "_cv.h" 2 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/limits.h" 1 3 4 # 11 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/limits.h" 3 4 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/syslimits.h" 1 3 4 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/limits.h" 1 3 4 # 122 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/limits.h" 3 4 # 1 "/usr/include/limits.h" 1 3 4 # 144 "/usr/include/limits.h" 3 4 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4 # 130 "/usr/include/bits/posix1_lim.h" 3 4 # 1 "/usr/include/bits/local_lim.h" 1 3 4 # 36 "/usr/include/bits/local_lim.h" 3 4 # 1 "/usr/include/linux/limits.h" 1 3 4 # 37 "/usr/include/bits/local_lim.h" 2 3 4 # 131 "/usr/include/bits/posix1_lim.h" 2 3 4 # 145 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4 # 149 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/xopen_lim.h" 1 3 4 # 34 "/usr/include/bits/xopen_lim.h" 3 4 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 # 35 "/usr/include/bits/xopen_lim.h" 2 3 4 # 153 "/usr/include/limits.h" 2 3 4 # 123 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/limits.h" 2 3 4 # 8 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/syslimits.h" 2 3 4 # 12 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/limits.h" 2 3 4 # 86 "_cv.h" 2 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/float.h" 1 3 4 # 87 "_cv.h" 2 # 100 "_cv.h" # 1 "_cvoptions.h" 1 # 101 "_cv.h" 2 # 1 "_cvtables.h" 1 # 50 "_cvtables.h" extern const float icv8x32fTab[]; extern const float icv8x32fSqrTab[]; # 63 "_cvtables.h" extern const short icvTextFacesFn0[]; extern const int icvTextHdrsFn0[]; # 102 "_cv.h" 2 # 1 "_cverror.h" 1 # 47 "_cverror.h" typedef struct _CvContext { CVStatus CVLastStatus; int CVErrMode; CVErrorCallBack CVErrorFunc; CvStackRecord* CVStack; int CVStackSize; int CVStackCapacity; } CvContext; void icvInitContext(CvContext* context); void icvDestroyContext(CvContext* context); CvContext* icvGetContext(); # 103 "_cv.h" 2 typedef enum { cv1u, cv8u, cv8s, cv16u, cv16s, cv16sc, cv32u, cv32s, cv32sc, cv32f, cv32fc, cv64u, cv64s, cv64sc, cv64f, cv64fc } CvDataType; extern "C" { typedef void ( * ICVWriteNodeFunction)(void*,void*); } # 140 "_cv.h" typedef struct CvFilterState { int ker_width; int ker_height; int ker_x; int ker_y; int kerType; uchar *ker0; uchar *ker1; double divisor; int max_width; CvDataType dataType; int channels; int origin; char *buffer; int buffer_step; int crows; char **rows; char *tbuf; } CvFilterState; # 177 "_cv.h" typedef struct { uchar b, g, r; } CvRGB8u; typedef struct { uchar b, g, r, a; } CvRGBA8u; typedef struct { int b, g, r; } CvRGB32s; typedef struct { int b, g, r, a; } CvRGBA32s; typedef struct { float b, g, r; } CvRGB32f; typedef struct { float b, g, r, a; } CvRGBA32f; # 226 "_cv.h" typedef CvStatus( * CvFilterFunc )( const void* src, int src_step, void* dst, int dst_step, CvSize* size, struct CvFilterState * state, int stage ); typedef struct CvFuncTable CvFuncTable; typedef struct CvBigFuncTable CvBigFuncTable; # 1 "_ipcv.h" 1 # 49 "_ipcv.h" extern "C" void* icvAllocEx_f ( size_t size, const char* file, int line ); typedef void* (* icvAllocEx_t) ( size_t size, const char* file, int line ); extern icvAllocEx_t icvAllocEx; extern "C" CVStatus icvFreeEx_f ( void** ptr, const char* file, int line ); typedef CVStatus (* icvFreeEx_t) ( void** ptr, const char* file, int line ); extern icvFreeEx_t icvFreeEx; extern "C" CvStatus icvCopy_8u_C1R_f ( const uchar* src, int src_step, uchar* dst, int dst_step, CvSize size ); typedef CvStatus (* icvCopy_8u_C1R_t) ( const uchar* src, int src_step, uchar* dst, int dst_step, CvSize size ); extern icvCopy_8u_C1R_t icvCopy_8u_C1R; extern "C" CvStatus icvSet_8u_C1R_f ( uchar* dst, int dst_step, CvSize size, const void* scalar, int pix_size ); typedef CvStatus (* icvSet_8u_C1R_t) ( uchar* dst, int dst_step, CvSize size, const void* scalar, int pix_size ); extern icvSet_8u_C1R_t icvSet_8u_C1R; extern "C" CvStatus icvSetZero_8u_C1R_f ( uchar* dst, int dst_step, CvSize size ); typedef CvStatus (* icvSetZero_8u_C1R_t) ( uchar* dst, int dst_step, CvSize size ); extern icvSetZero_8u_C1R_t icvSetZero_8u_C1R; extern "C" CvStatus icvCvtTo_8u_C1R_f ( const void* src, int step1, void* dst, int step, CvSize size, int param ); typedef CvStatus (* icvCvtTo_8u_C1R_t) ( const void* src, int step1, void* dst, int step, CvSize size, int param ); extern icvCvtTo_8u_C1R_t icvCvtTo_8u_C1R; extern "C" CvStatus icvCvtTo_8s_C1R_f ( const void* src, int step1, void* dst, int step, CvSize size, int param ); typedef CvStatus (* icvCvtTo_8s_C1R_t) ( const void* src, int step1, void* dst, int step, CvSize size, int param ); extern icvCvtTo_8s_C1R_t icvCvtTo_8s_C1R; extern "C" CvStatus icvCvtTo_16s_C1R_f ( const void* src, int step1, void* dst, int step, CvSize size, int param ); typedef CvStatus (* icvCvtTo_16s_C1R_t) ( const void* src, int step1, void* dst, int step, CvSize size, int param ); extern icvCvtTo_16s_C1R_t icvCvtTo_16s_C1R; extern "C" CvStatus icvCvtTo_32s_C1R_f ( const void* src, int step1, void* dst, int step, CvSize size, int param ); typedef CvStatus (* icvCvtTo_32s_C1R_t) ( const void* src, int step1, void* dst, int step, CvSize size, int param ); extern icvCvtTo_32s_C1R_t icvCvtTo_32s_C1R; extern "C" CvStatus icvCvtTo_32f_C1R_f ( const void* src, int step1, void* dst, int step, CvSize size, int param ); typedef CvStatus (* icvCvtTo_32f_C1R_t) ( const void* src, int step1, void* dst, int step, CvSize size, int param ); extern icvCvtTo_32f_C1R_t icvCvtTo_32f_C1R; extern "C" CvStatus icvCvtTo_64f_C1R_f ( const void* src, int step1, void* dst, int step, CvSize size, int param ); typedef CvStatus (* icvCvtTo_64f_C1R_t) ( const void* src, int step1, void* dst, int step, CvSize size, int param ); extern icvCvtTo_64f_C1R_t icvCvtTo_64f_C1R; extern "C" CvStatus icvCvt_32f64f_f ( const float* src, double* dst, int len ); typedef CvStatus (* icvCvt_32f64f_t) ( const float* src, double* dst, int len ); extern icvCvt_32f64f_t icvCvt_32f64f; extern "C" CvStatus icvCvt_64f32f_f ( const double* src, float* dst, int len ); typedef CvStatus (* icvCvt_64f32f_t) ( const double* src, float* dst, int len ); extern icvCvt_64f32f_t icvCvt_64f32f; extern "C" CvStatus icvScale_32f_f ( const float* src, float* dst, int len, float a, float b ); typedef CvStatus (* icvScale_32f_t) ( const float* src, float* dst, int len, float a, float b ); extern icvScale_32f_t icvScale_32f; extern "C" CvStatus icvScale_64f_f ( const double* src, double* dst, int len, double a, double b ); typedef CvStatus (* icvScale_64f_t) ( const double* src, double* dst, int len, double a, double b ); extern icvScale_64f_t icvScale_64f; # 134 "_ipcv.h" extern "C" CvStatus icvAdd_8u_C1R_f ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, uchar* dst, int dststep, CvSize size ); typedef CvStatus (* icvAdd_8u_C1R_t) ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, uchar* dst, int dststep, CvSize size ); extern icvAdd_8u_C1R_t icvAdd_8u_C1R; extern "C" CvStatus icvAdd_8s_C1R_f ( const char* src1, int srcstep1, const char* src2, int srcstep2, char* dst, int dststep, CvSize size ); typedef CvStatus (* icvAdd_8s_C1R_t) ( const char* src1, int srcstep1, const char* src2, int srcstep2, char* dst, int dststep, CvSize size ); extern icvAdd_8s_C1R_t icvAdd_8s_C1R; extern "C" CvStatus icvAdd_16s_C1R_f ( const short* src1, int srcstep1, const short* src2, int srcstep2, short* dst, int dststep, CvSize size ); typedef CvStatus (* icvAdd_16s_C1R_t) ( const short* src1, int srcstep1, const short* src2, int srcstep2, short* dst, int dststep, CvSize size ); extern icvAdd_16s_C1R_t icvAdd_16s_C1R; extern "C" CvStatus icvAdd_32s_C1R_f ( const int* src1, int srcstep1, const int* src2, int srcstep2, int* dst, int dststep, CvSize size ); typedef CvStatus (* icvAdd_32s_C1R_t) ( const int* src1, int srcstep1, const int* src2, int srcstep2, int* dst, int dststep, CvSize size ); extern icvAdd_32s_C1R_t icvAdd_32s_C1R; extern "C" CvStatus icvAdd_32f_C1R_f ( const float* src1, int srcstep1, const float* src2, int srcstep2, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAdd_32f_C1R_t) ( const float* src1, int srcstep1, const float* src2, int srcstep2, float* dst, int dststep, CvSize size ); extern icvAdd_32f_C1R_t icvAdd_32f_C1R; extern "C" CvStatus icvAdd_64f_C1R_f ( const double* src1, int srcstep1, const double* src2, int srcstep2, double* dst, int dststep, CvSize size ); typedef CvStatus (* icvAdd_64f_C1R_t) ( const double* src1, int srcstep1, const double* src2, int srcstep2, double* dst, int dststep, CvSize size ); extern icvAdd_64f_C1R_t icvAdd_64f_C1R; extern "C" CvStatus icvSub_8u_C1R_f ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, uchar* dst, int dststep, CvSize size ); typedef CvStatus (* icvSub_8u_C1R_t) ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, uchar* dst, int dststep, CvSize size ); extern icvSub_8u_C1R_t icvSub_8u_C1R; extern "C" CvStatus icvSub_8s_C1R_f ( const char* src1, int srcstep1, const char* src2, int srcstep2, char* dst, int dststep, CvSize size ); typedef CvStatus (* icvSub_8s_C1R_t) ( const char* src1, int srcstep1, const char* src2, int srcstep2, char* dst, int dststep, CvSize size ); extern icvSub_8s_C1R_t icvSub_8s_C1R; extern "C" CvStatus icvSub_16s_C1R_f ( const short* src1, int srcstep1, const short* src2, int srcstep2, short* dst, int dststep, CvSize size ); typedef CvStatus (* icvSub_16s_C1R_t) ( const short* src1, int srcstep1, const short* src2, int srcstep2, short* dst, int dststep, CvSize size ); extern icvSub_16s_C1R_t icvSub_16s_C1R; extern "C" CvStatus icvSub_32s_C1R_f ( const int* src1, int srcstep1, const int* src2, int srcstep2, int* dst, int dststep, CvSize size ); typedef CvStatus (* icvSub_32s_C1R_t) ( const int* src1, int srcstep1, const int* src2, int srcstep2, int* dst, int dststep, CvSize size ); extern icvSub_32s_C1R_t icvSub_32s_C1R; extern "C" CvStatus icvSub_32f_C1R_f ( const float* src1, int srcstep1, const float* src2, int srcstep2, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvSub_32f_C1R_t) ( const float* src1, int srcstep1, const float* src2, int srcstep2, float* dst, int dststep, CvSize size ); extern icvSub_32f_C1R_t icvSub_32f_C1R; extern "C" CvStatus icvSub_64f_C1R_f ( const double* src1, int srcstep1, const double* src2, int srcstep2, double* dst, int dststep, CvSize size ); typedef CvStatus (* icvSub_64f_C1R_t) ( const double* src1, int srcstep1, const double* src2, int srcstep2, double* dst, int dststep, CvSize size ); extern icvSub_64f_C1R_t icvSub_64f_C1R; extern "C" CvStatus icvAddC_8u_C1R_f ( const uchar* src, int srcstep, uchar* dst, int dststep, CvSize size, const int* scalar ); typedef CvStatus (* icvAddC_8u_C1R_t) ( const uchar* src, int srcstep, uchar* dst, int dststep, CvSize size, const int* scalar ); extern icvAddC_8u_C1R_t icvAddC_8u_C1R; extern "C" CvStatus icvAddC_8s_C1R_f ( const char* src, int srcstep, char* dst, int dststep, CvSize size, const int* scalar ); typedef CvStatus (* icvAddC_8s_C1R_t) ( const char* src, int srcstep, char* dst, int dststep, CvSize size, const int* scalar ); extern icvAddC_8s_C1R_t icvAddC_8s_C1R; extern "C" CvStatus icvAddC_16s_C1R_f ( const short* src, int srcstep, short* dst, int dststep, CvSize size, const int* scalar ); typedef CvStatus (* icvAddC_16s_C1R_t) ( const short* src, int srcstep, short* dst, int dststep, CvSize size, const int* scalar ); extern icvAddC_16s_C1R_t icvAddC_16s_C1R; extern "C" CvStatus icvAddC_32s_C1R_f ( const int* src, int srcstep, int* dst, int dststep, CvSize size, const int* scalar ); typedef CvStatus (* icvAddC_32s_C1R_t) ( const int* src, int srcstep, int* dst, int dststep, CvSize size, const int* scalar ); extern icvAddC_32s_C1R_t icvAddC_32s_C1R; extern "C" CvStatus icvAddC_32f_C1R_f ( const float* src, int srcstep, float* dst, int dststep, CvSize size, const float* scalar ); typedef CvStatus (* icvAddC_32f_C1R_t) ( const float* src, int srcstep, float* dst, int dststep, CvSize size, const float* scalar ); extern icvAddC_32f_C1R_t icvAddC_32f_C1R; extern "C" CvStatus icvAddC_64f_C1R_f ( const double* src, int srcstep, double* dst, int dststep, CvSize size, const double* scalar ); typedef CvStatus (* icvAddC_64f_C1R_t) ( const double* src, int srcstep, double* dst, int dststep, CvSize size, const double* scalar ); extern icvAddC_64f_C1R_t icvAddC_64f_C1R; extern "C" CvStatus icvSubRC_8u_C1R_f ( const uchar* src, int srcstep, uchar* dst, int dststep, CvSize size, const int* scalar ); typedef CvStatus (* icvSubRC_8u_C1R_t) ( const uchar* src, int srcstep, uchar* dst, int dststep, CvSize size, const int* scalar ); extern icvSubRC_8u_C1R_t icvSubRC_8u_C1R; extern "C" CvStatus icvSubRC_8s_C1R_f ( const char* src, int srcstep, char* dst, int dststep, CvSize size, const int* scalar ); typedef CvStatus (* icvSubRC_8s_C1R_t) ( const char* src, int srcstep, char* dst, int dststep, CvSize size, const int* scalar ); extern icvSubRC_8s_C1R_t icvSubRC_8s_C1R; extern "C" CvStatus icvSubRC_16s_C1R_f ( const short* src, int srcstep, short* dst, int dststep, CvSize size, const int* scalar ); typedef CvStatus (* icvSubRC_16s_C1R_t) ( const short* src, int srcstep, short* dst, int dststep, CvSize size, const int* scalar ); extern icvSubRC_16s_C1R_t icvSubRC_16s_C1R; extern "C" CvStatus icvSubRC_32s_C1R_f ( const int* src, int srcstep, int* dst, int dststep, CvSize size, const int* scalar ); typedef CvStatus (* icvSubRC_32s_C1R_t) ( const int* src, int srcstep, int* dst, int dststep, CvSize size, const int* scalar ); extern icvSubRC_32s_C1R_t icvSubRC_32s_C1R; extern "C" CvStatus icvSubRC_32f_C1R_f ( const float* src, int srcstep, float* dst, int dststep, CvSize size, const float* scalar ); typedef CvStatus (* icvSubRC_32f_C1R_t) ( const float* src, int srcstep, float* dst, int dststep, CvSize size, const float* scalar ); extern icvSubRC_32f_C1R_t icvSubRC_32f_C1R; extern "C" CvStatus icvSubRC_64f_C1R_f ( const double* src, int srcstep, double* dst, int dststep, CvSize size, const double* scalar ); typedef CvStatus (* icvSubRC_64f_C1R_t) ( const double* src, int srcstep, double* dst, int dststep, CvSize size, const double* scalar ); extern icvSubRC_64f_C1R_t icvSubRC_64f_C1R; # 147 "_ipcv.h" extern "C" CvStatus icvMul_8u_C1R_f ( const uchar* src1, int step1, const uchar* src2, int step2, uchar* dst, int step, CvSize size, double scale ); typedef CvStatus (* icvMul_8u_C1R_t) ( const uchar* src1, int step1, const uchar* src2, int step2, uchar* dst, int step, CvSize size, double scale ); extern icvMul_8u_C1R_t icvMul_8u_C1R; extern "C" CvStatus icvMul_8s_C1R_f ( const char* src1, int step1, const char* src2, int step2, char* dst, int step, CvSize size, double scale ); typedef CvStatus (* icvMul_8s_C1R_t) ( const char* src1, int step1, const char* src2, int step2, char* dst, int step, CvSize size, double scale ); extern icvMul_8s_C1R_t icvMul_8s_C1R; extern "C" CvStatus icvMul_16s_C1R_f ( const short* src1, int step1, const short* src2, int step2, short* dst, int step, CvSize size, double scale ); typedef CvStatus (* icvMul_16s_C1R_t) ( const short* src1, int step1, const short* src2, int step2, short* dst, int step, CvSize size, double scale ); extern icvMul_16s_C1R_t icvMul_16s_C1R; extern "C" CvStatus icvMul_32s_C1R_f ( const int* src1, int step1, const int* src2, int step2, int* dst, int step, CvSize size, double scale ); typedef CvStatus (* icvMul_32s_C1R_t) ( const int* src1, int step1, const int* src2, int step2, int* dst, int step, CvSize size, double scale ); extern icvMul_32s_C1R_t icvMul_32s_C1R; extern "C" CvStatus icvMul_32f_C1R_f ( const float* src1, int step1, const float* src2, int step2, float* dst, int step, CvSize size, double scale ); typedef CvStatus (* icvMul_32f_C1R_t) ( const float* src1, int step1, const float* src2, int step2, float* dst, int step, CvSize size, double scale ); extern icvMul_32f_C1R_t icvMul_32f_C1R; extern "C" CvStatus icvMul_64f_C1R_f ( const double* src1, int step1, const double* src2, int step2, double* dst, int step, CvSize size, double scale ); typedef CvStatus (* icvMul_64f_C1R_t) ( const double* src1, int step1, const double* src2, int step2, double* dst, int step, CvSize size, double scale ); extern icvMul_64f_C1R_t icvMul_64f_C1R; # 168 "_ipcv.h" extern "C" CvStatus icvAnd_8u_C1R_f ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, uchar* dst, int dststep, CvSize size ); typedef CvStatus (* icvAnd_8u_C1R_t) ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, uchar* dst, int dststep, CvSize size ); extern icvAnd_8u_C1R_t icvAnd_8u_C1R; extern "C" CvStatus icvAndC_8u_C1R_f ( const uchar* src1, int srcstep1, uchar* dst, int dststep, CvSize, const uchar* scalar, int pix_size ); typedef CvStatus (* icvAndC_8u_C1R_t) ( const uchar* src1, int srcstep1, uchar* dst, int dststep, CvSize, const uchar* scalar, int pix_size ); extern icvAndC_8u_C1R_t icvAndC_8u_C1R; extern "C" CvStatus icvOr_8u_C1R_f ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, uchar* dst, int dststep, CvSize size ); typedef CvStatus (* icvOr_8u_C1R_t) ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, uchar* dst, int dststep, CvSize size ); extern icvOr_8u_C1R_t icvOr_8u_C1R; extern "C" CvStatus icvOrC_8u_C1R_f ( const uchar* src1, int srcstep1, uchar* dst, int dststep, CvSize, const uchar* scalar, int pix_size ); typedef CvStatus (* icvOrC_8u_C1R_t) ( const uchar* src1, int srcstep1, uchar* dst, int dststep, CvSize, const uchar* scalar, int pix_size ); extern icvOrC_8u_C1R_t icvOrC_8u_C1R; extern "C" CvStatus icvXor_8u_C1R_f ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, uchar* dst, int dststep, CvSize size ); typedef CvStatus (* icvXor_8u_C1R_t) ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, uchar* dst, int dststep, CvSize size ); extern icvXor_8u_C1R_t icvXor_8u_C1R; extern "C" CvStatus icvXorC_8u_C1R_f ( const uchar* src1, int srcstep1, uchar* dst, int dststep, CvSize, const uchar* scalar, int pix_size ); typedef CvStatus (* icvXorC_8u_C1R_t) ( const uchar* src1, int srcstep1, uchar* dst, int dststep, CvSize, const uchar* scalar, int pix_size ); extern icvXorC_8u_C1R_t icvXorC_8u_C1R; extern "C" CvStatus icvNot_8u_C1R_f ( const uchar* src, int step1, uchar* dst, int step, CvSize size ); typedef CvStatus (* icvNot_8u_C1R_t) ( const uchar* src, int step1, uchar* dst, int step, CvSize size ); extern icvNot_8u_C1R_t icvNot_8u_C1R; # 201 "_ipcv.h" extern "C" CvStatus icvMean_8u_C1MR_f ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_8u_C1MR_t) ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_8u_C1MR_t icvMean_8u_C1MR; extern "C" CvStatus icvMean_8u_C2MR_f ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_8u_C2MR_t) ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_8u_C2MR_t icvMean_8u_C2MR; extern "C" CvStatus icvMean_8u_C3MR_f ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_8u_C3MR_t) ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_8u_C3MR_t icvMean_8u_C3MR; extern "C" CvStatus icvMean_8u_C4MR_f ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_8u_C4MR_t) ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_8u_C4MR_t icvMean_8u_C4MR; extern "C" CvStatus icvMean_8u_CnCMR_f ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean); typedef CvStatus (* icvMean_8u_CnCMR_t) ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean); extern icvMean_8u_CnCMR_t icvMean_8u_CnCMR; extern "C" CvStatus icvMean_8s_C1MR_f ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_8s_C1MR_t) ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_8s_C1MR_t icvMean_8s_C1MR; extern "C" CvStatus icvMean_8s_C2MR_f ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_8s_C2MR_t) ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_8s_C2MR_t icvMean_8s_C2MR; extern "C" CvStatus icvMean_8s_C3MR_f ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_8s_C3MR_t) ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_8s_C3MR_t icvMean_8s_C3MR; extern "C" CvStatus icvMean_8s_C4MR_f ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_8s_C4MR_t) ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_8s_C4MR_t icvMean_8s_C4MR; extern "C" CvStatus icvMean_8s_CnCMR_f ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean); typedef CvStatus (* icvMean_8s_CnCMR_t) ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean); extern icvMean_8s_CnCMR_t icvMean_8s_CnCMR; extern "C" CvStatus icvMean_16s_C1MR_f ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_16s_C1MR_t) ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_16s_C1MR_t icvMean_16s_C1MR; extern "C" CvStatus icvMean_16s_C2MR_f ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_16s_C2MR_t) ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_16s_C2MR_t icvMean_16s_C2MR; extern "C" CvStatus icvMean_16s_C3MR_f ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_16s_C3MR_t) ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_16s_C3MR_t icvMean_16s_C3MR; extern "C" CvStatus icvMean_16s_C4MR_f ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_16s_C4MR_t) ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_16s_C4MR_t icvMean_16s_C4MR; extern "C" CvStatus icvMean_16s_CnCMR_f ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean); typedef CvStatus (* icvMean_16s_CnCMR_t) ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean); extern icvMean_16s_CnCMR_t icvMean_16s_CnCMR; extern "C" CvStatus icvMean_32s_C1MR_f ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_32s_C1MR_t) ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_32s_C1MR_t icvMean_32s_C1MR; extern "C" CvStatus icvMean_32s_C2MR_f ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_32s_C2MR_t) ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_32s_C2MR_t icvMean_32s_C2MR; extern "C" CvStatus icvMean_32s_C3MR_f ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_32s_C3MR_t) ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_32s_C3MR_t icvMean_32s_C3MR; extern "C" CvStatus icvMean_32s_C4MR_f ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_32s_C4MR_t) ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_32s_C4MR_t icvMean_32s_C4MR; extern "C" CvStatus icvMean_32s_CnCMR_f ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean); typedef CvStatus (* icvMean_32s_CnCMR_t) ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean); extern icvMean_32s_CnCMR_t icvMean_32s_CnCMR; extern "C" CvStatus icvMean_32f_C1MR_f ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_32f_C1MR_t) ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_32f_C1MR_t icvMean_32f_C1MR; extern "C" CvStatus icvMean_32f_C2MR_f ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_32f_C2MR_t) ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_32f_C2MR_t icvMean_32f_C2MR; extern "C" CvStatus icvMean_32f_C3MR_f ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_32f_C3MR_t) ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_32f_C3MR_t icvMean_32f_C3MR; extern "C" CvStatus icvMean_32f_C4MR_f ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_32f_C4MR_t) ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_32f_C4MR_t icvMean_32f_C4MR; extern "C" CvStatus icvMean_32f_CnCMR_f ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean); typedef CvStatus (* icvMean_32f_CnCMR_t) ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean); extern icvMean_32f_CnCMR_t icvMean_32f_CnCMR; extern "C" CvStatus icvMean_64f_C1MR_f ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_64f_C1MR_t) ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_64f_C1MR_t icvMean_64f_C1MR; extern "C" CvStatus icvMean_64f_C2MR_f ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_64f_C2MR_t) ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_64f_C2MR_t icvMean_64f_C2MR; extern "C" CvStatus icvMean_64f_C3MR_f ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_64f_C3MR_t) ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_64f_C3MR_t icvMean_64f_C3MR; extern "C" CvStatus icvMean_64f_C4MR_f ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); typedef CvStatus (* icvMean_64f_C4MR_t) ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean ); extern icvMean_64f_C4MR_t icvMean_64f_C4MR; extern "C" CvStatus icvMean_64f_CnCMR_f ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean); typedef CvStatus (* icvMean_64f_CnCMR_t) ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean); extern icvMean_64f_CnCMR_t icvMean_64f_CnCMR; # 242 "_ipcv.h" extern "C" CvStatus icvMean_StdDev_8u_C1R_f ( const uchar* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8u_C1R_t) ( const uchar* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_8u_C1R_t icvMean_StdDev_8u_C1R; extern "C" CvStatus icvMean_StdDev_8u_C2R_f ( const uchar* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8u_C2R_t) ( const uchar* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_8u_C2R_t icvMean_StdDev_8u_C2R; extern "C" CvStatus icvMean_StdDev_8u_C3R_f ( const uchar* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8u_C3R_t) ( const uchar* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_8u_C3R_t icvMean_StdDev_8u_C3R; extern "C" CvStatus icvMean_StdDev_8u_C4R_f ( const uchar* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8u_C4R_t) ( const uchar* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_8u_C4R_t icvMean_StdDev_8u_C4R; extern "C" CvStatus icvMean_StdDev_8u_CnCR_f ( const uchar* img, int imgstep, CvSize size, int cn, int coi, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8u_CnCR_t) ( const uchar* img, int imgstep, CvSize size, int cn, int coi, double* mean, double* sdv ); extern icvMean_StdDev_8u_CnCR_t icvMean_StdDev_8u_CnCR; extern "C" CvStatus icvMean_StdDev_8u_C1MR_f ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8u_C1MR_t) ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_8u_C1MR_t icvMean_StdDev_8u_C1MR; extern "C" CvStatus icvMean_StdDev_8u_C2MR_f ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8u_C2MR_t) ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_8u_C2MR_t icvMean_StdDev_8u_C2MR; extern "C" CvStatus icvMean_StdDev_8u_C3MR_f ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8u_C3MR_t) ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_8u_C3MR_t icvMean_StdDev_8u_C3MR; extern "C" CvStatus icvMean_StdDev_8u_C4MR_f ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8u_C4MR_t) ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_8u_C4MR_t icvMean_StdDev_8u_C4MR; extern "C" CvStatus icvMean_StdDev_8u_CnCMR_f ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8u_CnCMR_t) ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean, double* sdv ); extern icvMean_StdDev_8u_CnCMR_t icvMean_StdDev_8u_CnCMR; extern "C" CvStatus icvMean_StdDev_8s_C1R_f ( const char* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8s_C1R_t) ( const char* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_8s_C1R_t icvMean_StdDev_8s_C1R; extern "C" CvStatus icvMean_StdDev_8s_C2R_f ( const char* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8s_C2R_t) ( const char* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_8s_C2R_t icvMean_StdDev_8s_C2R; extern "C" CvStatus icvMean_StdDev_8s_C3R_f ( const char* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8s_C3R_t) ( const char* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_8s_C3R_t icvMean_StdDev_8s_C3R; extern "C" CvStatus icvMean_StdDev_8s_C4R_f ( const char* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8s_C4R_t) ( const char* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_8s_C4R_t icvMean_StdDev_8s_C4R; extern "C" CvStatus icvMean_StdDev_8s_CnCR_f ( const char* img, int imgstep, CvSize size, int cn, int coi, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8s_CnCR_t) ( const char* img, int imgstep, CvSize size, int cn, int coi, double* mean, double* sdv ); extern icvMean_StdDev_8s_CnCR_t icvMean_StdDev_8s_CnCR; extern "C" CvStatus icvMean_StdDev_8s_C1MR_f ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8s_C1MR_t) ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_8s_C1MR_t icvMean_StdDev_8s_C1MR; extern "C" CvStatus icvMean_StdDev_8s_C2MR_f ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8s_C2MR_t) ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_8s_C2MR_t icvMean_StdDev_8s_C2MR; extern "C" CvStatus icvMean_StdDev_8s_C3MR_f ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8s_C3MR_t) ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_8s_C3MR_t icvMean_StdDev_8s_C3MR; extern "C" CvStatus icvMean_StdDev_8s_C4MR_f ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8s_C4MR_t) ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_8s_C4MR_t icvMean_StdDev_8s_C4MR; extern "C" CvStatus icvMean_StdDev_8s_CnCMR_f ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_8s_CnCMR_t) ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean, double* sdv ); extern icvMean_StdDev_8s_CnCMR_t icvMean_StdDev_8s_CnCMR; extern "C" CvStatus icvMean_StdDev_16s_C1R_f ( const short* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_16s_C1R_t) ( const short* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_16s_C1R_t icvMean_StdDev_16s_C1R; extern "C" CvStatus icvMean_StdDev_16s_C2R_f ( const short* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_16s_C2R_t) ( const short* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_16s_C2R_t icvMean_StdDev_16s_C2R; extern "C" CvStatus icvMean_StdDev_16s_C3R_f ( const short* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_16s_C3R_t) ( const short* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_16s_C3R_t icvMean_StdDev_16s_C3R; extern "C" CvStatus icvMean_StdDev_16s_C4R_f ( const short* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_16s_C4R_t) ( const short* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_16s_C4R_t icvMean_StdDev_16s_C4R; extern "C" CvStatus icvMean_StdDev_16s_CnCR_f ( const short* img, int imgstep, CvSize size, int cn, int coi, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_16s_CnCR_t) ( const short* img, int imgstep, CvSize size, int cn, int coi, double* mean, double* sdv ); extern icvMean_StdDev_16s_CnCR_t icvMean_StdDev_16s_CnCR; extern "C" CvStatus icvMean_StdDev_16s_C1MR_f ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_16s_C1MR_t) ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_16s_C1MR_t icvMean_StdDev_16s_C1MR; extern "C" CvStatus icvMean_StdDev_16s_C2MR_f ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_16s_C2MR_t) ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_16s_C2MR_t icvMean_StdDev_16s_C2MR; extern "C" CvStatus icvMean_StdDev_16s_C3MR_f ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_16s_C3MR_t) ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_16s_C3MR_t icvMean_StdDev_16s_C3MR; extern "C" CvStatus icvMean_StdDev_16s_C4MR_f ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_16s_C4MR_t) ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_16s_C4MR_t icvMean_StdDev_16s_C4MR; extern "C" CvStatus icvMean_StdDev_16s_CnCMR_f ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_16s_CnCMR_t) ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean, double* sdv ); extern icvMean_StdDev_16s_CnCMR_t icvMean_StdDev_16s_CnCMR; extern "C" CvStatus icvMean_StdDev_32s_C1R_f ( const int* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32s_C1R_t) ( const int* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_32s_C1R_t icvMean_StdDev_32s_C1R; extern "C" CvStatus icvMean_StdDev_32s_C2R_f ( const int* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32s_C2R_t) ( const int* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_32s_C2R_t icvMean_StdDev_32s_C2R; extern "C" CvStatus icvMean_StdDev_32s_C3R_f ( const int* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32s_C3R_t) ( const int* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_32s_C3R_t icvMean_StdDev_32s_C3R; extern "C" CvStatus icvMean_StdDev_32s_C4R_f ( const int* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32s_C4R_t) ( const int* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_32s_C4R_t icvMean_StdDev_32s_C4R; extern "C" CvStatus icvMean_StdDev_32s_CnCR_f ( const int* img, int imgstep, CvSize size, int cn, int coi, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32s_CnCR_t) ( const int* img, int imgstep, CvSize size, int cn, int coi, double* mean, double* sdv ); extern icvMean_StdDev_32s_CnCR_t icvMean_StdDev_32s_CnCR; extern "C" CvStatus icvMean_StdDev_32s_C1MR_f ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32s_C1MR_t) ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_32s_C1MR_t icvMean_StdDev_32s_C1MR; extern "C" CvStatus icvMean_StdDev_32s_C2MR_f ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32s_C2MR_t) ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_32s_C2MR_t icvMean_StdDev_32s_C2MR; extern "C" CvStatus icvMean_StdDev_32s_C3MR_f ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32s_C3MR_t) ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_32s_C3MR_t icvMean_StdDev_32s_C3MR; extern "C" CvStatus icvMean_StdDev_32s_C4MR_f ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32s_C4MR_t) ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_32s_C4MR_t icvMean_StdDev_32s_C4MR; extern "C" CvStatus icvMean_StdDev_32s_CnCMR_f ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32s_CnCMR_t) ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean, double* sdv ); extern icvMean_StdDev_32s_CnCMR_t icvMean_StdDev_32s_CnCMR; extern "C" CvStatus icvMean_StdDev_32f_C1R_f ( const float* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32f_C1R_t) ( const float* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_32f_C1R_t icvMean_StdDev_32f_C1R; extern "C" CvStatus icvMean_StdDev_32f_C2R_f ( const float* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32f_C2R_t) ( const float* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_32f_C2R_t icvMean_StdDev_32f_C2R; extern "C" CvStatus icvMean_StdDev_32f_C3R_f ( const float* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32f_C3R_t) ( const float* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_32f_C3R_t icvMean_StdDev_32f_C3R; extern "C" CvStatus icvMean_StdDev_32f_C4R_f ( const float* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32f_C4R_t) ( const float* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_32f_C4R_t icvMean_StdDev_32f_C4R; extern "C" CvStatus icvMean_StdDev_32f_CnCR_f ( const float* img, int imgstep, CvSize size, int cn, int coi, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32f_CnCR_t) ( const float* img, int imgstep, CvSize size, int cn, int coi, double* mean, double* sdv ); extern icvMean_StdDev_32f_CnCR_t icvMean_StdDev_32f_CnCR; extern "C" CvStatus icvMean_StdDev_32f_C1MR_f ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32f_C1MR_t) ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_32f_C1MR_t icvMean_StdDev_32f_C1MR; extern "C" CvStatus icvMean_StdDev_32f_C2MR_f ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32f_C2MR_t) ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_32f_C2MR_t icvMean_StdDev_32f_C2MR; extern "C" CvStatus icvMean_StdDev_32f_C3MR_f ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32f_C3MR_t) ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_32f_C3MR_t icvMean_StdDev_32f_C3MR; extern "C" CvStatus icvMean_StdDev_32f_C4MR_f ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32f_C4MR_t) ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_32f_C4MR_t icvMean_StdDev_32f_C4MR; extern "C" CvStatus icvMean_StdDev_32f_CnCMR_f ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_32f_CnCMR_t) ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean, double* sdv ); extern icvMean_StdDev_32f_CnCMR_t icvMean_StdDev_32f_CnCMR; extern "C" CvStatus icvMean_StdDev_64f_C1R_f ( const double* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_64f_C1R_t) ( const double* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_64f_C1R_t icvMean_StdDev_64f_C1R; extern "C" CvStatus icvMean_StdDev_64f_C2R_f ( const double* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_64f_C2R_t) ( const double* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_64f_C2R_t icvMean_StdDev_64f_C2R; extern "C" CvStatus icvMean_StdDev_64f_C3R_f ( const double* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_64f_C3R_t) ( const double* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_64f_C3R_t icvMean_StdDev_64f_C3R; extern "C" CvStatus icvMean_StdDev_64f_C4R_f ( const double* img, int imgstep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_64f_C4R_t) ( const double* img, int imgstep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_64f_C4R_t icvMean_StdDev_64f_C4R; extern "C" CvStatus icvMean_StdDev_64f_CnCR_f ( const double* img, int imgstep, CvSize size, int cn, int coi, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_64f_CnCR_t) ( const double* img, int imgstep, CvSize size, int cn, int coi, double* mean, double* sdv ); extern icvMean_StdDev_64f_CnCR_t icvMean_StdDev_64f_CnCR; extern "C" CvStatus icvMean_StdDev_64f_C1MR_f ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_64f_C1MR_t) ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_64f_C1MR_t icvMean_StdDev_64f_C1MR; extern "C" CvStatus icvMean_StdDev_64f_C2MR_f ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_64f_C2MR_t) ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_64f_C2MR_t icvMean_StdDev_64f_C2MR; extern "C" CvStatus icvMean_StdDev_64f_C3MR_f ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_64f_C3MR_t) ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_64f_C3MR_t icvMean_StdDev_64f_C3MR; extern "C" CvStatus icvMean_StdDev_64f_C4MR_f ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_64f_C4MR_t) ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* mean, double* sdv ); extern icvMean_StdDev_64f_C4MR_t icvMean_StdDev_64f_C4MR; extern "C" CvStatus icvMean_StdDev_64f_CnCMR_f ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean, double* sdv ); typedef CvStatus (* icvMean_StdDev_64f_CnCMR_t) ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* mean, double* sdv ); extern icvMean_StdDev_64f_CnCMR_t icvMean_StdDev_64f_CnCMR; # 274 "_ipcv.h" extern "C" CvStatus icvMinMaxIndx_8u_C1R_f ( const uchar* img, int imgstep, CvSize size, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_8u_C1R_t) ( const uchar* img, int imgstep, CvSize size, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_8u_C1R_t icvMinMaxIndx_8u_C1R; extern "C" CvStatus icvMinMaxIndx_8u_CnCR_f ( const uchar* img, int imgstep, CvSize size, int cn, int coi, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_8u_CnCR_t) ( const uchar* img, int imgstep, CvSize size, int cn, int coi, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_8u_CnCR_t icvMinMaxIndx_8u_CnCR; extern "C" CvStatus icvMinMaxIndx_8u_C1MR_f ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_8u_C1MR_t) ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_8u_C1MR_t icvMinMaxIndx_8u_C1MR; extern "C" CvStatus icvMinMaxIndx_8u_CnCMR_f ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_8u_CnCMR_t) ( const uchar* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_8u_CnCMR_t icvMinMaxIndx_8u_CnCMR; extern "C" CvStatus icvMinMaxIndx_8s_C1R_f ( const char* img, int imgstep, CvSize size, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_8s_C1R_t) ( const char* img, int imgstep, CvSize size, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_8s_C1R_t icvMinMaxIndx_8s_C1R; extern "C" CvStatus icvMinMaxIndx_8s_CnCR_f ( const char* img, int imgstep, CvSize size, int cn, int coi, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_8s_CnCR_t) ( const char* img, int imgstep, CvSize size, int cn, int coi, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_8s_CnCR_t icvMinMaxIndx_8s_CnCR; extern "C" CvStatus icvMinMaxIndx_8s_C1MR_f ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_8s_C1MR_t) ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_8s_C1MR_t icvMinMaxIndx_8s_C1MR; extern "C" CvStatus icvMinMaxIndx_8s_CnCMR_f ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_8s_CnCMR_t) ( const char* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_8s_CnCMR_t icvMinMaxIndx_8s_CnCMR; extern "C" CvStatus icvMinMaxIndx_16s_C1R_f ( const short* img, int imgstep, CvSize size, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_16s_C1R_t) ( const short* img, int imgstep, CvSize size, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_16s_C1R_t icvMinMaxIndx_16s_C1R; extern "C" CvStatus icvMinMaxIndx_16s_CnCR_f ( const short* img, int imgstep, CvSize size, int cn, int coi, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_16s_CnCR_t) ( const short* img, int imgstep, CvSize size, int cn, int coi, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_16s_CnCR_t icvMinMaxIndx_16s_CnCR; extern "C" CvStatus icvMinMaxIndx_16s_C1MR_f ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_16s_C1MR_t) ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_16s_C1MR_t icvMinMaxIndx_16s_C1MR; extern "C" CvStatus icvMinMaxIndx_16s_CnCMR_f ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_16s_CnCMR_t) ( const short* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_16s_CnCMR_t icvMinMaxIndx_16s_CnCMR; extern "C" CvStatus icvMinMaxIndx_32s_C1R_f ( const int* img, int imgstep, CvSize size, double* minVal, double* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_32s_C1R_t) ( const int* img, int imgstep, CvSize size, double* minVal, double* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_32s_C1R_t icvMinMaxIndx_32s_C1R; extern "C" CvStatus icvMinMaxIndx_32s_CnCR_f ( const int* img, int imgstep, CvSize size, int cn, int coi, double* minVal, double* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_32s_CnCR_t) ( const int* img, int imgstep, CvSize size, int cn, int coi, double* minVal, double* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_32s_CnCR_t icvMinMaxIndx_32s_CnCR; extern "C" CvStatus icvMinMaxIndx_32s_C1MR_f ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* minVal, double* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_32s_C1MR_t) ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* minVal, double* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_32s_C1MR_t icvMinMaxIndx_32s_C1MR; extern "C" CvStatus icvMinMaxIndx_32s_CnCMR_f ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* minVal, double* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_32s_CnCMR_t) ( const int* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* minVal, double* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_32s_CnCMR_t icvMinMaxIndx_32s_CnCMR; extern "C" CvStatus icvMinMaxIndx_32f_C1R_f ( const float* img, int imgstep, CvSize size, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_32f_C1R_t) ( const float* img, int imgstep, CvSize size, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_32f_C1R_t icvMinMaxIndx_32f_C1R; extern "C" CvStatus icvMinMaxIndx_32f_CnCR_f ( const float* img, int imgstep, CvSize size, int cn, int coi, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_32f_CnCR_t) ( const float* img, int imgstep, CvSize size, int cn, int coi, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_32f_CnCR_t icvMinMaxIndx_32f_CnCR; extern "C" CvStatus icvMinMaxIndx_32f_C1MR_f ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_32f_C1MR_t) ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_32f_C1MR_t icvMinMaxIndx_32f_C1MR; extern "C" CvStatus icvMinMaxIndx_32f_CnCMR_f ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_32f_CnCMR_t) ( const float* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, float* minVal, float* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_32f_CnCMR_t icvMinMaxIndx_32f_CnCMR; extern "C" CvStatus icvMinMaxIndx_64f_C1R_f ( const double* img, int imgstep, CvSize size, double* minVal, double* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_64f_C1R_t) ( const double* img, int imgstep, CvSize size, double* minVal, double* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_64f_C1R_t icvMinMaxIndx_64f_C1R; extern "C" CvStatus icvMinMaxIndx_64f_CnCR_f ( const double* img, int imgstep, CvSize size, int cn, int coi, double* minVal, double* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_64f_CnCR_t) ( const double* img, int imgstep, CvSize size, int cn, int coi, double* minVal, double* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_64f_CnCR_t icvMinMaxIndx_64f_CnCR; extern "C" CvStatus icvMinMaxIndx_64f_C1MR_f ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* minVal, double* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_64f_C1MR_t) ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, double* minVal, double* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_64f_C1MR_t icvMinMaxIndx_64f_C1MR; extern "C" CvStatus icvMinMaxIndx_64f_CnCMR_f ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* minVal, double* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); typedef CvStatus (* icvMinMaxIndx_64f_CnCMR_t) ( const double* img, int imgstep, const uchar* mask, int maskStep, CvSize size, int cn, int coi, double* minVal, double* maxVal, CvPoint* minLoc, CvPoint* maxLoc ); extern icvMinMaxIndx_64f_CnCMR_t icvMinMaxIndx_64f_CnCMR; # 298 "_ipcv.h" extern "C" CvStatus icvSum_8u_C1R_f ( const uchar* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_8u_C1R_t) ( const uchar* img, int imgstep, CvSize size, double* sum ); extern icvSum_8u_C1R_t icvSum_8u_C1R; extern "C" CvStatus icvSum_8u_C2R_f ( const uchar* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_8u_C2R_t) ( const uchar* img, int imgstep, CvSize size, double* sum ); extern icvSum_8u_C2R_t icvSum_8u_C2R; extern "C" CvStatus icvSum_8u_C3R_f ( const uchar* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_8u_C3R_t) ( const uchar* img, int imgstep, CvSize size, double* sum ); extern icvSum_8u_C3R_t icvSum_8u_C3R; extern "C" CvStatus icvSum_8u_C4R_f ( const uchar* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_8u_C4R_t) ( const uchar* img, int imgstep, CvSize size, double* sum ); extern icvSum_8u_C4R_t icvSum_8u_C4R; extern "C" CvStatus icvSum_8u_CnCR_f ( const uchar* img, int imgstep, CvSize size, int cn, int coi, double* sum ); typedef CvStatus (* icvSum_8u_CnCR_t) ( const uchar* img, int imgstep, CvSize size, int cn, int coi, double* sum ); extern icvSum_8u_CnCR_t icvSum_8u_CnCR; extern "C" CvStatus icvSum_8s_C1R_f ( const char* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_8s_C1R_t) ( const char* img, int imgstep, CvSize size, double* sum ); extern icvSum_8s_C1R_t icvSum_8s_C1R; extern "C" CvStatus icvSum_8s_C2R_f ( const char* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_8s_C2R_t) ( const char* img, int imgstep, CvSize size, double* sum ); extern icvSum_8s_C2R_t icvSum_8s_C2R; extern "C" CvStatus icvSum_8s_C3R_f ( const char* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_8s_C3R_t) ( const char* img, int imgstep, CvSize size, double* sum ); extern icvSum_8s_C3R_t icvSum_8s_C3R; extern "C" CvStatus icvSum_8s_C4R_f ( const char* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_8s_C4R_t) ( const char* img, int imgstep, CvSize size, double* sum ); extern icvSum_8s_C4R_t icvSum_8s_C4R; extern "C" CvStatus icvSum_8s_CnCR_f ( const char* img, int imgstep, CvSize size, int cn, int coi, double* sum ); typedef CvStatus (* icvSum_8s_CnCR_t) ( const char* img, int imgstep, CvSize size, int cn, int coi, double* sum ); extern icvSum_8s_CnCR_t icvSum_8s_CnCR; extern "C" CvStatus icvSum_16s_C1R_f ( const short* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_16s_C1R_t) ( const short* img, int imgstep, CvSize size, double* sum ); extern icvSum_16s_C1R_t icvSum_16s_C1R; extern "C" CvStatus icvSum_16s_C2R_f ( const short* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_16s_C2R_t) ( const short* img, int imgstep, CvSize size, double* sum ); extern icvSum_16s_C2R_t icvSum_16s_C2R; extern "C" CvStatus icvSum_16s_C3R_f ( const short* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_16s_C3R_t) ( const short* img, int imgstep, CvSize size, double* sum ); extern icvSum_16s_C3R_t icvSum_16s_C3R; extern "C" CvStatus icvSum_16s_C4R_f ( const short* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_16s_C4R_t) ( const short* img, int imgstep, CvSize size, double* sum ); extern icvSum_16s_C4R_t icvSum_16s_C4R; extern "C" CvStatus icvSum_16s_CnCR_f ( const short* img, int imgstep, CvSize size, int cn, int coi, double* sum ); typedef CvStatus (* icvSum_16s_CnCR_t) ( const short* img, int imgstep, CvSize size, int cn, int coi, double* sum ); extern icvSum_16s_CnCR_t icvSum_16s_CnCR; extern "C" CvStatus icvSum_32s_C1R_f ( const int* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_32s_C1R_t) ( const int* img, int imgstep, CvSize size, double* sum ); extern icvSum_32s_C1R_t icvSum_32s_C1R; extern "C" CvStatus icvSum_32s_C2R_f ( const int* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_32s_C2R_t) ( const int* img, int imgstep, CvSize size, double* sum ); extern icvSum_32s_C2R_t icvSum_32s_C2R; extern "C" CvStatus icvSum_32s_C3R_f ( const int* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_32s_C3R_t) ( const int* img, int imgstep, CvSize size, double* sum ); extern icvSum_32s_C3R_t icvSum_32s_C3R; extern "C" CvStatus icvSum_32s_C4R_f ( const int* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_32s_C4R_t) ( const int* img, int imgstep, CvSize size, double* sum ); extern icvSum_32s_C4R_t icvSum_32s_C4R; extern "C" CvStatus icvSum_32s_CnCR_f ( const int* img, int imgstep, CvSize size, int cn, int coi, double* sum ); typedef CvStatus (* icvSum_32s_CnCR_t) ( const int* img, int imgstep, CvSize size, int cn, int coi, double* sum ); extern icvSum_32s_CnCR_t icvSum_32s_CnCR; extern "C" CvStatus icvSum_32f_C1R_f ( const float* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_32f_C1R_t) ( const float* img, int imgstep, CvSize size, double* sum ); extern icvSum_32f_C1R_t icvSum_32f_C1R; extern "C" CvStatus icvSum_32f_C2R_f ( const float* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_32f_C2R_t) ( const float* img, int imgstep, CvSize size, double* sum ); extern icvSum_32f_C2R_t icvSum_32f_C2R; extern "C" CvStatus icvSum_32f_C3R_f ( const float* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_32f_C3R_t) ( const float* img, int imgstep, CvSize size, double* sum ); extern icvSum_32f_C3R_t icvSum_32f_C3R; extern "C" CvStatus icvSum_32f_C4R_f ( const float* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_32f_C4R_t) ( const float* img, int imgstep, CvSize size, double* sum ); extern icvSum_32f_C4R_t icvSum_32f_C4R; extern "C" CvStatus icvSum_32f_CnCR_f ( const float* img, int imgstep, CvSize size, int cn, int coi, double* sum ); typedef CvStatus (* icvSum_32f_CnCR_t) ( const float* img, int imgstep, CvSize size, int cn, int coi, double* sum ); extern icvSum_32f_CnCR_t icvSum_32f_CnCR; extern "C" CvStatus icvSum_64f_C1R_f ( const double* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_64f_C1R_t) ( const double* img, int imgstep, CvSize size, double* sum ); extern icvSum_64f_C1R_t icvSum_64f_C1R; extern "C" CvStatus icvSum_64f_C2R_f ( const double* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_64f_C2R_t) ( const double* img, int imgstep, CvSize size, double* sum ); extern icvSum_64f_C2R_t icvSum_64f_C2R; extern "C" CvStatus icvSum_64f_C3R_f ( const double* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_64f_C3R_t) ( const double* img, int imgstep, CvSize size, double* sum ); extern icvSum_64f_C3R_t icvSum_64f_C3R; extern "C" CvStatus icvSum_64f_C4R_f ( const double* img, int imgstep, CvSize size, double* sum ); typedef CvStatus (* icvSum_64f_C4R_t) ( const double* img, int imgstep, CvSize size, double* sum ); extern icvSum_64f_C4R_t icvSum_64f_C4R; extern "C" CvStatus icvSum_64f_CnCR_f ( const double* img, int imgstep, CvSize size, int cn, int coi, double* sum ); typedef CvStatus (* icvSum_64f_CnCR_t) ( const double* img, int imgstep, CvSize size, int cn, int coi, double* sum ); extern icvSum_64f_CnCR_t icvSum_64f_CnCR; # 316 "_ipcv.h" extern "C" CvStatus icvCountNonZero_8u_C1R_f ( const uchar* img, int imgstep, CvSize size, int* nonzero ); typedef CvStatus (* icvCountNonZero_8u_C1R_t) ( const uchar* img, int imgstep, CvSize size, int* nonzero ); extern icvCountNonZero_8u_C1R_t icvCountNonZero_8u_C1R; extern "C" CvStatus icvCountNonZero_8u_CnCR_f ( const uchar* img, int imgstep, CvSize size, int cn, int coi, int* nonzero ); typedef CvStatus (* icvCountNonZero_8u_CnCR_t) ( const uchar* img, int imgstep, CvSize size, int cn, int coi, int* nonzero ); extern icvCountNonZero_8u_CnCR_t icvCountNonZero_8u_CnCR; extern "C" CvStatus icvCountNonZero_16s_C1R_f ( const ushort* img, int imgstep, CvSize size, int* nonzero ); typedef CvStatus (* icvCountNonZero_16s_C1R_t) ( const ushort* img, int imgstep, CvSize size, int* nonzero ); extern icvCountNonZero_16s_C1R_t icvCountNonZero_16s_C1R; extern "C" CvStatus icvCountNonZero_16s_CnCR_f ( const ushort* img, int imgstep, CvSize size, int cn, int coi, int* nonzero ); typedef CvStatus (* icvCountNonZero_16s_CnCR_t) ( const ushort* img, int imgstep, CvSize size, int cn, int coi, int* nonzero ); extern icvCountNonZero_16s_CnCR_t icvCountNonZero_16s_CnCR; extern "C" CvStatus icvCountNonZero_32s_C1R_f ( const int* img, int imgstep, CvSize size, int* nonzero ); typedef CvStatus (* icvCountNonZero_32s_C1R_t) ( const int* img, int imgstep, CvSize size, int* nonzero ); extern icvCountNonZero_32s_C1R_t icvCountNonZero_32s_C1R; extern "C" CvStatus icvCountNonZero_32s_CnCR_f ( const int* img, int imgstep, CvSize size, int cn, int coi, int* nonzero ); typedef CvStatus (* icvCountNonZero_32s_CnCR_t) ( const int* img, int imgstep, CvSize size, int cn, int coi, int* nonzero ); extern icvCountNonZero_32s_CnCR_t icvCountNonZero_32s_CnCR; extern "C" CvStatus icvCountNonZero_32f_C1R_f ( const int* img, int imgstep, CvSize size, int* nonzero ); typedef CvStatus (* icvCountNonZero_32f_C1R_t) ( const int* img, int imgstep, CvSize size, int* nonzero ); extern icvCountNonZero_32f_C1R_t icvCountNonZero_32f_C1R; extern "C" CvStatus icvCountNonZero_32f_CnCR_f ( const int* img, int imgstep, CvSize size, int cn, int coi, int* nonzero ); typedef CvStatus (* icvCountNonZero_32f_CnCR_t) ( const int* img, int imgstep, CvSize size, int cn, int coi, int* nonzero ); extern icvCountNonZero_32f_CnCR_t icvCountNonZero_32f_CnCR; extern "C" CvStatus icvCountNonZero_64f_C1R_f ( const int64* img, int imgstep, CvSize size, int* nonzero ); typedef CvStatus (* icvCountNonZero_64f_C1R_t) ( const int64* img, int imgstep, CvSize size, int* nonzero ); extern icvCountNonZero_64f_C1R_t icvCountNonZero_64f_C1R; extern "C" CvStatus icvCountNonZero_64f_CnCR_f ( const int64* img, int imgstep, CvSize size, int cn, int coi, int* nonzero ); typedef CvStatus (* icvCountNonZero_64f_CnCR_t) ( const int64* img, int imgstep, CvSize size, int cn, int coi, int* nonzero ); extern icvCountNonZero_64f_CnCR_t icvCountNonZero_64f_CnCR; # 330 "_ipcv.h" extern "C" CvStatus icvMomentsInTile_8u_CnCR_f ( const uchar* img, int step, CvSize size, int cn, int coi, double *moments ); typedef CvStatus (* icvMomentsInTile_8u_CnCR_t) ( const uchar* img, int step, CvSize size, int cn, int coi, double *moments ); extern icvMomentsInTile_8u_CnCR_t icvMomentsInTile_8u_CnCR; extern "C" CvStatus icvMomentsInTile_8s_CnCR_f ( const char* img, int step, CvSize size, int cn, int coi, double *moments ); typedef CvStatus (* icvMomentsInTile_8s_CnCR_t) ( const char* img, int step, CvSize size, int cn, int coi, double *moments ); extern icvMomentsInTile_8s_CnCR_t icvMomentsInTile_8s_CnCR; extern "C" CvStatus icvMomentsInTile_16s_CnCR_f ( const short* img, int step, CvSize size, int cn, int coi, double *moments ); typedef CvStatus (* icvMomentsInTile_16s_CnCR_t) ( const short* img, int step, CvSize size, int cn, int coi, double *moments ); extern icvMomentsInTile_16s_CnCR_t icvMomentsInTile_16s_CnCR; extern "C" CvStatus icvMomentsInTile_32f_CnCR_f ( const float* img, int step, CvSize size, int cn, int coi, double *moments ); typedef CvStatus (* icvMomentsInTile_32f_CnCR_t) ( const float* img, int step, CvSize size, int cn, int coi, double *moments ); extern icvMomentsInTile_32f_CnCR_t icvMomentsInTile_32f_CnCR; extern "C" CvStatus icvMomentsInTile_64f_CnCR_f ( const double* img, int step, CvSize size, int cn, int coi, double *moments ); typedef CvStatus (* icvMomentsInTile_64f_CnCR_t) ( const double* img, int step, CvSize size, int cn, int coi, double *moments ); extern icvMomentsInTile_64f_CnCR_t icvMomentsInTile_64f_CnCR; extern "C" CvStatus icvMomentsInTileBin_8u_CnCR_f ( const uchar* img, int step, CvSize size, int cn, int coi, double *moments ); typedef CvStatus (* icvMomentsInTileBin_8u_CnCR_t) ( const uchar* img, int step, CvSize size, int cn, int coi, double *moments ); extern icvMomentsInTileBin_8u_CnCR_t icvMomentsInTileBin_8u_CnCR; extern "C" CvStatus icvMomentsInTileBin_16s_CnCR_f ( const ushort* img, int step, CvSize size, int cn, int coi, double *moments ); typedef CvStatus (* icvMomentsInTileBin_16s_CnCR_t) ( const ushort* img, int step, CvSize size, int cn, int coi, double *moments ); extern icvMomentsInTileBin_16s_CnCR_t icvMomentsInTileBin_16s_CnCR; extern "C" CvStatus icvMomentsInTileBin_32f_CnCR_f ( const int* img, int step, CvSize size, int cn, int coi, double *moments ); typedef CvStatus (* icvMomentsInTileBin_32f_CnCR_t) ( const int* img, int step, CvSize size, int cn, int coi, double *moments ); extern icvMomentsInTileBin_32f_CnCR_t icvMomentsInTileBin_32f_CnCR; extern "C" CvStatus icvMomentsInTileBin_64f_CnCR_f ( const int64* img, int step, CvSize size, int cn, int coi, double *moments ); typedef CvStatus (* icvMomentsInTileBin_64f_CnCR_t) ( const int64* img, int step, CvSize size, int cn, int coi, double *moments ); extern icvMomentsInTileBin_64f_CnCR_t icvMomentsInTileBin_64f_CnCR; # 384 "_ipcv.h" extern "C" CvStatus icvNorm_Inf_8u_C1R_f ( const uchar* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_Inf_8u_C1R_t) ( const uchar* img, int imgstep, CvSize size, double* norm ); extern icvNorm_Inf_8u_C1R_t icvNorm_Inf_8u_C1R; extern "C" CvStatus icvNorm_L1_8u_C1R_f ( const uchar* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L1_8u_C1R_t) ( const uchar* img, int imgstep, CvSize size, double* norm ); extern icvNorm_L1_8u_C1R_t icvNorm_L1_8u_C1R; extern "C" CvStatus icvNorm_L2_8u_C1R_f ( const uchar* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L2_8u_C1R_t) ( const uchar* img, int imgstep, CvSize size, double* norm ); extern icvNorm_L2_8u_C1R_t icvNorm_L2_8u_C1R; extern "C" CvStatus icvNormDiff_Inf_8u_C1R_f ( const uchar* img1, int imgstep1, const uchar* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_Inf_8u_C1R_t) ( const uchar* img1, int imgstep1, const uchar* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_Inf_8u_C1R_t icvNormDiff_Inf_8u_C1R; extern "C" CvStatus icvNormDiff_L1_8u_C1R_f ( const uchar* img1, int imgstep1, const uchar* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L1_8u_C1R_t) ( const uchar* img1, int imgstep1, const uchar* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_L1_8u_C1R_t icvNormDiff_L1_8u_C1R; extern "C" CvStatus icvNormDiff_L2_8u_C1R_f ( const uchar* img1, int imgstep1, const uchar* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L2_8u_C1R_t) ( const uchar* img1, int imgstep1, const uchar* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_L2_8u_C1R_t icvNormDiff_L2_8u_C1R; extern "C" CvStatus icvNorm_Inf_8u_C1MR_f ( const uchar* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_Inf_8u_C1MR_t) ( const uchar* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_Inf_8u_C1MR_t icvNorm_Inf_8u_C1MR; extern "C" CvStatus icvNorm_L1_8u_C1MR_f ( const uchar* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L1_8u_C1MR_t) ( const uchar* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_L1_8u_C1MR_t icvNorm_L1_8u_C1MR; extern "C" CvStatus icvNorm_L2_8u_C1MR_f ( const uchar* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L2_8u_C1MR_t) ( const uchar* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_L2_8u_C1MR_t icvNorm_L2_8u_C1MR; extern "C" CvStatus icvNormDiff_Inf_8u_C1MR_f ( const uchar* img1, int imgstep1, const uchar* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_Inf_8u_C1MR_t) ( const uchar* img1, int imgstep1, const uchar* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_Inf_8u_C1MR_t icvNormDiff_Inf_8u_C1MR; extern "C" CvStatus icvNormDiff_L1_8u_C1MR_f ( const uchar* img1, int imgstep1, const uchar* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L1_8u_C1MR_t) ( const uchar* img1, int imgstep1, const uchar* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_L1_8u_C1MR_t icvNormDiff_L1_8u_C1MR; extern "C" CvStatus icvNormDiff_L2_8u_C1MR_f ( const uchar* img1, int imgstep1, const uchar* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L2_8u_C1MR_t) ( const uchar* img1, int imgstep1, const uchar* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_L2_8u_C1MR_t icvNormDiff_L2_8u_C1MR; extern "C" CvStatus icvNorm_Inf_8s_C1R_f ( const char* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_Inf_8s_C1R_t) ( const char* img, int imgstep, CvSize size, double* norm ); extern icvNorm_Inf_8s_C1R_t icvNorm_Inf_8s_C1R; extern "C" CvStatus icvNorm_L1_8s_C1R_f ( const char* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L1_8s_C1R_t) ( const char* img, int imgstep, CvSize size, double* norm ); extern icvNorm_L1_8s_C1R_t icvNorm_L1_8s_C1R; extern "C" CvStatus icvNorm_L2_8s_C1R_f ( const char* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L2_8s_C1R_t) ( const char* img, int imgstep, CvSize size, double* norm ); extern icvNorm_L2_8s_C1R_t icvNorm_L2_8s_C1R; extern "C" CvStatus icvNormDiff_Inf_8s_C1R_f ( const char* img1, int imgstep1, const char* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_Inf_8s_C1R_t) ( const char* img1, int imgstep1, const char* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_Inf_8s_C1R_t icvNormDiff_Inf_8s_C1R; extern "C" CvStatus icvNormDiff_L1_8s_C1R_f ( const char* img1, int imgstep1, const char* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L1_8s_C1R_t) ( const char* img1, int imgstep1, const char* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_L1_8s_C1R_t icvNormDiff_L1_8s_C1R; extern "C" CvStatus icvNormDiff_L2_8s_C1R_f ( const char* img1, int imgstep1, const char* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L2_8s_C1R_t) ( const char* img1, int imgstep1, const char* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_L2_8s_C1R_t icvNormDiff_L2_8s_C1R; extern "C" CvStatus icvNorm_Inf_8s_C1MR_f ( const char* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_Inf_8s_C1MR_t) ( const char* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_Inf_8s_C1MR_t icvNorm_Inf_8s_C1MR; extern "C" CvStatus icvNorm_L1_8s_C1MR_f ( const char* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L1_8s_C1MR_t) ( const char* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_L1_8s_C1MR_t icvNorm_L1_8s_C1MR; extern "C" CvStatus icvNorm_L2_8s_C1MR_f ( const char* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L2_8s_C1MR_t) ( const char* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_L2_8s_C1MR_t icvNorm_L2_8s_C1MR; extern "C" CvStatus icvNormDiff_Inf_8s_C1MR_f ( const char* img1, int imgstep1, const char* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_Inf_8s_C1MR_t) ( const char* img1, int imgstep1, const char* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_Inf_8s_C1MR_t icvNormDiff_Inf_8s_C1MR; extern "C" CvStatus icvNormDiff_L1_8s_C1MR_f ( const char* img1, int imgstep1, const char* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L1_8s_C1MR_t) ( const char* img1, int imgstep1, const char* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_L1_8s_C1MR_t icvNormDiff_L1_8s_C1MR; extern "C" CvStatus icvNormDiff_L2_8s_C1MR_f ( const char* img1, int imgstep1, const char* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L2_8s_C1MR_t) ( const char* img1, int imgstep1, const char* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_L2_8s_C1MR_t icvNormDiff_L2_8s_C1MR; extern "C" CvStatus icvNorm_Inf_16s_C1R_f ( const short* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_Inf_16s_C1R_t) ( const short* img, int imgstep, CvSize size, double* norm ); extern icvNorm_Inf_16s_C1R_t icvNorm_Inf_16s_C1R; extern "C" CvStatus icvNorm_L1_16s_C1R_f ( const short* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L1_16s_C1R_t) ( const short* img, int imgstep, CvSize size, double* norm ); extern icvNorm_L1_16s_C1R_t icvNorm_L1_16s_C1R; extern "C" CvStatus icvNorm_L2_16s_C1R_f ( const short* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L2_16s_C1R_t) ( const short* img, int imgstep, CvSize size, double* norm ); extern icvNorm_L2_16s_C1R_t icvNorm_L2_16s_C1R; extern "C" CvStatus icvNormDiff_Inf_16s_C1R_f ( const short* img1, int imgstep1, const short* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_Inf_16s_C1R_t) ( const short* img1, int imgstep1, const short* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_Inf_16s_C1R_t icvNormDiff_Inf_16s_C1R; extern "C" CvStatus icvNormDiff_L1_16s_C1R_f ( const short* img1, int imgstep1, const short* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L1_16s_C1R_t) ( const short* img1, int imgstep1, const short* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_L1_16s_C1R_t icvNormDiff_L1_16s_C1R; extern "C" CvStatus icvNormDiff_L2_16s_C1R_f ( const short* img1, int imgstep1, const short* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L2_16s_C1R_t) ( const short* img1, int imgstep1, const short* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_L2_16s_C1R_t icvNormDiff_L2_16s_C1R; extern "C" CvStatus icvNorm_Inf_16s_C1MR_f ( const short* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_Inf_16s_C1MR_t) ( const short* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_Inf_16s_C1MR_t icvNorm_Inf_16s_C1MR; extern "C" CvStatus icvNorm_L1_16s_C1MR_f ( const short* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L1_16s_C1MR_t) ( const short* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_L1_16s_C1MR_t icvNorm_L1_16s_C1MR; extern "C" CvStatus icvNorm_L2_16s_C1MR_f ( const short* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L2_16s_C1MR_t) ( const short* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_L2_16s_C1MR_t icvNorm_L2_16s_C1MR; extern "C" CvStatus icvNormDiff_Inf_16s_C1MR_f ( const short* img1, int imgstep1, const short* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_Inf_16s_C1MR_t) ( const short* img1, int imgstep1, const short* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_Inf_16s_C1MR_t icvNormDiff_Inf_16s_C1MR; extern "C" CvStatus icvNormDiff_L1_16s_C1MR_f ( const short* img1, int imgstep1, const short* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L1_16s_C1MR_t) ( const short* img1, int imgstep1, const short* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_L1_16s_C1MR_t icvNormDiff_L1_16s_C1MR; extern "C" CvStatus icvNormDiff_L2_16s_C1MR_f ( const short* img1, int imgstep1, const short* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L2_16s_C1MR_t) ( const short* img1, int imgstep1, const short* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_L2_16s_C1MR_t icvNormDiff_L2_16s_C1MR; extern "C" CvStatus icvNorm_Inf_32s_C1R_f ( const int* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_Inf_32s_C1R_t) ( const int* img, int imgstep, CvSize size, double* norm ); extern icvNorm_Inf_32s_C1R_t icvNorm_Inf_32s_C1R; extern "C" CvStatus icvNorm_L1_32s_C1R_f ( const int* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L1_32s_C1R_t) ( const int* img, int imgstep, CvSize size, double* norm ); extern icvNorm_L1_32s_C1R_t icvNorm_L1_32s_C1R; extern "C" CvStatus icvNorm_L2_32s_C1R_f ( const int* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L2_32s_C1R_t) ( const int* img, int imgstep, CvSize size, double* norm ); extern icvNorm_L2_32s_C1R_t icvNorm_L2_32s_C1R; extern "C" CvStatus icvNormDiff_Inf_32s_C1R_f ( const int* img1, int imgstep1, const int* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_Inf_32s_C1R_t) ( const int* img1, int imgstep1, const int* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_Inf_32s_C1R_t icvNormDiff_Inf_32s_C1R; extern "C" CvStatus icvNormDiff_L1_32s_C1R_f ( const int* img1, int imgstep1, const int* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L1_32s_C1R_t) ( const int* img1, int imgstep1, const int* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_L1_32s_C1R_t icvNormDiff_L1_32s_C1R; extern "C" CvStatus icvNormDiff_L2_32s_C1R_f ( const int* img1, int imgstep1, const int* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L2_32s_C1R_t) ( const int* img1, int imgstep1, const int* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_L2_32s_C1R_t icvNormDiff_L2_32s_C1R; extern "C" CvStatus icvNorm_Inf_32s_C1MR_f ( const int* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_Inf_32s_C1MR_t) ( const int* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_Inf_32s_C1MR_t icvNorm_Inf_32s_C1MR; extern "C" CvStatus icvNorm_L1_32s_C1MR_f ( const int* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L1_32s_C1MR_t) ( const int* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_L1_32s_C1MR_t icvNorm_L1_32s_C1MR; extern "C" CvStatus icvNorm_L2_32s_C1MR_f ( const int* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L2_32s_C1MR_t) ( const int* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_L2_32s_C1MR_t icvNorm_L2_32s_C1MR; extern "C" CvStatus icvNormDiff_Inf_32s_C1MR_f ( const int* img1, int imgstep1, const int* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_Inf_32s_C1MR_t) ( const int* img1, int imgstep1, const int* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_Inf_32s_C1MR_t icvNormDiff_Inf_32s_C1MR; extern "C" CvStatus icvNormDiff_L1_32s_C1MR_f ( const int* img1, int imgstep1, const int* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L1_32s_C1MR_t) ( const int* img1, int imgstep1, const int* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_L1_32s_C1MR_t icvNormDiff_L1_32s_C1MR; extern "C" CvStatus icvNormDiff_L2_32s_C1MR_f ( const int* img1, int imgstep1, const int* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L2_32s_C1MR_t) ( const int* img1, int imgstep1, const int* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_L2_32s_C1MR_t icvNormDiff_L2_32s_C1MR; extern "C" CvStatus icvNorm_Inf_32f_C1R_f ( const float* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_Inf_32f_C1R_t) ( const float* img, int imgstep, CvSize size, double* norm ); extern icvNorm_Inf_32f_C1R_t icvNorm_Inf_32f_C1R; extern "C" CvStatus icvNorm_L1_32f_C1R_f ( const float* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L1_32f_C1R_t) ( const float* img, int imgstep, CvSize size, double* norm ); extern icvNorm_L1_32f_C1R_t icvNorm_L1_32f_C1R; extern "C" CvStatus icvNorm_L2_32f_C1R_f ( const float* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L2_32f_C1R_t) ( const float* img, int imgstep, CvSize size, double* norm ); extern icvNorm_L2_32f_C1R_t icvNorm_L2_32f_C1R; extern "C" CvStatus icvNormDiff_Inf_32f_C1R_f ( const float* img1, int imgstep1, const float* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_Inf_32f_C1R_t) ( const float* img1, int imgstep1, const float* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_Inf_32f_C1R_t icvNormDiff_Inf_32f_C1R; extern "C" CvStatus icvNormDiff_L1_32f_C1R_f ( const float* img1, int imgstep1, const float* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L1_32f_C1R_t) ( const float* img1, int imgstep1, const float* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_L1_32f_C1R_t icvNormDiff_L1_32f_C1R; extern "C" CvStatus icvNormDiff_L2_32f_C1R_f ( const float* img1, int imgstep1, const float* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L2_32f_C1R_t) ( const float* img1, int imgstep1, const float* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_L2_32f_C1R_t icvNormDiff_L2_32f_C1R; extern "C" CvStatus icvNorm_Inf_32f_C1MR_f ( const float* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_Inf_32f_C1MR_t) ( const float* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_Inf_32f_C1MR_t icvNorm_Inf_32f_C1MR; extern "C" CvStatus icvNorm_L1_32f_C1MR_f ( const float* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L1_32f_C1MR_t) ( const float* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_L1_32f_C1MR_t icvNorm_L1_32f_C1MR; extern "C" CvStatus icvNorm_L2_32f_C1MR_f ( const float* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L2_32f_C1MR_t) ( const float* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_L2_32f_C1MR_t icvNorm_L2_32f_C1MR; extern "C" CvStatus icvNormDiff_Inf_32f_C1MR_f ( const float* img1, int imgstep1, const float* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_Inf_32f_C1MR_t) ( const float* img1, int imgstep1, const float* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_Inf_32f_C1MR_t icvNormDiff_Inf_32f_C1MR; extern "C" CvStatus icvNormDiff_L1_32f_C1MR_f ( const float* img1, int imgstep1, const float* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L1_32f_C1MR_t) ( const float* img1, int imgstep1, const float* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_L1_32f_C1MR_t icvNormDiff_L1_32f_C1MR; extern "C" CvStatus icvNormDiff_L2_32f_C1MR_f ( const float* img1, int imgstep1, const float* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L2_32f_C1MR_t) ( const float* img1, int imgstep1, const float* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_L2_32f_C1MR_t icvNormDiff_L2_32f_C1MR; extern "C" CvStatus icvNorm_Inf_64f_C1R_f ( const double* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_Inf_64f_C1R_t) ( const double* img, int imgstep, CvSize size, double* norm ); extern icvNorm_Inf_64f_C1R_t icvNorm_Inf_64f_C1R; extern "C" CvStatus icvNorm_L1_64f_C1R_f ( const double* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L1_64f_C1R_t) ( const double* img, int imgstep, CvSize size, double* norm ); extern icvNorm_L1_64f_C1R_t icvNorm_L1_64f_C1R; extern "C" CvStatus icvNorm_L2_64f_C1R_f ( const double* img, int imgstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L2_64f_C1R_t) ( const double* img, int imgstep, CvSize size, double* norm ); extern icvNorm_L2_64f_C1R_t icvNorm_L2_64f_C1R; extern "C" CvStatus icvNormDiff_Inf_64f_C1R_f ( const double* img1, int imgstep1, const double* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_Inf_64f_C1R_t) ( const double* img1, int imgstep1, const double* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_Inf_64f_C1R_t icvNormDiff_Inf_64f_C1R; extern "C" CvStatus icvNormDiff_L1_64f_C1R_f ( const double* img1, int imgstep1, const double* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L1_64f_C1R_t) ( const double* img1, int imgstep1, const double* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_L1_64f_C1R_t icvNormDiff_L1_64f_C1R; extern "C" CvStatus icvNormDiff_L2_64f_C1R_f ( const double* img1, int imgstep1, const double* img2, int imgstep2, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L2_64f_C1R_t) ( const double* img1, int imgstep1, const double* img2, int imgstep2, CvSize size, double* norm ); extern icvNormDiff_L2_64f_C1R_t icvNormDiff_L2_64f_C1R; extern "C" CvStatus icvNorm_Inf_64f_C1MR_f ( const double* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_Inf_64f_C1MR_t) ( const double* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_Inf_64f_C1MR_t icvNorm_Inf_64f_C1MR; extern "C" CvStatus icvNorm_L1_64f_C1MR_f ( const double* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L1_64f_C1MR_t) ( const double* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_L1_64f_C1MR_t icvNorm_L1_64f_C1MR; extern "C" CvStatus icvNorm_L2_64f_C1MR_f ( const double* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNorm_L2_64f_C1MR_t) ( const double* img, int imgstep, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNorm_L2_64f_C1MR_t icvNorm_L2_64f_C1MR; extern "C" CvStatus icvNormDiff_Inf_64f_C1MR_f ( const double* img1, int imgstep1, const double* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_Inf_64f_C1MR_t) ( const double* img1, int imgstep1, const double* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_Inf_64f_C1MR_t icvNormDiff_Inf_64f_C1MR; extern "C" CvStatus icvNormDiff_L1_64f_C1MR_f ( const double* img1, int imgstep1, const double* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L1_64f_C1MR_t) ( const double* img1, int imgstep1, const double* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_L1_64f_C1MR_t icvNormDiff_L1_64f_C1MR; extern "C" CvStatus icvNormDiff_L2_64f_C1MR_f ( const double* img1, int imgstep1, const double* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); typedef CvStatus (* icvNormDiff_L2_64f_C1MR_t) ( const double* img1, int imgstep1, const double* img2, int imgstep2, const uchar* mask, int maskstep, CvSize size, double* norm ); extern icvNormDiff_L2_64f_C1MR_t icvNormDiff_L2_64f_C1MR; # 419 "_ipcv.h" extern "C" CvStatus icvCopy_8u_C2P2R_f ( const uchar* src, int srcstep, uchar** dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_8u_C2P2R_t) ( const uchar* src, int srcstep, uchar** dst, int dststep, CvSize size ); extern icvCopy_8u_C2P2R_t icvCopy_8u_C2P2R; extern "C" CvStatus icvCopy_8u_C3P3R_f ( const uchar* src, int srcstep, uchar** dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_8u_C3P3R_t) ( const uchar* src, int srcstep, uchar** dst, int dststep, CvSize size ); extern icvCopy_8u_C3P3R_t icvCopy_8u_C3P3R; extern "C" CvStatus icvCopy_8u_C4P4R_f ( const uchar* src, int srcstep, uchar** dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_8u_C4P4R_t) ( const uchar* src, int srcstep, uchar** dst, int dststep, CvSize size ); extern icvCopy_8u_C4P4R_t icvCopy_8u_C4P4R; extern "C" CvStatus icvCopy_8u_CnC1CR_f ( const uchar* src, int srcstep, uchar* dst, int dststep, CvSize size, int cn, int coi ); typedef CvStatus (* icvCopy_8u_CnC1CR_t) ( const uchar* src, int srcstep, uchar* dst, int dststep, CvSize size, int cn, int coi ); extern icvCopy_8u_CnC1CR_t icvCopy_8u_CnC1CR; extern "C" CvStatus icvCopy_8u_C1CnCR_f ( const uchar* src, int srcstep, uchar* dst, int dststep, CvSize size, int cn, int coi ); typedef CvStatus (* icvCopy_8u_C1CnCR_t) ( const uchar* src, int srcstep, uchar* dst, int dststep, CvSize size, int cn, int coi ); extern icvCopy_8u_C1CnCR_t icvCopy_8u_C1CnCR; extern "C" CvStatus icvCopy_8u_P2C2R_f ( const uchar** src, int srcstep, uchar* dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_8u_P2C2R_t) ( const uchar** src, int srcstep, uchar* dst, int dststep, CvSize size ); extern icvCopy_8u_P2C2R_t icvCopy_8u_P2C2R; extern "C" CvStatus icvCopy_8u_P3C3R_f ( const uchar** src, int srcstep, uchar* dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_8u_P3C3R_t) ( const uchar** src, int srcstep, uchar* dst, int dststep, CvSize size ); extern icvCopy_8u_P3C3R_t icvCopy_8u_P3C3R; extern "C" CvStatus icvCopy_8u_P4C4R_f ( const uchar** src, int srcstep, uchar* dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_8u_P4C4R_t) ( const uchar** src, int srcstep, uchar* dst, int dststep, CvSize size ); extern icvCopy_8u_P4C4R_t icvCopy_8u_P4C4R; extern "C" CvStatus icvCopy_16u_C2P2R_f ( const ushort* src, int srcstep, ushort** dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_16u_C2P2R_t) ( const ushort* src, int srcstep, ushort** dst, int dststep, CvSize size ); extern icvCopy_16u_C2P2R_t icvCopy_16u_C2P2R; extern "C" CvStatus icvCopy_16u_C3P3R_f ( const ushort* src, int srcstep, ushort** dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_16u_C3P3R_t) ( const ushort* src, int srcstep, ushort** dst, int dststep, CvSize size ); extern icvCopy_16u_C3P3R_t icvCopy_16u_C3P3R; extern "C" CvStatus icvCopy_16u_C4P4R_f ( const ushort* src, int srcstep, ushort** dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_16u_C4P4R_t) ( const ushort* src, int srcstep, ushort** dst, int dststep, CvSize size ); extern icvCopy_16u_C4P4R_t icvCopy_16u_C4P4R; extern "C" CvStatus icvCopy_16u_CnC1CR_f ( const ushort* src, int srcstep, ushort* dst, int dststep, CvSize size, int cn, int coi ); typedef CvStatus (* icvCopy_16u_CnC1CR_t) ( const ushort* src, int srcstep, ushort* dst, int dststep, CvSize size, int cn, int coi ); extern icvCopy_16u_CnC1CR_t icvCopy_16u_CnC1CR; extern "C" CvStatus icvCopy_16u_C1CnCR_f ( const ushort* src, int srcstep, ushort* dst, int dststep, CvSize size, int cn, int coi ); typedef CvStatus (* icvCopy_16u_C1CnCR_t) ( const ushort* src, int srcstep, ushort* dst, int dststep, CvSize size, int cn, int coi ); extern icvCopy_16u_C1CnCR_t icvCopy_16u_C1CnCR; extern "C" CvStatus icvCopy_16u_P2C2R_f ( const ushort** src, int srcstep, ushort* dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_16u_P2C2R_t) ( const ushort** src, int srcstep, ushort* dst, int dststep, CvSize size ); extern icvCopy_16u_P2C2R_t icvCopy_16u_P2C2R; extern "C" CvStatus icvCopy_16u_P3C3R_f ( const ushort** src, int srcstep, ushort* dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_16u_P3C3R_t) ( const ushort** src, int srcstep, ushort* dst, int dststep, CvSize size ); extern icvCopy_16u_P3C3R_t icvCopy_16u_P3C3R; extern "C" CvStatus icvCopy_16u_P4C4R_f ( const ushort** src, int srcstep, ushort* dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_16u_P4C4R_t) ( const ushort** src, int srcstep, ushort* dst, int dststep, CvSize size ); extern icvCopy_16u_P4C4R_t icvCopy_16u_P4C4R; extern "C" CvStatus icvCopy_32s_C2P2R_f ( const int* src, int srcstep, int** dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_32s_C2P2R_t) ( const int* src, int srcstep, int** dst, int dststep, CvSize size ); extern icvCopy_32s_C2P2R_t icvCopy_32s_C2P2R; extern "C" CvStatus icvCopy_32s_C3P3R_f ( const int* src, int srcstep, int** dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_32s_C3P3R_t) ( const int* src, int srcstep, int** dst, int dststep, CvSize size ); extern icvCopy_32s_C3P3R_t icvCopy_32s_C3P3R; extern "C" CvStatus icvCopy_32s_C4P4R_f ( const int* src, int srcstep, int** dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_32s_C4P4R_t) ( const int* src, int srcstep, int** dst, int dststep, CvSize size ); extern icvCopy_32s_C4P4R_t icvCopy_32s_C4P4R; extern "C" CvStatus icvCopy_32s_CnC1CR_f ( const int* src, int srcstep, int* dst, int dststep, CvSize size, int cn, int coi ); typedef CvStatus (* icvCopy_32s_CnC1CR_t) ( const int* src, int srcstep, int* dst, int dststep, CvSize size, int cn, int coi ); extern icvCopy_32s_CnC1CR_t icvCopy_32s_CnC1CR; extern "C" CvStatus icvCopy_32s_C1CnCR_f ( const int* src, int srcstep, int* dst, int dststep, CvSize size, int cn, int coi ); typedef CvStatus (* icvCopy_32s_C1CnCR_t) ( const int* src, int srcstep, int* dst, int dststep, CvSize size, int cn, int coi ); extern icvCopy_32s_C1CnCR_t icvCopy_32s_C1CnCR; extern "C" CvStatus icvCopy_32s_P2C2R_f ( const int** src, int srcstep, int* dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_32s_P2C2R_t) ( const int** src, int srcstep, int* dst, int dststep, CvSize size ); extern icvCopy_32s_P2C2R_t icvCopy_32s_P2C2R; extern "C" CvStatus icvCopy_32s_P3C3R_f ( const int** src, int srcstep, int* dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_32s_P3C3R_t) ( const int** src, int srcstep, int* dst, int dststep, CvSize size ); extern icvCopy_32s_P3C3R_t icvCopy_32s_P3C3R; extern "C" CvStatus icvCopy_32s_P4C4R_f ( const int** src, int srcstep, int* dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_32s_P4C4R_t) ( const int** src, int srcstep, int* dst, int dststep, CvSize size ); extern icvCopy_32s_P4C4R_t icvCopy_32s_P4C4R; extern "C" CvStatus icvCopy_64f_C2P2R_f ( const int64* src, int srcstep, int64** dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_64f_C2P2R_t) ( const int64* src, int srcstep, int64** dst, int dststep, CvSize size ); extern icvCopy_64f_C2P2R_t icvCopy_64f_C2P2R; extern "C" CvStatus icvCopy_64f_C3P3R_f ( const int64* src, int srcstep, int64** dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_64f_C3P3R_t) ( const int64* src, int srcstep, int64** dst, int dststep, CvSize size ); extern icvCopy_64f_C3P3R_t icvCopy_64f_C3P3R; extern "C" CvStatus icvCopy_64f_C4P4R_f ( const int64* src, int srcstep, int64** dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_64f_C4P4R_t) ( const int64* src, int srcstep, int64** dst, int dststep, CvSize size ); extern icvCopy_64f_C4P4R_t icvCopy_64f_C4P4R; extern "C" CvStatus icvCopy_64f_CnC1CR_f ( const int64* src, int srcstep, int64* dst, int dststep, CvSize size, int cn, int coi ); typedef CvStatus (* icvCopy_64f_CnC1CR_t) ( const int64* src, int srcstep, int64* dst, int dststep, CvSize size, int cn, int coi ); extern icvCopy_64f_CnC1CR_t icvCopy_64f_CnC1CR; extern "C" CvStatus icvCopy_64f_C1CnCR_f ( const int64* src, int srcstep, int64* dst, int dststep, CvSize size, int cn, int coi ); typedef CvStatus (* icvCopy_64f_C1CnCR_t) ( const int64* src, int srcstep, int64* dst, int dststep, CvSize size, int cn, int coi ); extern icvCopy_64f_C1CnCR_t icvCopy_64f_C1CnCR; extern "C" CvStatus icvCopy_64f_P2C2R_f ( const int64** src, int srcstep, int64* dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_64f_P2C2R_t) ( const int64** src, int srcstep, int64* dst, int dststep, CvSize size ); extern icvCopy_64f_P2C2R_t icvCopy_64f_P2C2R; extern "C" CvStatus icvCopy_64f_P3C3R_f ( const int64** src, int srcstep, int64* dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_64f_P3C3R_t) ( const int64** src, int srcstep, int64* dst, int dststep, CvSize size ); extern icvCopy_64f_P3C3R_t icvCopy_64f_P3C3R; extern "C" CvStatus icvCopy_64f_P4C4R_f ( const int64** src, int srcstep, int64* dst, int dststep, CvSize size ); typedef CvStatus (* icvCopy_64f_P4C4R_t) ( const int64** src, int srcstep, int64* dst, int dststep, CvSize size ); extern icvCopy_64f_P4C4R_t icvCopy_64f_P4C4R; # 437 "_ipcv.h" extern "C" CvStatus icvAbsDiff_8u_C1R_f ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, uchar* dst, int dststep, CvSize size ); typedef CvStatus (* icvAbsDiff_8u_C1R_t) ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, uchar* dst, int dststep, CvSize size ); extern icvAbsDiff_8u_C1R_t icvAbsDiff_8u_C1R; extern "C" CvStatus icvAbsDiff_32f_C1R_f ( const float* src1, int srcstep1, const float* src2, int srcstep2, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAbsDiff_32f_C1R_t) ( const float* src1, int srcstep1, const float* src2, int srcstep2, float* dst, int dststep, CvSize size ); extern icvAbsDiff_32f_C1R_t icvAbsDiff_32f_C1R; extern "C" CvStatus icvAbsDiff_64f_C1R_f ( const double* src1, int srcstep1, const double* src2, int srcstep2, double* dst, int dststep, CvSize size ); typedef CvStatus (* icvAbsDiff_64f_C1R_t) ( const double* src1, int srcstep1, const double* src2, int srcstep2, double* dst, int dststep, CvSize size ); extern icvAbsDiff_64f_C1R_t icvAbsDiff_64f_C1R; # 484 "_ipcv.h" extern "C" CvStatus icvAdd_8u32f_C1IR_f ( const uchar* src, int srcstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAdd_8u32f_C1IR_t) ( const uchar* src, int srcstep, float* dst, int dststep, CvSize size ); extern icvAdd_8u32f_C1IR_t icvAdd_8u32f_C1IR; extern "C" CvStatus icvAddSquare_8u32f_C1IR_f ( const uchar* src, int srcstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddSquare_8u32f_C1IR_t) ( const uchar* src, int srcstep, float* dst, int dststep, CvSize size ); extern icvAddSquare_8u32f_C1IR_t icvAddSquare_8u32f_C1IR; extern "C" CvStatus icvAddProduct_8u32f_C1IR_f ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddProduct_8u32f_C1IR_t) ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, float* dst, int dststep, CvSize size ); extern icvAddProduct_8u32f_C1IR_t icvAddProduct_8u32f_C1IR; extern "C" CvStatus icvAddWeighted_8u32f_C1IR_f ( const uchar* src, int srcstep, float* dst, int dststep, CvSize size, float alpha ); typedef CvStatus (* icvAddWeighted_8u32f_C1IR_t) ( const uchar* src, int srcstep, float* dst, int dststep, CvSize size, float alpha ); extern icvAddWeighted_8u32f_C1IR_t icvAddWeighted_8u32f_C1IR; extern "C" CvStatus icvAdd_8u32f_C1IMR_f ( const uchar* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAdd_8u32f_C1IMR_t) ( const uchar* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAdd_8u32f_C1IMR_t icvAdd_8u32f_C1IMR; extern "C" CvStatus icvAddSquare_8u32f_C1IMR_f ( const uchar* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddSquare_8u32f_C1IMR_t) ( const uchar* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAddSquare_8u32f_C1IMR_t icvAddSquare_8u32f_C1IMR; extern "C" CvStatus icvAddProduct_8u32f_C1IMR_f ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddProduct_8u32f_C1IMR_t) ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAddProduct_8u32f_C1IMR_t icvAddProduct_8u32f_C1IMR; extern "C" CvStatus icvAddWeighted_8u32f_C1IMR_f ( const uchar* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size, float alpha ); typedef CvStatus (* icvAddWeighted_8u32f_C1IMR_t) ( const uchar* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size, float alpha ); extern icvAddWeighted_8u32f_C1IMR_t icvAddWeighted_8u32f_C1IMR; extern "C" CvStatus icvAdd_8u32f_C3IMR_f ( const uchar* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAdd_8u32f_C3IMR_t) ( const uchar* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAdd_8u32f_C3IMR_t icvAdd_8u32f_C3IMR; extern "C" CvStatus icvAddSquare_8u32f_C3IMR_f ( const uchar* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddSquare_8u32f_C3IMR_t) ( const uchar* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAddSquare_8u32f_C3IMR_t icvAddSquare_8u32f_C3IMR; extern "C" CvStatus icvAddProduct_8u32f_C3IMR_f ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddProduct_8u32f_C3IMR_t) ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAddProduct_8u32f_C3IMR_t icvAddProduct_8u32f_C3IMR; extern "C" CvStatus icvAddWeighted_8u32f_C3IMR_f ( const uchar* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size, float alpha ); typedef CvStatus (* icvAddWeighted_8u32f_C3IMR_t) ( const uchar* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size, float alpha ); extern icvAddWeighted_8u32f_C3IMR_t icvAddWeighted_8u32f_C3IMR; extern "C" CvStatus icvAdd_8s32f_C1IR_f ( const char* src, int srcstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAdd_8s32f_C1IR_t) ( const char* src, int srcstep, float* dst, int dststep, CvSize size ); extern icvAdd_8s32f_C1IR_t icvAdd_8s32f_C1IR; extern "C" CvStatus icvAddSquare_8s32f_C1IR_f ( const char* src, int srcstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddSquare_8s32f_C1IR_t) ( const char* src, int srcstep, float* dst, int dststep, CvSize size ); extern icvAddSquare_8s32f_C1IR_t icvAddSquare_8s32f_C1IR; extern "C" CvStatus icvAddProduct_8s32f_C1IR_f ( const char* src1, int srcstep1, const char* src2, int srcstep2, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddProduct_8s32f_C1IR_t) ( const char* src1, int srcstep1, const char* src2, int srcstep2, float* dst, int dststep, CvSize size ); extern icvAddProduct_8s32f_C1IR_t icvAddProduct_8s32f_C1IR; extern "C" CvStatus icvAddWeighted_8s32f_C1IR_f ( const char* src, int srcstep, float* dst, int dststep, CvSize size, float alpha ); typedef CvStatus (* icvAddWeighted_8s32f_C1IR_t) ( const char* src, int srcstep, float* dst, int dststep, CvSize size, float alpha ); extern icvAddWeighted_8s32f_C1IR_t icvAddWeighted_8s32f_C1IR; extern "C" CvStatus icvAdd_8s32f_C1IMR_f ( const char* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAdd_8s32f_C1IMR_t) ( const char* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAdd_8s32f_C1IMR_t icvAdd_8s32f_C1IMR; extern "C" CvStatus icvAddSquare_8s32f_C1IMR_f ( const char* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddSquare_8s32f_C1IMR_t) ( const char* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAddSquare_8s32f_C1IMR_t icvAddSquare_8s32f_C1IMR; extern "C" CvStatus icvAddProduct_8s32f_C1IMR_f ( const char* src1, int srcstep1, const char* src2, int srcstep2, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddProduct_8s32f_C1IMR_t) ( const char* src1, int srcstep1, const char* src2, int srcstep2, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAddProduct_8s32f_C1IMR_t icvAddProduct_8s32f_C1IMR; extern "C" CvStatus icvAddWeighted_8s32f_C1IMR_f ( const char* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size, float alpha ); typedef CvStatus (* icvAddWeighted_8s32f_C1IMR_t) ( const char* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size, float alpha ); extern icvAddWeighted_8s32f_C1IMR_t icvAddWeighted_8s32f_C1IMR; extern "C" CvStatus icvAdd_8s32f_C3IMR_f ( const char* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAdd_8s32f_C3IMR_t) ( const char* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAdd_8s32f_C3IMR_t icvAdd_8s32f_C3IMR; extern "C" CvStatus icvAddSquare_8s32f_C3IMR_f ( const char* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddSquare_8s32f_C3IMR_t) ( const char* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAddSquare_8s32f_C3IMR_t icvAddSquare_8s32f_C3IMR; extern "C" CvStatus icvAddProduct_8s32f_C3IMR_f ( const char* src1, int srcstep1, const char* src2, int srcstep2, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddProduct_8s32f_C3IMR_t) ( const char* src1, int srcstep1, const char* src2, int srcstep2, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAddProduct_8s32f_C3IMR_t icvAddProduct_8s32f_C3IMR; extern "C" CvStatus icvAddWeighted_8s32f_C3IMR_f ( const char* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size, float alpha ); typedef CvStatus (* icvAddWeighted_8s32f_C3IMR_t) ( const char* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size, float alpha ); extern icvAddWeighted_8s32f_C3IMR_t icvAddWeighted_8s32f_C3IMR; extern "C" CvStatus icvAdd_32f_C1IR_f ( const float* src, int srcstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAdd_32f_C1IR_t) ( const float* src, int srcstep, float* dst, int dststep, CvSize size ); extern icvAdd_32f_C1IR_t icvAdd_32f_C1IR; extern "C" CvStatus icvAddSquare_32f_C1IR_f ( const float* src, int srcstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddSquare_32f_C1IR_t) ( const float* src, int srcstep, float* dst, int dststep, CvSize size ); extern icvAddSquare_32f_C1IR_t icvAddSquare_32f_C1IR; extern "C" CvStatus icvAddProduct_32f_C1IR_f ( const float* src1, int srcstep1, const float* src2, int srcstep2, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddProduct_32f_C1IR_t) ( const float* src1, int srcstep1, const float* src2, int srcstep2, float* dst, int dststep, CvSize size ); extern icvAddProduct_32f_C1IR_t icvAddProduct_32f_C1IR; extern "C" CvStatus icvAddWeighted_32f_C1IR_f ( const float* src, int srcstep, float* dst, int dststep, CvSize size, float alpha ); typedef CvStatus (* icvAddWeighted_32f_C1IR_t) ( const float* src, int srcstep, float* dst, int dststep, CvSize size, float alpha ); extern icvAddWeighted_32f_C1IR_t icvAddWeighted_32f_C1IR; extern "C" CvStatus icvAdd_32f_C1IMR_f ( const float* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAdd_32f_C1IMR_t) ( const float* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAdd_32f_C1IMR_t icvAdd_32f_C1IMR; extern "C" CvStatus icvAddSquare_32f_C1IMR_f ( const float* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddSquare_32f_C1IMR_t) ( const float* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAddSquare_32f_C1IMR_t icvAddSquare_32f_C1IMR; extern "C" CvStatus icvAddProduct_32f_C1IMR_f ( const float* src1, int srcstep1, const float* src2, int srcstep2, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddProduct_32f_C1IMR_t) ( const float* src1, int srcstep1, const float* src2, int srcstep2, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAddProduct_32f_C1IMR_t icvAddProduct_32f_C1IMR; extern "C" CvStatus icvAddWeighted_32f_C1IMR_f ( const float* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size, float alpha ); typedef CvStatus (* icvAddWeighted_32f_C1IMR_t) ( const float* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size, float alpha ); extern icvAddWeighted_32f_C1IMR_t icvAddWeighted_32f_C1IMR; extern "C" CvStatus icvAdd_32f_C3IMR_f ( const float* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAdd_32f_C3IMR_t) ( const float* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAdd_32f_C3IMR_t icvAdd_32f_C3IMR; extern "C" CvStatus icvAddSquare_32f_C3IMR_f ( const float* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddSquare_32f_C3IMR_t) ( const float* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAddSquare_32f_C3IMR_t icvAddSquare_32f_C3IMR; extern "C" CvStatus icvAddProduct_32f_C3IMR_f ( const float* src1, int srcstep1, const float* src2, int srcstep2, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvAddProduct_32f_C3IMR_t) ( const float* src1, int srcstep1, const float* src2, int srcstep2, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size ); extern icvAddProduct_32f_C3IMR_t icvAddProduct_32f_C3IMR; extern "C" CvStatus icvAddWeighted_32f_C3IMR_f ( const float* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size, float alpha ); typedef CvStatus (* icvAddWeighted_32f_C3IMR_t) ( const float* src, int srcstep, const uchar* mask, int maskstep, float* dst, int dststep, CvSize size, float alpha ); extern icvAddWeighted_32f_C3IMR_t icvAddWeighted_32f_C3IMR; # 501 "_ipcv.h" extern "C" CvStatus icvGetRectSubPix_8u_C1R_f ( const uchar* src, int src_step, CvSize src_size, uchar* dst, int dst_step, CvSize win_size, CvPoint2D32f center ); typedef CvStatus (* icvGetRectSubPix_8u_C1R_t) ( const uchar* src, int src_step, CvSize src_size, uchar* dst, int dst_step, CvSize win_size, CvPoint2D32f center ); extern icvGetRectSubPix_8u_C1R_t icvGetRectSubPix_8u_C1R; extern "C" CvStatus icvGetRectSubPix_8u32f_C1R_f ( const uchar* src, int src_step, CvSize src_size, float* dst, int dst_step, CvSize win_size, CvPoint2D32f center ); typedef CvStatus (* icvGetRectSubPix_8u32f_C1R_t) ( const uchar* src, int src_step, CvSize src_size, float* dst, int dst_step, CvSize win_size, CvPoint2D32f center ); extern icvGetRectSubPix_8u32f_C1R_t icvGetRectSubPix_8u32f_C1R; extern "C" CvStatus icvGetRectSubPix_32f_C1R_f ( const float* src, int src_step, CvSize src_size, float* dst, int dst_step, CvSize win_size, CvPoint2D32f center ); typedef CvStatus (* icvGetRectSubPix_32f_C1R_t) ( const float* src, int src_step, CvSize src_size, float* dst, int dst_step, CvSize win_size, CvPoint2D32f center ); extern icvGetRectSubPix_32f_C1R_t icvGetRectSubPix_32f_C1R; extern "C" CvStatus icvGetRectSubPix_8u_C3R_f ( const uchar* src, int src_step, CvSize src_size, uchar* dst, int dst_step, CvSize win_size, CvPoint2D32f center ); typedef CvStatus (* icvGetRectSubPix_8u_C3R_t) ( const uchar* src, int src_step, CvSize src_size, uchar* dst, int dst_step, CvSize win_size, CvPoint2D32f center ); extern icvGetRectSubPix_8u_C3R_t icvGetRectSubPix_8u_C3R; extern "C" CvStatus icvGetRectSubPix_8u32f_C3R_f ( const uchar* src, int src_step, CvSize src_size, float* dst, int dst_step, CvSize win_size, CvPoint2D32f center ); typedef CvStatus (* icvGetRectSubPix_8u32f_C3R_t) ( const uchar* src, int src_step, CvSize src_size, float* dst, int dst_step, CvSize win_size, CvPoint2D32f center ); extern icvGetRectSubPix_8u32f_C3R_t icvGetRectSubPix_8u32f_C3R; extern "C" CvStatus icvGetRectSubPix_32f_C3R_f ( const float* src, int src_step, CvSize src_size, float* dst, int dst_step, CvSize win_size, CvPoint2D32f center ); typedef CvStatus (* icvGetRectSubPix_32f_C3R_t) ( const float* src, int src_step, CvSize src_size, float* dst, int dst_step, CvSize win_size, CvPoint2D32f center ); extern icvGetRectSubPix_32f_C3R_t icvGetRectSubPix_32f_C3R; extern "C" CvStatus icvGetQuadrangleSubPix_8u_C1R_f ( const uchar* src, int src_step, CvSize src_size, uchar* dst, int dst_step, CvSize win_size, const float *matrix, int fillOutliers, uchar* fillValue ); typedef CvStatus (* icvGetQuadrangleSubPix_8u_C1R_t) ( const uchar* src, int src_step, CvSize src_size, uchar* dst, int dst_step, CvSize win_size, const float *matrix, int fillOutliers, uchar* fillValue ); extern icvGetQuadrangleSubPix_8u_C1R_t icvGetQuadrangleSubPix_8u_C1R; extern "C" CvStatus icvGetQuadrangleSubPix_8u32f_C1R_f ( const uchar* src, int src_step, CvSize src_size, float* dst, int dst_step, CvSize win_size, const float *matrix, int fillOutliers, float* fillValue ); typedef CvStatus (* icvGetQuadrangleSubPix_8u32f_C1R_t) ( const uchar* src, int src_step, CvSize src_size, float* dst, int dst_step, CvSize win_size, const float *matrix, int fillOutliers, float* fillValue ); extern icvGetQuadrangleSubPix_8u32f_C1R_t icvGetQuadrangleSubPix_8u32f_C1R; extern "C" CvStatus icvGetQuadrangleSubPix_32f_C1R_f ( const float* src, int src_step, CvSize src_size, float* dst, int dst_step, CvSize win_size, const float *matrix, int fillOutliers, float* fillValue ); typedef CvStatus (* icvGetQuadrangleSubPix_32f_C1R_t) ( const float* src, int src_step, CvSize src_size, float* dst, int dst_step, CvSize win_size, const float *matrix, int fillOutliers, float* fillValue ); extern icvGetQuadrangleSubPix_32f_C1R_t icvGetQuadrangleSubPix_32f_C1R; extern "C" CvStatus icvGetQuadrangleSubPix_8u_C3R_f ( const uchar* src, int src_step, CvSize src_size, uchar* dst, int dst_step, CvSize win_size, const float *matrix, int fillOutliers, uchar* fillValue ); typedef CvStatus (* icvGetQuadrangleSubPix_8u_C3R_t) ( const uchar* src, int src_step, CvSize src_size, uchar* dst, int dst_step, CvSize win_size, const float *matrix, int fillOutliers, uchar* fillValue ); extern icvGetQuadrangleSubPix_8u_C3R_t icvGetQuadrangleSubPix_8u_C3R; extern "C" CvStatus icvGetQuadrangleSubPix_8u32f_C3R_f ( const uchar* src, int src_step, CvSize src_size, float* dst, int dst_step, CvSize win_size, const float *matrix, int fillOutliers, float* fillValue ); typedef CvStatus (* icvGetQuadrangleSubPix_8u32f_C3R_t) ( const uchar* src, int src_step, CvSize src_size, float* dst, int dst_step, CvSize win_size, const float *matrix, int fillOutliers, float* fillValue ); extern icvGetQuadrangleSubPix_8u32f_C3R_t icvGetQuadrangleSubPix_8u32f_C3R; extern "C" CvStatus icvGetQuadrangleSubPix_32f_C3R_f ( const float* src, int src_step, CvSize src_size, float* dst, int dst_step, CvSize win_size, const float *matrix, int fillOutliers, float* fillValue ); typedef CvStatus (* icvGetQuadrangleSubPix_32f_C3R_t) ( const float* src, int src_step, CvSize src_size, float* dst, int dst_step, CvSize win_size, const float *matrix, int fillOutliers, float* fillValue ); extern icvGetQuadrangleSubPix_32f_C3R_t icvGetQuadrangleSubPix_32f_C3R; # 531 "_ipcv.h" extern "C" CvStatus icvPyrUpGetBufSize_Gauss5x5_f ( int roiWidth, CvDataType dataType, int channels, int* bufSize); typedef CvStatus (* icvPyrUpGetBufSize_Gauss5x5_t) ( int roiWidth, CvDataType dataType, int channels, int* bufSize); extern icvPyrUpGetBufSize_Gauss5x5_t icvPyrUpGetBufSize_Gauss5x5; extern "C" CvStatus icvPyrDownGetBufSize_Gauss5x5_f (int roiWidth, CvDataType dataType, int channels, int* bufSize); typedef CvStatus (* icvPyrDownGetBufSize_Gauss5x5_t) (int roiWidth, CvDataType dataType, int channels, int* bufSize); extern icvPyrDownGetBufSize_Gauss5x5_t icvPyrDownGetBufSize_Gauss5x5; # 545 "_ipcv.h" extern "C" CvStatus icvPyrUp_Gauss5x5_8u_C1R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize roiSize, void* pBuffer ); typedef CvStatus (* icvPyrUp_Gauss5x5_8u_C1R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize roiSize, void* pBuffer ); extern icvPyrUp_Gauss5x5_8u_C1R_t icvPyrUp_Gauss5x5_8u_C1R; extern "C" CvStatus icvPyrUp_Gauss5x5_8u_C3R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize roiSize, void* pBuffer ); typedef CvStatus (* icvPyrUp_Gauss5x5_8u_C3R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize roiSize, void* pBuffer ); extern icvPyrUp_Gauss5x5_8u_C3R_t icvPyrUp_Gauss5x5_8u_C3R; extern "C" CvStatus icvPyrUp_Gauss5x5_8s_C1R_f ( const char* pSrc, int srcStep, char* pDst, int dstStep, CvSize roiSize, void* pBuffer ); typedef CvStatus (* icvPyrUp_Gauss5x5_8s_C1R_t) ( const char* pSrc, int srcStep, char* pDst, int dstStep, CvSize roiSize, void* pBuffer ); extern icvPyrUp_Gauss5x5_8s_C1R_t icvPyrUp_Gauss5x5_8s_C1R; extern "C" CvStatus icvPyrUp_Gauss5x5_8s_C3R_f ( const char* pSrc, int srcStep, char* pDst, int dstStep, CvSize roiSize, void* pBuffer ); typedef CvStatus (* icvPyrUp_Gauss5x5_8s_C3R_t) ( const char* pSrc, int srcStep, char* pDst, int dstStep, CvSize roiSize, void* pBuffer ); extern icvPyrUp_Gauss5x5_8s_C3R_t icvPyrUp_Gauss5x5_8s_C3R; extern "C" CvStatus icvPyrUp_Gauss5x5_32f_C1R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize roiSize, void* pBuffer ); typedef CvStatus (* icvPyrUp_Gauss5x5_32f_C1R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize roiSize, void* pBuffer ); extern icvPyrUp_Gauss5x5_32f_C1R_t icvPyrUp_Gauss5x5_32f_C1R; extern "C" CvStatus icvPyrUp_Gauss5x5_32f_C3R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize roiSize, void* pBuffer ); typedef CvStatus (* icvPyrUp_Gauss5x5_32f_C3R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize roiSize, void* pBuffer ); extern icvPyrUp_Gauss5x5_32f_C3R_t icvPyrUp_Gauss5x5_32f_C3R; extern "C" CvStatus icvPyrUp_Gauss5x5_64f_C1R_f ( const double* pSrc, int srcStep, double* pDst, int dstStep, CvSize roiSize, void* pBuffer ); typedef CvStatus (* icvPyrUp_Gauss5x5_64f_C1R_t) ( const double* pSrc, int srcStep, double* pDst, int dstStep, CvSize roiSize, void* pBuffer ); extern icvPyrUp_Gauss5x5_64f_C1R_t icvPyrUp_Gauss5x5_64f_C1R; extern "C" CvStatus icvPyrUp_Gauss5x5_64f_C3R_f ( const double* pSrc, int srcStep, double* pDst, int dstStep, CvSize roiSize, void* pBuffer ); typedef CvStatus (* icvPyrUp_Gauss5x5_64f_C3R_t) ( const double* pSrc, int srcStep, double* pDst, int dstStep, CvSize roiSize, void* pBuffer ); extern icvPyrUp_Gauss5x5_64f_C3R_t icvPyrUp_Gauss5x5_64f_C3R; extern "C" CvStatus icvPyrDown_Gauss5x5_8u_C1R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize roiSize, void* pBuffer ); typedef CvStatus (* icvPyrDown_Gauss5x5_8u_C1R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize roiSize, void* pBuffer ); extern icvPyrDown_Gauss5x5_8u_C1R_t icvPyrDown_Gauss5x5_8u_C1R; extern "C" CvStatus icvPyrDown_Gauss5x5_8u_C3R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize roiSize, void* pBuffer ); typedef CvStatus (* icvPyrDown_Gauss5x5_8u_C3R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize roiSize, void* pBuffer ); extern icvPyrDown_Gauss5x5_8u_C3R_t icvPyrDown_Gauss5x5_8u_C3R; extern "C" CvStatus icvPyrDown_Gauss5x5_8s_C1R_f ( const char* pSrc, int srcStep, char* pDst, int dstStep, CvSize roiSize, void* pBuffer ); typedef CvStatus (* icvPyrDown_Gauss5x5_8s_C1R_t) ( const char* pSrc, int srcStep, char* pDst, int dstStep, CvSize roiSize, void* pBuffer ); extern icvPyrDown_Gauss5x5_8s_C1R_t icvPyrDown_Gauss5x5_8s_C1R; extern "C" CvStatus icvPyrDown_Gauss5x5_8s_C3R_f ( const char* pSrc, int srcStep, char* pDst, int dstStep, CvSize roiSize, void* pBuffer ); typedef CvStatus (* icvPyrDown_Gauss5x5_8s_C3R_t) ( const char* pSrc, int srcStep, char* pDst, int dstStep, CvSize roiSize, void* pBuffer ); extern icvPyrDown_Gauss5x5_8s_C3R_t icvPyrDown_Gauss5x5_8s_C3R; extern "C" CvStatus icvPyrDown_Gauss5x5_32f_C1R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize roiSize, void* pBuffer ); typedef CvStatus (* icvPyrDown_Gauss5x5_32f_C1R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize roiSize, void* pBuffer ); extern icvPyrDown_Gauss5x5_32f_C1R_t icvPyrDown_Gauss5x5_32f_C1R; extern "C" CvStatus icvPyrDown_Gauss5x5_32f_C3R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize roiSize, void* pBuffer ); typedef CvStatus (* icvPyrDown_Gauss5x5_32f_C3R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize roiSize, void* pBuffer ); extern icvPyrDown_Gauss5x5_32f_C3R_t icvPyrDown_Gauss5x5_32f_C3R; extern "C" CvStatus icvPyrDown_Gauss5x5_64f_C1R_f ( const double* pSrc, int srcStep, double* pDst, int dstStep, CvSize roiSize, void* pBuffer ); typedef CvStatus (* icvPyrDown_Gauss5x5_64f_C1R_t) ( const double* pSrc, int srcStep, double* pDst, int dstStep, CvSize roiSize, void* pBuffer ); extern icvPyrDown_Gauss5x5_64f_C1R_t icvPyrDown_Gauss5x5_64f_C1R; extern "C" CvStatus icvPyrDown_Gauss5x5_64f_C3R_f ( const double* pSrc, int srcStep, double* pDst, int dstStep, CvSize roiSize, void* pBuffer ); typedef CvStatus (* icvPyrDown_Gauss5x5_64f_C3R_t) ( const double* pSrc, int srcStep, double* pDst, int dstStep, CvSize roiSize, void* pBuffer ); extern icvPyrDown_Gauss5x5_64f_C3R_t icvPyrDown_Gauss5x5_64f_C3R; # 565 "_ipcv.h" extern "C" CvStatus icvErodeStrip_Rect_8u_C1R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_Rect_8u_C1R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_Rect_8u_C1R_t icvErodeStrip_Rect_8u_C1R; extern "C" CvStatus icvErodeStrip_Rect_8u_C3R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_Rect_8u_C3R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_Rect_8u_C3R_t icvErodeStrip_Rect_8u_C3R; extern "C" CvStatus icvErodeStrip_Rect_8u_C4R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_Rect_8u_C4R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_Rect_8u_C4R_t icvErodeStrip_Rect_8u_C4R; extern "C" CvStatus icvErodeStrip_Rect_32f_C1R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_Rect_32f_C1R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_Rect_32f_C1R_t icvErodeStrip_Rect_32f_C1R; extern "C" CvStatus icvErodeStrip_Rect_32f_C3R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_Rect_32f_C3R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_Rect_32f_C3R_t icvErodeStrip_Rect_32f_C3R; extern "C" CvStatus icvErodeStrip_Rect_32f_C4R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_Rect_32f_C4R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_Rect_32f_C4R_t icvErodeStrip_Rect_32f_C4R; extern "C" CvStatus icvErodeStrip_Cross_8u_C1R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_Cross_8u_C1R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_Cross_8u_C1R_t icvErodeStrip_Cross_8u_C1R; extern "C" CvStatus icvErodeStrip_Cross_8u_C3R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_Cross_8u_C3R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_Cross_8u_C3R_t icvErodeStrip_Cross_8u_C3R; extern "C" CvStatus icvErodeStrip_Cross_8u_C4R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_Cross_8u_C4R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_Cross_8u_C4R_t icvErodeStrip_Cross_8u_C4R; extern "C" CvStatus icvErodeStrip_Cross_32f_C1R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_Cross_32f_C1R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_Cross_32f_C1R_t icvErodeStrip_Cross_32f_C1R; extern "C" CvStatus icvErodeStrip_Cross_32f_C3R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_Cross_32f_C3R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_Cross_32f_C3R_t icvErodeStrip_Cross_32f_C3R; extern "C" CvStatus icvErodeStrip_Cross_32f_C4R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_Cross_32f_C4R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_Cross_32f_C4R_t icvErodeStrip_Cross_32f_C4R; extern "C" CvStatus icvErodeStrip_8u_C1R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_8u_C1R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_8u_C1R_t icvErodeStrip_8u_C1R; extern "C" CvStatus icvErodeStrip_8u_C3R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_8u_C3R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_8u_C3R_t icvErodeStrip_8u_C3R; extern "C" CvStatus icvErodeStrip_8u_C4R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_8u_C4R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_8u_C4R_t icvErodeStrip_8u_C4R; extern "C" CvStatus icvErodeStrip_32f_C1R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_32f_C1R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_32f_C1R_t icvErodeStrip_32f_C1R; extern "C" CvStatus icvErodeStrip_32f_C3R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_32f_C3R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_32f_C3R_t icvErodeStrip_32f_C3R; extern "C" CvStatus icvErodeStrip_32f_C4R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvErodeStrip_32f_C4R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvErodeStrip_32f_C4R_t icvErodeStrip_32f_C4R; extern "C" CvStatus icvDilateStrip_Rect_8u_C1R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_Rect_8u_C1R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_Rect_8u_C1R_t icvDilateStrip_Rect_8u_C1R; extern "C" CvStatus icvDilateStrip_Rect_8u_C3R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_Rect_8u_C3R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_Rect_8u_C3R_t icvDilateStrip_Rect_8u_C3R; extern "C" CvStatus icvDilateStrip_Rect_8u_C4R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_Rect_8u_C4R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_Rect_8u_C4R_t icvDilateStrip_Rect_8u_C4R; extern "C" CvStatus icvDilateStrip_Rect_32f_C1R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_Rect_32f_C1R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_Rect_32f_C1R_t icvDilateStrip_Rect_32f_C1R; extern "C" CvStatus icvDilateStrip_Rect_32f_C3R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_Rect_32f_C3R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_Rect_32f_C3R_t icvDilateStrip_Rect_32f_C3R; extern "C" CvStatus icvDilateStrip_Rect_32f_C4R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_Rect_32f_C4R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_Rect_32f_C4R_t icvDilateStrip_Rect_32f_C4R; extern "C" CvStatus icvDilateStrip_Cross_8u_C1R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_Cross_8u_C1R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_Cross_8u_C1R_t icvDilateStrip_Cross_8u_C1R; extern "C" CvStatus icvDilateStrip_Cross_8u_C3R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_Cross_8u_C3R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_Cross_8u_C3R_t icvDilateStrip_Cross_8u_C3R; extern "C" CvStatus icvDilateStrip_Cross_8u_C4R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_Cross_8u_C4R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_Cross_8u_C4R_t icvDilateStrip_Cross_8u_C4R; extern "C" CvStatus icvDilateStrip_Cross_32f_C1R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_Cross_32f_C1R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_Cross_32f_C1R_t icvDilateStrip_Cross_32f_C1R; extern "C" CvStatus icvDilateStrip_Cross_32f_C3R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_Cross_32f_C3R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_Cross_32f_C3R_t icvDilateStrip_Cross_32f_C3R; extern "C" CvStatus icvDilateStrip_Cross_32f_C4R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_Cross_32f_C4R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_Cross_32f_C4R_t icvDilateStrip_Cross_32f_C4R; extern "C" CvStatus icvDilateStrip_8u_C1R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_8u_C1R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_8u_C1R_t icvDilateStrip_8u_C1R; extern "C" CvStatus icvDilateStrip_8u_C3R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_8u_C3R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_8u_C3R_t icvDilateStrip_8u_C3R; extern "C" CvStatus icvDilateStrip_8u_C4R_f ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_8u_C4R_t) ( const uchar* pSrc, int srcStep, uchar* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_8u_C4R_t icvDilateStrip_8u_C4R; extern "C" CvStatus icvDilateStrip_32f_C1R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_32f_C1R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_32f_C1R_t icvDilateStrip_32f_C1R; extern "C" CvStatus icvDilateStrip_32f_C3R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_32f_C3R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_32f_C3R_t icvDilateStrip_32f_C3R; extern "C" CvStatus icvDilateStrip_32f_C4R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvDilateStrip_32f_C4R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvDilateStrip_32f_C4R_t icvDilateStrip_32f_C4R; extern "C" CvStatus icvMorphologyInitAlloc_f ( int roiWidth, CvDataType dataType, int channels, CvSize elSize, CvPoint elAnchor, int elShape, int* elData, struct CvFilterState** morphState ); typedef CvStatus (* icvMorphologyInitAlloc_t) ( int roiWidth, CvDataType dataType, int channels, CvSize elSize, CvPoint elAnchor, int elShape, int* elData, struct CvFilterState** morphState ); extern icvMorphologyInitAlloc_t icvMorphologyInitAlloc; extern "C" CvStatus icvMorphologyFree_f ( struct CvFilterState** morphState ); typedef CvStatus (* icvMorphologyFree_t) ( struct CvFilterState** morphState ); extern icvMorphologyFree_t icvMorphologyFree; extern "C" CvStatus icvUpdateMotionHistory_8u32f_C1IR_f ( const uchar* silIm, int silStep, float* mhiIm, int mhiStep, CvSize size, float timestamp, float mhi_duration ); typedef CvStatus (* icvUpdateMotionHistory_8u32f_C1IR_t) ( const uchar* silIm, int silStep, float* mhiIm, int mhiStep, CvSize size, float timestamp, float mhi_duration ); extern icvUpdateMotionHistory_8u32f_C1IR_t icvUpdateMotionHistory_8u32f_C1IR; # 804 "_ipcv.h" extern "C" CvStatus icvMatchTemplateGetBufSize_SqDiff_f ( CvSize roiSize, CvSize templSize, CvDataType dataType, int* bufferSize ); typedef CvStatus (* icvMatchTemplateGetBufSize_SqDiff_t) ( CvSize roiSize, CvSize templSize, CvDataType dataType, int* bufferSize ); extern icvMatchTemplateGetBufSize_SqDiff_t icvMatchTemplateGetBufSize_SqDiff; extern "C" CvStatus icvMatchTemplateGetBufSize_SqDiffNormed_f ( CvSize roiSize, CvSize templSize, CvDataType dataType, int* bufferSize); typedef CvStatus (* icvMatchTemplateGetBufSize_SqDiffNormed_t) ( CvSize roiSize, CvSize templSize, CvDataType dataType, int* bufferSize); extern icvMatchTemplateGetBufSize_SqDiffNormed_t icvMatchTemplateGetBufSize_SqDiffNormed; extern "C" CvStatus icvMatchTemplateGetBufSize_Corr_f ( CvSize roiSize, CvSize templSize, CvDataType dataType, int* bufferSize ); typedef CvStatus (* icvMatchTemplateGetBufSize_Corr_t) ( CvSize roiSize, CvSize templSize, CvDataType dataType, int* bufferSize ); extern icvMatchTemplateGetBufSize_Corr_t icvMatchTemplateGetBufSize_Corr; extern "C" CvStatus icvMatchTemplateGetBufSize_CorrNormed_f ( CvSize roiSize, CvSize templSize, CvDataType dataType, int* bufferSize ); typedef CvStatus (* icvMatchTemplateGetBufSize_CorrNormed_t) ( CvSize roiSize, CvSize templSize, CvDataType dataType, int* bufferSize ); extern icvMatchTemplateGetBufSize_CorrNormed_t icvMatchTemplateGetBufSize_CorrNormed; extern "C" CvStatus icvMatchTemplateGetBufSize_Coeff_f ( CvSize roiSize, CvSize templSize, CvDataType dataType, int* bufferSize ); typedef CvStatus (* icvMatchTemplateGetBufSize_Coeff_t) ( CvSize roiSize, CvSize templSize, CvDataType dataType, int* bufferSize ); extern icvMatchTemplateGetBufSize_Coeff_t icvMatchTemplateGetBufSize_Coeff; extern "C" CvStatus icvMatchTemplateGetBufSize_CoeffNormed_f ( CvSize roiSize, CvSize templSize, CvDataType dataType, int* bufferSize ); typedef CvStatus (* icvMatchTemplateGetBufSize_CoeffNormed_t) ( CvSize roiSize, CvSize templSize, CvDataType dataType, int* bufferSize ); extern icvMatchTemplateGetBufSize_CoeffNormed_t icvMatchTemplateGetBufSize_CoeffNormed; extern "C" CvStatus icvMatchTemplate_SqDiff_8u32f_C1R_f (const uchar* pImage, int imageStep, CvSize roiSize, const uchar* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_SqDiff_8u32f_C1R_t) (const uchar* pImage, int imageStep, CvSize roiSize, const uchar* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_SqDiff_8u32f_C1R_t icvMatchTemplate_SqDiff_8u32f_C1R; extern "C" CvStatus icvMatchTemplate_SqDiffNormed_8u32f_C1R_f (const uchar* pImage, int imageStep, CvSize roiSize, const uchar* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_SqDiffNormed_8u32f_C1R_t) (const uchar* pImage, int imageStep, CvSize roiSize, const uchar* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_SqDiffNormed_8u32f_C1R_t icvMatchTemplate_SqDiffNormed_8u32f_C1R; extern "C" CvStatus icvMatchTemplate_Corr_8u32f_C1R_f (const uchar* pImage, int imageStep, CvSize roiSize, const uchar* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_Corr_8u32f_C1R_t) (const uchar* pImage, int imageStep, CvSize roiSize, const uchar* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_Corr_8u32f_C1R_t icvMatchTemplate_Corr_8u32f_C1R; extern "C" CvStatus icvMatchTemplate_CorrNormed_8u32f_C1R_f (const uchar* pImage, int imageStep, CvSize roiSize, const uchar* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_CorrNormed_8u32f_C1R_t) (const uchar* pImage, int imageStep, CvSize roiSize, const uchar* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_CorrNormed_8u32f_C1R_t icvMatchTemplate_CorrNormed_8u32f_C1R; extern "C" CvStatus icvMatchTemplate_Coeff_8u32f_C1R_f (const uchar* pImage, int imageStep, CvSize roiSize, const uchar* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_Coeff_8u32f_C1R_t) (const uchar* pImage, int imageStep, CvSize roiSize, const uchar* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_Coeff_8u32f_C1R_t icvMatchTemplate_Coeff_8u32f_C1R; extern "C" CvStatus icvMatchTemplate_CoeffNormed_8u32f_C1R_f (const uchar* pImage, int imageStep, CvSize roiSize, const uchar* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_CoeffNormed_8u32f_C1R_t) (const uchar* pImage, int imageStep, CvSize roiSize, const uchar* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_CoeffNormed_8u32f_C1R_t icvMatchTemplate_CoeffNormed_8u32f_C1R; extern "C" CvStatus icvMatchTemplate_SqDiff_8s32f_C1R_f (const char* pImage, int imageStep, CvSize roiSize, const char* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_SqDiff_8s32f_C1R_t) (const char* pImage, int imageStep, CvSize roiSize, const char* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_SqDiff_8s32f_C1R_t icvMatchTemplate_SqDiff_8s32f_C1R; extern "C" CvStatus icvMatchTemplate_SqDiffNormed_8s32f_C1R_f (const char* pImage, int imageStep, CvSize roiSize, const char* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_SqDiffNormed_8s32f_C1R_t) (const char* pImage, int imageStep, CvSize roiSize, const char* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_SqDiffNormed_8s32f_C1R_t icvMatchTemplate_SqDiffNormed_8s32f_C1R; extern "C" CvStatus icvMatchTemplate_Corr_8s32f_C1R_f (const char* pImage, int imageStep, CvSize roiSize, const char* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_Corr_8s32f_C1R_t) (const char* pImage, int imageStep, CvSize roiSize, const char* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_Corr_8s32f_C1R_t icvMatchTemplate_Corr_8s32f_C1R; extern "C" CvStatus icvMatchTemplate_CorrNormed_8s32f_C1R_f (const char* pImage, int imageStep, CvSize roiSize, const char* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_CorrNormed_8s32f_C1R_t) (const char* pImage, int imageStep, CvSize roiSize, const char* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_CorrNormed_8s32f_C1R_t icvMatchTemplate_CorrNormed_8s32f_C1R; extern "C" CvStatus icvMatchTemplate_Coeff_8s32f_C1R_f (const char* pImage, int imageStep, CvSize roiSize, const char* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_Coeff_8s32f_C1R_t) (const char* pImage, int imageStep, CvSize roiSize, const char* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_Coeff_8s32f_C1R_t icvMatchTemplate_Coeff_8s32f_C1R; extern "C" CvStatus icvMatchTemplate_CoeffNormed_8s32f_C1R_f (const char* pImage, int imageStep, CvSize roiSize, const char* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_CoeffNormed_8s32f_C1R_t) (const char* pImage, int imageStep, CvSize roiSize, const char* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_CoeffNormed_8s32f_C1R_t icvMatchTemplate_CoeffNormed_8s32f_C1R; extern "C" CvStatus icvMatchTemplate_SqDiff_32f_C1R_f (const float* pImage, int imageStep, CvSize roiSize, const float* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_SqDiff_32f_C1R_t) (const float* pImage, int imageStep, CvSize roiSize, const float* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_SqDiff_32f_C1R_t icvMatchTemplate_SqDiff_32f_C1R; extern "C" CvStatus icvMatchTemplate_SqDiffNormed_32f_C1R_f (const float* pImage, int imageStep, CvSize roiSize, const float* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_SqDiffNormed_32f_C1R_t) (const float* pImage, int imageStep, CvSize roiSize, const float* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_SqDiffNormed_32f_C1R_t icvMatchTemplate_SqDiffNormed_32f_C1R; extern "C" CvStatus icvMatchTemplate_Corr_32f_C1R_f (const float* pImage, int imageStep, CvSize roiSize, const float* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_Corr_32f_C1R_t) (const float* pImage, int imageStep, CvSize roiSize, const float* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_Corr_32f_C1R_t icvMatchTemplate_Corr_32f_C1R; extern "C" CvStatus icvMatchTemplate_CorrNormed_32f_C1R_f (const float* pImage, int imageStep, CvSize roiSize, const float* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_CorrNormed_32f_C1R_t) (const float* pImage, int imageStep, CvSize roiSize, const float* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_CorrNormed_32f_C1R_t icvMatchTemplate_CorrNormed_32f_C1R; extern "C" CvStatus icvMatchTemplate_Coeff_32f_C1R_f (const float* pImage, int imageStep, CvSize roiSize, const float* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_Coeff_32f_C1R_t) (const float* pImage, int imageStep, CvSize roiSize, const float* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_Coeff_32f_C1R_t icvMatchTemplate_Coeff_32f_C1R; extern "C" CvStatus icvMatchTemplate_CoeffNormed_32f_C1R_f (const float* pImage, int imageStep, CvSize roiSize, const float* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); typedef CvStatus (* icvMatchTemplate_CoeffNormed_32f_C1R_t) (const float* pImage, int imageStep, CvSize roiSize, const float* pTemplate, int templStep, CvSize templSize, float* pResult, int resultStep, void* pBuffer ); extern icvMatchTemplate_CoeffNormed_32f_C1R_t icvMatchTemplate_CoeffNormed_32f_C1R; # 931 "_ipcv.h" extern "C" CvStatus icvDistanceTransform_3x3_8u32f_C1R_f ( const uchar* pSrc, int srcStep, float* pDst, int dstStep, CvSize roiSize, float* pMetrics ); typedef CvStatus (* icvDistanceTransform_3x3_8u32f_C1R_t) ( const uchar* pSrc, int srcStep, float* pDst, int dstStep, CvSize roiSize, float* pMetrics ); extern icvDistanceTransform_3x3_8u32f_C1R_t icvDistanceTransform_3x3_8u32f_C1R; extern "C" CvStatus icvDistanceTransform_5x5_8u32f_C1R_f ( const uchar* pImage, int imgStep, float* pDist, int distStep, CvSize roiSize, float* pMetrics ); typedef CvStatus (* icvDistanceTransform_5x5_8u32f_C1R_t) ( const uchar* pImage, int imgStep, float* pDist, int distStep, CvSize roiSize, float* pMetrics ); extern icvDistanceTransform_5x5_8u32f_C1R_t icvDistanceTransform_5x5_8u32f_C1R; extern "C" CvStatus icvGetDistanceTransformMask_f ( int maskType, float* pMetrics ); typedef CvStatus (* icvGetDistanceTransformMask_t) ( int maskType, float* pMetrics ); extern icvGetDistanceTransformMask_t icvGetDistanceTransformMask; extern "C" CvStatus icvbInvSqrt_32f_f ( const float* src, float* dst, int len ); typedef CvStatus (* icvbInvSqrt_32f_t) ( const float* src, float* dst, int len ); extern icvbInvSqrt_32f_t icvbInvSqrt_32f; extern "C" CvStatus icvbSqrt_32f_f ( const float* src, float* dst, int len ); typedef CvStatus (* icvbSqrt_32f_t) ( const float* src, float* dst, int len ); extern icvbSqrt_32f_t icvbSqrt_32f; extern "C" CvStatus icvbInvSqrt_64f_f ( const double* src, double* dst, int len ); typedef CvStatus (* icvbInvSqrt_64f_t) ( const double* src, double* dst, int len ); extern icvbInvSqrt_64f_t icvbInvSqrt_64f; extern "C" CvStatus icvbSqrt_64f_f ( const double* src, double* dst, int len ); typedef CvStatus (* icvbSqrt_64f_t) ( const double* src, double* dst, int len ); extern icvbSqrt_64f_t icvbSqrt_64f; extern "C" CvStatus icvbLog_64f32f_f ( const double *x, float *y, int n ); typedef CvStatus (* icvbLog_64f32f_t) ( const double *x, float *y, int n ); extern icvbLog_64f32f_t icvbLog_64f32f; extern "C" CvStatus icvbExp_32f64f_f ( const float *x, double *y, int n ); typedef CvStatus (* icvbExp_32f64f_t) ( const float *x, double *y, int n ); extern icvbExp_32f64f_t icvbExp_32f64f; extern "C" CvStatus icvbFastArctan_32f_f ( const float* y, const float* x, float* angle, int len ); typedef CvStatus (* icvbFastArctan_32f_t) ( const float* y, const float* x, float* angle, int len ); extern icvbFastArctan_32f_t icvbFastArctan_32f; extern "C" CvStatus icvMinEigenValGetSize_f ( int roiWidth, int apertureSize, int avgWindow, int* bufferSize ); typedef CvStatus (* icvMinEigenValGetSize_t) ( int roiWidth, int apertureSize, int avgWindow, int* bufferSize ); extern icvMinEigenValGetSize_t icvMinEigenValGetSize; extern "C" CvStatus icvMinEigenVal_8u32f_C1R_f ( const unsigned char* pSrc, int srcStep, float* pMinEigenVal, int minValStep, CvSize roiSize, int apertureSize, int avgWindow, void* pBuffer ); typedef CvStatus (* icvMinEigenVal_8u32f_C1R_t) ( const unsigned char* pSrc, int srcStep, float* pMinEigenVal, int minValStep, CvSize roiSize, int apertureSize, int avgWindow, void* pBuffer ); extern icvMinEigenVal_8u32f_C1R_t icvMinEigenVal_8u32f_C1R; extern "C" CvStatus icvMinEigenVal_8s32f_C1R_f ( const char* pSrc, int srcStep, float* pMinEigenVal, int minValStep, CvSize roiSize, int apertureSize, int avgWindow, void* pBuffer ); typedef CvStatus (* icvMinEigenVal_8s32f_C1R_t) ( const char* pSrc, int srcStep, float* pMinEigenVal, int minValStep, CvSize roiSize, int apertureSize, int avgWindow, void* pBuffer ); extern icvMinEigenVal_8s32f_C1R_t icvMinEigenVal_8s32f_C1R; extern "C" CvStatus icvMinEigenVal_32f_C1R_f ( const float* pSrc, int srcStep, float* pMinEigenVal, int minValStep, CvSize roiSize, int apertureSize, int avgWindow, void* pBuffer ); typedef CvStatus (* icvMinEigenVal_32f_C1R_t) ( const float* pSrc, int srcStep, float* pMinEigenVal, int minValStep, CvSize roiSize, int apertureSize, int avgWindow, void* pBuffer ); extern icvMinEigenVal_32f_C1R_t icvMinEigenVal_32f_C1R; # 979 "_ipcv.h" extern "C" CvStatus icvUpdatePyrLinks_8u_C1_f ( int layer, void* layer_data, CvSize size, void* parent_layer, void* writer, float threshold, int is_last_iter, void* stub, ICVWriteNodeFunction ); typedef CvStatus (* icvUpdatePyrLinks_8u_C1_t) ( int layer, void* layer_data, CvSize size, void* parent_layer, void* writer, float threshold, int is_last_iter, void* stub, ICVWriteNodeFunction ); extern icvUpdatePyrLinks_8u_C1_t icvUpdatePyrLinks_8u_C1; # 990 "_ipcv.h" extern "C" CvStatus icvUpdatePyrLinks_8u_C3_f ( int layer, void* layer_data, CvSize size, void* parent_layer, void* writer, float threshold, int is_last_iter, void* stub, ICVWriteNodeFunction ); typedef CvStatus (* icvUpdatePyrLinks_8u_C3_t) ( int layer, void* layer_data, CvSize size, void* parent_layer, void* writer, float threshold, int is_last_iter, void* stub, ICVWriteNodeFunction ); extern icvUpdatePyrLinks_8u_C3_t icvUpdatePyrLinks_8u_C3; # 1005 "_ipcv.h" extern "C" CvStatus icvUnDistort1_8u_C1R_f ( const uchar* srcImage, int srcStep, uchar* dstImage, int dstStep, CvSize size, const float* intrMatrix, const float* distCoeffs, int interToggle ); typedef CvStatus (* icvUnDistort1_8u_C1R_t) ( const uchar* srcImage, int srcStep, uchar* dstImage, int dstStep, CvSize size, const float* intrMatrix, const float* distCoeffs, int interToggle ); extern icvUnDistort1_8u_C1R_t icvUnDistort1_8u_C1R; extern "C" CvStatus icvUnDistort1_8u_C3R_f ( const uchar* srcImage, int srcStep, uchar* dstImage, int dstStep, CvSize size, const float* intrMatrix, const float* distCoeffs, int interToggle ); typedef CvStatus (* icvUnDistort1_8u_C3R_t) ( const uchar* srcImage, int srcStep, uchar* dstImage, int dstStep, CvSize size, const float* intrMatrix, const float* distCoeffs, int interToggle ); extern icvUnDistort1_8u_C3R_t icvUnDistort1_8u_C3R; extern "C" CvStatus icvUnDistortEx_8u_C1R_f ( const uchar* srcImage, int srcStep, uchar* dstImage, int dstStep, CvSize size, const float* intrMatrix, const float* distCoeffs, int interToggle ); typedef CvStatus (* icvUnDistortEx_8u_C1R_t) ( const uchar* srcImage, int srcStep, uchar* dstImage, int dstStep, CvSize size, const float* intrMatrix, const float* distCoeffs, int interToggle ); extern icvUnDistortEx_8u_C1R_t icvUnDistortEx_8u_C1R; extern "C" CvStatus icvUnDistortEx_8u_C3R_f ( const uchar* srcImage, int srcStep, uchar* dstImage, int dstStep, CvSize size, const float* intrMatrix, const float* distCoeffs, int interToggle ); typedef CvStatus (* icvUnDistortEx_8u_C3R_t) ( const uchar* srcImage, int srcStep, uchar* dstImage, int dstStep, CvSize size, const float* intrMatrix, const float* distCoeffs, int interToggle ); extern icvUnDistortEx_8u_C3R_t icvUnDistortEx_8u_C3R; extern "C" CvStatus icvUnDistortInit_f ( int srcStep, int* map, int mapStep, CvSize size, const float* intrMatrix, const float* distCoeffs, int interToggle, int pixSize ); typedef CvStatus (* icvUnDistortInit_t) ( int srcStep, int* map, int mapStep, CvSize size, const float* intrMatrix, const float* distCoeffs, int interToggle, int pixSize ); extern icvUnDistortInit_t icvUnDistortInit; extern "C" CvStatus icvUnDistort_8u_C1R_f ( const uchar* srcImage, int srcStep, const int* map, int mapstep, uchar* dstImage, int dstStep, CvSize size, int interToggle ); typedef CvStatus (* icvUnDistort_8u_C1R_t) ( const uchar* srcImage, int srcStep, const int* map, int mapstep, uchar* dstImage, int dstStep, CvSize size, int interToggle ); extern icvUnDistort_8u_C1R_t icvUnDistort_8u_C1R; extern "C" CvStatus icvUnDistort_8u_C3R_f ( const uchar* srcImage, int srcStep, const int* map, int mapstep, uchar* dstImage, int dstStep, CvSize size, int interToggle ); typedef CvStatus (* icvUnDistort_8u_C3R_t) ( const uchar* srcImage, int srcStep, const int* map, int mapstep, uchar* dstImage, int dstStep, CvSize size, int interToggle ); extern icvUnDistort_8u_C3R_t icvUnDistort_8u_C3R; # 1045 "_ipcv.h" extern "C" CVStatus icvErrorFromStatus_f ( CvStatus status ); typedef CVStatus (* icvErrorFromStatus_t) ( CvStatus status ); extern icvErrorFromStatus_t icvErrorFromStatus; extern "C" CvStatus icvCheckArray_32f_C1R_f ( const float* src, int srcstep, CvSize size, int flags, double min_val, double max_val ); typedef CvStatus (* icvCheckArray_32f_C1R_t) ( const float* src, int srcstep, CvSize size, int flags, double min_val, double max_val ); extern icvCheckArray_32f_C1R_t icvCheckArray_32f_C1R; extern "C" CvStatus icvCheckArray_64f_C1R_f ( const double* src, int srcstep, CvSize size, int flags, double min_val, double max_val ); typedef CvStatus (* icvCheckArray_64f_C1R_t) ( const double* src, int srcstep, CvSize size, int flags, double min_val, double max_val ); extern icvCheckArray_64f_C1R_t icvCheckArray_64f_C1R; extern "C" float icvSquareDistance_f ( CvVect32f v1, CvVect32f v2, int len ); typedef float (* icvSquareDistance_t) ( CvVect32f v1, CvVect32f v2, int len ); extern icvSquareDistance_t icvSquareDistance; extern "C" CvStatus icvViterbiSegmentation_f ( int num_states, int num_obs, CvMatr32f transP, CvMatr32f B, int start_obs, int prob_type, int** q, int min_num_obs, int max_num_obs, float* prob ); typedef CvStatus (* icvViterbiSegmentation_t) ( int num_states, int num_obs, CvMatr32f transP, CvMatr32f B, int start_obs, int prob_type, int** q, int min_num_obs, int max_num_obs, float* prob ); extern icvViterbiSegmentation_t icvViterbiSegmentation; extern "C" CvStatus icvInvertMatrix_32f_f ( const float* src, int w, float* dst ); typedef CvStatus (* icvInvertMatrix_32f_t) ( const float* src, int w, float* dst ); extern icvInvertMatrix_32f_t icvInvertMatrix_32f; extern "C" CvStatus icvInvertMatrix_64d_f ( const double* src, int w, double* dst ); typedef CvStatus (* icvInvertMatrix_64d_t) ( const double* src, int w, double* dst ); extern icvInvertMatrix_64d_t icvInvertMatrix_64d; # 237 "_cv.h" 2 # 1 "_optcv.h" 1 # 50 "_optcv.h" extern "C" CvStatus icvFilterInitAlloc_f ( int roiWidth, CvDataType dataType, int channels, CvSize elSize, CvPoint elAnchor, const void* elData, int elementFlags, struct CvFilterState ** morphState ); typedef CvStatus (* icvFilterInitAlloc_t) ( int roiWidth, CvDataType dataType, int channels, CvSize elSize, CvPoint elAnchor, const void* elData, int elementFlags, struct CvFilterState ** morphState ); extern icvFilterInitAlloc_t icvFilterInitAlloc; extern "C" CvStatus icvFilterFree_f ( struct CvFilterState ** morphState ); typedef CvStatus (* icvFilterFree_t) ( struct CvFilterState ** morphState ); extern icvFilterFree_t icvFilterFree; # 67 "_optcv.h" extern "C" CvStatus icvAbsDiffC_8u_C1R_f ( const uchar* src, int srcstep, uchar* dst, int dststep, CvSize size, const int* scalar ); typedef CvStatus (* icvAbsDiffC_8u_C1R_t) ( const uchar* src, int srcstep, uchar* dst, int dststep, CvSize size, const int* scalar ); extern icvAbsDiffC_8u_C1R_t icvAbsDiffC_8u_C1R; extern "C" CvStatus icvAbsDiffC_32f_C1R_f ( const float* src, int srcstep, float* dst, int dststep, CvSize size, const float* scalar ); typedef CvStatus (* icvAbsDiffC_32f_C1R_t) ( const float* src, int srcstep, float* dst, int dststep, CvSize size, const float* scalar ); extern icvAbsDiffC_32f_C1R_t icvAbsDiffC_32f_C1R; extern "C" CvStatus icvAbsDiffC_64f_C1R_f ( const double* src, int srcstep, double* dst, int dststep, CvSize size, const double* scalar ); typedef CvStatus (* icvAbsDiffC_64f_C1R_t) ( const double* src, int srcstep, double* dst, int dststep, CvSize size, const double* scalar ); extern icvAbsDiffC_64f_C1R_t icvAbsDiffC_64f_C1R; extern "C" CvStatus icvEigenValsVecsGetSize_f ( int roiWidth,int apertureSize, int avgWindow, int* bufferSize ); typedef CvStatus (* icvEigenValsVecsGetSize_t) ( int roiWidth,int apertureSize, int avgWindow, int* bufferSize ); extern icvEigenValsVecsGetSize_t icvEigenValsVecsGetSize; extern "C" CvStatus icvEigenValsVecs_8u32f_C1R_f ( const unsigned char* pSrc, int srcStep, float* pEigenVV, int eigStep, CvSize roiSize, int apertureSize, int avgWindow, void* pBuffer ); typedef CvStatus (* icvEigenValsVecs_8u32f_C1R_t) ( const unsigned char* pSrc, int srcStep, float* pEigenVV, int eigStep, CvSize roiSize, int apertureSize, int avgWindow, void* pBuffer ); extern icvEigenValsVecs_8u32f_C1R_t icvEigenValsVecs_8u32f_C1R; extern "C" CvStatus icvEigenValsVecs_8s32f_C1R_f ( const char* pSrc, int srcStep, float* pEigenVV, int eigStep, CvSize roiSize, int apertureSize, int avgWindow, void* pBuffer ); typedef CvStatus (* icvEigenValsVecs_8s32f_C1R_t) ( const char* pSrc, int srcStep, float* pEigenVV, int eigStep, CvSize roiSize, int apertureSize, int avgWindow, void* pBuffer ); extern icvEigenValsVecs_8s32f_C1R_t icvEigenValsVecs_8s32f_C1R; extern "C" CvStatus icvEigenValsVecs_32f_C1R_f ( const float* pSrc, int srcStep, float* pEigenVV, int eigStep, CvSize roiSize, int apertureSize, int avgWindow, void* pBuffer ); typedef CvStatus (* icvEigenValsVecs_32f_C1R_t) ( const float* pSrc, int srcStep, float* pEigenVV, int eigStep, CvSize roiSize, int apertureSize, int avgWindow, void* pBuffer ); extern icvEigenValsVecs_32f_C1R_t icvEigenValsVecs_32f_C1R; # 99 "_optcv.h" extern "C" CvStatus icvMinAreaRect_f (CvPoint * points, int n, int left, int bottom, int right, int top, CvPoint2D32f * anchor, CvPoint2D32f * vect1, CvPoint2D32f * vect2); typedef CvStatus (* icvMinAreaRect_t) (CvPoint * points, int n, int left, int bottom, int right, int top, CvPoint2D32f * anchor, CvPoint2D32f * vect1, CvPoint2D32f * vect2); extern icvMinAreaRect_t icvMinAreaRect; # 108 "_optcv.h" extern "C" CvStatus icvThresh_8u_C1R_f ( const uchar* src, int src_step, uchar* dst, int dst_step, CvSize roi, int thresh, uchar max_val, int type ); typedef CvStatus (* icvThresh_8u_C1R_t) ( const uchar* src, int src_step, uchar* dst, int dst_step, CvSize roi, int thresh, uchar max_val, int type ); extern icvThresh_8u_C1R_t icvThresh_8u_C1R; extern "C" CvStatus icvThresh_8s_C1R_f ( const char* src, int src_step, char* dst, int dst_step, CvSize roi, int thresh, char max_val, int type ); typedef CvStatus (* icvThresh_8s_C1R_t) ( const char* src, int src_step, char* dst, int dst_step, CvSize roi, int thresh, char max_val, int type ); extern icvThresh_8s_C1R_t icvThresh_8s_C1R; extern "C" CvStatus icvThresh_32f_C1R_f ( const float* src, int src_step, float* dst, int dst_step, CvSize roi, float thresh, float max_val, int type); typedef CvStatus (* icvThresh_32f_C1R_t) ( const float* src, int src_step, float* dst, int dst_step, CvSize roi, float thresh, float max_val, int type); extern icvThresh_32f_C1R_t icvThresh_32f_C1R; # 127 "_optcv.h" extern "C" CvStatus icvPreCornerDetect_8u32f_C1R_f ( const uchar* src, int srcStep, float* corner, int cornerStep, CvSize roi, int apertureSize ); typedef CvStatus (* icvPreCornerDetect_8u32f_C1R_t) ( const uchar* src, int srcStep, float* corner, int cornerStep, CvSize roi, int apertureSize ); extern icvPreCornerDetect_8u32f_C1R_t icvPreCornerDetect_8u32f_C1R; extern "C" CvStatus icvPreCornerDetect_8s32f_C1R_f ( const char* src, int srcStep, float* corner, int cornerStep, CvSize roi, int apertureSize ); typedef CvStatus (* icvPreCornerDetect_8s32f_C1R_t) ( const char* src, int srcStep, float* corner, int cornerStep, CvSize roi, int apertureSize ); extern icvPreCornerDetect_8s32f_C1R_t icvPreCornerDetect_8s32f_C1R; extern "C" CvStatus icvPreCornerDetect_32f_C1R_f ( const float* src, int srcStep, float* corner, int cornerStep, CvSize roi, int apertureSize ); typedef CvStatus (* icvPreCornerDetect_32f_C1R_t) ( const float* src, int srcStep, float* corner, int cornerStep, CvSize roi, int apertureSize ); extern icvPreCornerDetect_32f_C1R_t icvPreCornerDetect_32f_C1R; extern "C" CvStatus icvSnakeImage8uC1R_f ( uchar* src, int srcStep, CvSize roi, CvPoint* points, int length, float* alpha, float* beta, float* gamma, int coeffUsage, CvSize win, CvTermCriteria criteria ); typedef CvStatus (* icvSnakeImage8uC1R_t) ( uchar* src, int srcStep, CvSize roi, CvPoint* points, int length, float* alpha, float* beta, float* gamma, int coeffUsage, CvSize win, CvTermCriteria criteria ); extern icvSnakeImage8uC1R_t icvSnakeImage8uC1R; extern "C" CvStatus icvSnakeImageGrad8uC1R_f ( uchar* src, int srcStep, CvSize roi, CvPoint* points, int length, float* alpha, float* beta, float* gamma, int coeffUsage, CvSize win, CvTermCriteria criteria ); typedef CvStatus (* icvSnakeImageGrad8uC1R_t) ( uchar* src, int srcStep, CvSize roi, CvPoint* points, int length, float* alpha, float* beta, float* gamma, int coeffUsage, CvSize win, CvTermCriteria criteria ); extern icvSnakeImageGrad8uC1R_t icvSnakeImageGrad8uC1R; # 161 "_optcv.h" extern "C" CvStatus icvCalcCovarMatrixEx_8u32fR_f ( int nObjects, void* input, int objStep, int ioFlags, int ioBufSize, uchar* buffer, void* userData, float* avg, int avgStep, CvSize size, float* covarMatrix ); typedef CvStatus (* icvCalcCovarMatrixEx_8u32fR_t) ( int nObjects, void* input, int objStep, int ioFlags, int ioBufSize, uchar* buffer, void* userData, float* avg, int avgStep, CvSize size, float* covarMatrix ); extern icvCalcCovarMatrixEx_8u32fR_t icvCalcCovarMatrixEx_8u32fR; extern "C" CvStatus icvCalcEigenObjects_8u32fR_f ( int nObjects, void* input, int objStep, void* output, int eigStep, CvSize size, int ioFlags, int ioBufSize, void* userData, CvTermCriteria* calcLimit, float* avg, int avgStep, float* eigVals ); typedef CvStatus (* icvCalcEigenObjects_8u32fR_t) ( int nObjects, void* input, int objStep, void* output, int eigStep, CvSize size, int ioFlags, int ioBufSize, void* userData, CvTermCriteria* calcLimit, float* avg, int avgStep, float* eigVals ); extern icvCalcEigenObjects_8u32fR_t icvCalcEigenObjects_8u32fR; extern "C" float icvCalcDecompCoeff_8u32fR_f ( uchar* obj, int objStep, float* eigObj, int eigStep, float* avg, int avgStep, CvSize size ); typedef float (* icvCalcDecompCoeff_8u32fR_t) ( uchar* obj, int objStep, float* eigObj, int eigStep, float* avg, int avgStep, CvSize size ); extern icvCalcDecompCoeff_8u32fR_t icvCalcDecompCoeff_8u32fR; extern "C" CvStatus icvEigenDecomposite_8u32fR_f ( uchar* obj, int objStep, int nEigObjs, void* eigInput, int eigStep, int ioFlags, void* userData, float* avg, int avgStep, CvSize size, float* coeffs ); typedef CvStatus (* icvEigenDecomposite_8u32fR_t) ( uchar* obj, int objStep, int nEigObjs, void* eigInput, int eigStep, int ioFlags, void* userData, float* avg, int avgStep, CvSize size, float* coeffs ); extern icvEigenDecomposite_8u32fR_t icvEigenDecomposite_8u32fR; extern "C" CvStatus icvEigenProjection_8u32fR_f (int nEigObjs, void* eigInput, int eigStep, int ioFlags, void* userData, float* coeffs, float* avg, int avgStep, uchar* rest, int restStep, CvSize size); typedef CvStatus (* icvEigenProjection_8u32fR_t) (int nEigObjs, void* eigInput, int eigStep, int ioFlags, void* userData, float* coeffs, float* avg, int avgStep, uchar* rest, int restStep, CvSize size); extern icvEigenProjection_8u32fR_t icvEigenProjection_8u32fR; # 202 "_optcv.h" extern "C" CvStatus icvSampleLine_8u_C1R_f ( CvLineIterator* iterator, uchar* buffer, int count ); typedef CvStatus (* icvSampleLine_8u_C1R_t) ( CvLineIterator* iterator, uchar* buffer, int count ); extern icvSampleLine_8u_C1R_t icvSampleLine_8u_C1R; extern "C" CvStatus icvSampleLine_8u_C2R_f ( CvLineIterator* iterator, uchar* buffer, int count ); typedef CvStatus (* icvSampleLine_8u_C2R_t) ( CvLineIterator* iterator, uchar* buffer, int count ); extern icvSampleLine_8u_C2R_t icvSampleLine_8u_C2R; extern "C" CvStatus icvSampleLine_8u_C3R_f ( CvLineIterator* iterator, uchar* buffer, int count ); typedef CvStatus (* icvSampleLine_8u_C3R_t) ( CvLineIterator* iterator, uchar* buffer, int count ); extern icvSampleLine_8u_C3R_t icvSampleLine_8u_C3R; extern "C" CvStatus icvSampleLine_32f_C1R_f ( CvLineIterator* iterator, float* buffer, int count ); typedef CvStatus (* icvSampleLine_32f_C1R_t) ( CvLineIterator* iterator, float* buffer, int count ); extern icvSampleLine_32f_C1R_t icvSampleLine_32f_C1R; extern "C" CvStatus icvSampleLine_32f_C2R_f ( CvLineIterator* iterator, float* buffer, int count ); typedef CvStatus (* icvSampleLine_32f_C2R_t) ( CvLineIterator* iterator, float* buffer, int count ); extern icvSampleLine_32f_C2R_t icvSampleLine_32f_C2R; extern "C" CvStatus icvSampleLine_32f_C3R_f ( CvLineIterator* iterator, float* buffer, int count ); typedef CvStatus (* icvSampleLine_32f_C3R_t) ( CvLineIterator* iterator, float* buffer, int count ); extern icvSampleLine_32f_C3R_t icvSampleLine_32f_C3R; extern "C" CvStatus icvCreate2DHMM_f ( CvEHMM** hmm, int* state_number, int* num_mix, int obs_size ); typedef CvStatus (* icvCreate2DHMM_t) ( CvEHMM** hmm, int* state_number, int* num_mix, int obs_size ); extern icvCreate2DHMM_t icvCreate2DHMM; extern "C" CvStatus icvRelease2DHMM_f ( CvEHMM** hmm ); typedef CvStatus (* icvRelease2DHMM_t) ( CvEHMM** hmm ); extern icvRelease2DHMM_t icvRelease2DHMM; extern "C" CvStatus icvCreateObsInfo_f ( CvImgObsInfo** obs_info, CvSize num_obs, int obs_size ); typedef CvStatus (* icvCreateObsInfo_t) ( CvImgObsInfo** obs_info, CvSize num_obs, int obs_size ); extern icvCreateObsInfo_t icvCreateObsInfo; extern "C" CvStatus icvReleaseObsInfo_f ( CvImgObsInfo** obs_info ); typedef CvStatus (* icvReleaseObsInfo_t) ( CvImgObsInfo** obs_info ); extern icvReleaseObsInfo_t icvReleaseObsInfo; extern "C" CvStatus icvUniformImgSegm_f ( CvImgObsInfo* obs_info, CvEHMM* ehmm ); typedef CvStatus (* icvUniformImgSegm_t) ( CvImgObsInfo* obs_info, CvEHMM* ehmm ); extern icvUniformImgSegm_t icvUniformImgSegm; extern "C" CvStatus icvInitMixSegm_f ( CvImgObsInfo** obs_info_array, int num_img, CvEHMM* hmm ); typedef CvStatus (* icvInitMixSegm_t) ( CvImgObsInfo** obs_info_array, int num_img, CvEHMM* hmm ); extern icvInitMixSegm_t icvInitMixSegm; extern "C" CvStatus icvEstimateHMMStateParams_f ( CvImgObsInfo** obs_info_array, int num_img, CvEHMM* hmm ); typedef CvStatus (* icvEstimateHMMStateParams_t) ( CvImgObsInfo** obs_info_array, int num_img, CvEHMM* hmm ); extern icvEstimateHMMStateParams_t icvEstimateHMMStateParams; extern "C" CvStatus icvEstimateTransProb_f ( CvImgObsInfo** obs_info_array, int num_img, CvEHMM* hmm ); typedef CvStatus (* icvEstimateTransProb_t) ( CvImgObsInfo** obs_info_array, int num_img, CvEHMM* hmm ); extern icvEstimateTransProb_t icvEstimateTransProb; extern "C" CvStatus icvEstimateObsProb_f ( CvImgObsInfo* obs_info, CvEHMM* hmm ); typedef CvStatus (* icvEstimateObsProb_t) ( CvImgObsInfo* obs_info, CvEHMM* hmm ); extern icvEstimateObsProb_t icvEstimateObsProb; extern "C" float icvEViterbi_f (CvImgObsInfo* obs_info, CvEHMM* hmm ); typedef float (* icvEViterbi_t) (CvImgObsInfo* obs_info, CvEHMM* hmm ); extern icvEViterbi_t icvEViterbi; extern "C" CvStatus icvMixSegmL2_f ( CvImgObsInfo** obs_info_array, int num_img, CvEHMM* hmm ); typedef CvStatus (* icvMixSegmL2_t) ( CvImgObsInfo** obs_info_array, int num_img, CvEHMM* hmm ); extern icvMixSegmL2_t icvMixSegmL2; # 267 "_optcv.h" extern "C" CvStatus icvDotProduct_8u_C1R_f ( const uchar* src1, int step1, const uchar* src2, int step2, CvSize size, int64* _sum ); typedef CvStatus (* icvDotProduct_8u_C1R_t) ( const uchar* src1, int step1, const uchar* src2, int step2, CvSize size, int64* _sum ); extern icvDotProduct_8u_C1R_t icvDotProduct_8u_C1R; extern "C" CvStatus icvDotProduct_8s_C1R_f ( const char* src1, int step1, const char* src2, int step2, CvSize size, int64* _sum ); typedef CvStatus (* icvDotProduct_8s_C1R_t) ( const char* src1, int step1, const char* src2, int step2, CvSize size, int64* _sum ); extern icvDotProduct_8s_C1R_t icvDotProduct_8s_C1R; extern "C" CvStatus icvDotProduct_16s_C1R_f ( const short* src1, int step1, const short* src2, int step2, CvSize size, int64* _sum ); typedef CvStatus (* icvDotProduct_16s_C1R_t) ( const short* src1, int step1, const short* src2, int step2, CvSize size, int64* _sum ); extern icvDotProduct_16s_C1R_t icvDotProduct_16s_C1R; extern "C" CvStatus icvDotProduct_32s_C1R_f ( const int* src1, int step1, const int* src2, int step2, CvSize size, double* _sum ); typedef CvStatus (* icvDotProduct_32s_C1R_t) ( const int* src1, int step1, const int* src2, int step2, CvSize size, double* _sum ); extern icvDotProduct_32s_C1R_t icvDotProduct_32s_C1R; extern "C" CvStatus icvDotProduct_32f_C1R_f ( const float* src1, int step1, const float* src2, int step2, CvSize size, double* _sum ); typedef CvStatus (* icvDotProduct_32f_C1R_t) ( const float* src1, int step1, const float* src2, int step2, CvSize size, double* _sum ); extern icvDotProduct_32f_C1R_t icvDotProduct_32f_C1R; extern "C" CvStatus icvDotProduct_64f_C1R_f ( const double* src1, int step1, const double* src2, int step2, CvSize size, double* _sum ); typedef CvStatus (* icvDotProduct_64f_C1R_t) ( const double* src1, int step1, const double* src2, int step2, CvSize size, double* _sum ); extern icvDotProduct_64f_C1R_t icvDotProduct_64f_C1R; extern "C" CvStatus icvCrossProduct2L_32f_f ( const float* src1, const float* src2, float* dest ); typedef CvStatus (* icvCrossProduct2L_32f_t) ( const float* src1, const float* src2, float* dest ); extern icvCrossProduct2L_32f_t icvCrossProduct2L_32f; extern "C" CvStatus icvCrossProduct2L_64d_f ( const double* src1, const double* src2, double* dest ); typedef CvStatus (* icvCrossProduct2L_64d_t) ( const double* src1, const double* src2, double* dest ); extern icvCrossProduct2L_64d_t icvCrossProduct2L_64d; extern "C" CvStatus icvCrossProduct3P_32f_f ( CvVect32f src1, CvVect32f src2, CvVect32f src3, CvVect32f dest ); typedef CvStatus (* icvCrossProduct3P_32f_t) ( CvVect32f src1, CvVect32f src2, CvVect32f src3, CvVect32f dest ); extern icvCrossProduct3P_32f_t icvCrossProduct3P_32f; # 293 "_optcv.h" extern "C" CvStatus icvLUDecomp_32f_f ( float* A, int stepA, CvSize sizeA, float* B, int stepB, CvSize sizeB, double* _det ); typedef CvStatus (* icvLUDecomp_32f_t) ( float* A, int stepA, CvSize sizeA, float* B, int stepB, CvSize sizeB, double* _det ); extern icvLUDecomp_32f_t icvLUDecomp_32f; extern "C" CvStatus icvLUDecomp_64f_f ( double* A, int stepA, CvSize sizeA, double* B, int stepB, CvSize sizeB, double* _det ); typedef CvStatus (* icvLUDecomp_64f_t) ( double* A, int stepA, CvSize sizeA, double* B, int stepB, CvSize sizeB, double* _det ); extern icvLUDecomp_64f_t icvLUDecomp_64f; extern "C" CvStatus icvLUBack_32f_f ( float* A, int stepA, CvSize sizeA, float* B, int stepB, CvSize sizeB ); typedef CvStatus (* icvLUBack_32f_t) ( float* A, int stepA, CvSize sizeA, float* B, int stepB, CvSize sizeB ); extern icvLUBack_32f_t icvLUBack_32f; extern "C" CvStatus icvLUBack_64f_f ( double* A, int stepA, CvSize sizeA, double* B, int stepB, CvSize sizeB ); typedef CvStatus (* icvLUBack_64f_t) ( double* A, int stepA, CvSize sizeA, double* B, int stepB, CvSize sizeB ); extern icvLUBack_64f_t icvLUBack_64f; extern "C" CvStatus icvbTransformVector3x1P_32f_f ( CvMatr32f matr, CvVect32f srcVec, int count, CvVect32f destVec ); typedef CvStatus (* icvbTransformVector3x1P_32f_t) ( CvMatr32f matr, CvVect32f srcVec, int count, CvVect32f destVec ); extern icvbTransformVector3x1P_32f_t icvbTransformVector3x1P_32f; extern "C" CvStatus icvMahalanobis_32f_f ( CvVect32f srcVec1, CvVect32f srcVec2, CvMatr32f matr, int matrSize, float* distance ); typedef CvStatus (* icvMahalanobis_32f_t) ( CvVect32f srcVec1, CvVect32f srcVec2, CvMatr32f matr, int matrSize, float* distance ); extern icvMahalanobis_32f_t icvMahalanobis_32f; # 329 "_optcv.h" extern "C" CvStatus icvMulTransposedR_32f_f ( const float* src, int srcstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvMulTransposedR_32f_t) ( const float* src, int srcstep, float* dst, int dststep, CvSize size ); extern icvMulTransposedR_32f_t icvMulTransposedR_32f; extern "C" CvStatus icvMulTransposedR_64f_f ( const double* src, int srcstep, double* dst, int dststep, CvSize size ); typedef CvStatus (* icvMulTransposedR_64f_t) ( const double* src, int srcstep, double* dst, int dststep, CvSize size ); extern icvMulTransposedR_64f_t icvMulTransposedR_64f; extern "C" CvStatus icvMulTransposedL_32f_f ( const float* src, int srcstep, float* dst, int dststep, CvSize size ); typedef CvStatus (* icvMulTransposedL_32f_t) ( const float* src, int srcstep, float* dst, int dststep, CvSize size ); extern icvMulTransposedL_32f_t icvMulTransposedL_32f; extern "C" CvStatus icvMulTransposedL_64f_f ( const double* src, int srcstep, double* dst, int dststep, CvSize size ); typedef CvStatus (* icvMulTransposedL_64f_t) ( const double* src, int srcstep, double* dst, int dststep, CvSize size ); extern icvMulTransposedL_64f_t icvMulTransposedL_64f; extern "C" CvStatus icvJacobiEigens_32f_f ( CvMatr32f A, CvMatr32f V, CvVect32f E, int n, float eps ); typedef CvStatus (* icvJacobiEigens_32f_t) ( CvMatr32f A, CvMatr32f V, CvVect32f E, int n, float eps ); extern icvJacobiEigens_32f_t icvJacobiEigens_32f; extern "C" CvStatus icvJacobiEigens_64d_f ( CvMatr64d A, CvMatr64d V, CvVect64d E, int n, double eps ); typedef CvStatus (* icvJacobiEigens_64d_t) ( CvMatr64d A, CvMatr64d V, CvVect64d E, int n, double eps ); extern icvJacobiEigens_64d_t icvJacobiEigens_64d; # 354 "_optcv.h" extern "C" CvStatus icvNormVector_32f_f ( CvVect32f vect, int length, float* norm); typedef CvStatus (* icvNormVector_32f_t) ( CvVect32f vect, int length, float* norm); extern icvNormVector_32f_t icvNormVector_32f; extern "C" CvStatus icvNormVector_64d_f ( double* vect, int length, double* norm); typedef CvStatus (* icvNormVector_64d_t) ( double* vect, int length, double* norm); extern icvNormVector_64d_t icvNormVector_64d; extern "C" CvStatus icvComplexMult_32f_f ( CvMatr32f srcMatr, CvMatr32f dstMatr, int width, int height); typedef CvStatus (* icvComplexMult_32f_t) ( CvMatr32f srcMatr, CvMatr32f dstMatr, int width, int height); extern icvComplexMult_32f_t icvComplexMult_32f; extern "C" CvStatus icvComplexMult_64d_f ( double* srcMatr, double* dstMatr, int width, int height); typedef CvStatus (* icvComplexMult_64d_t) ( double* srcMatr, double* dstMatr, int width, int height); extern icvComplexMult_64d_t icvComplexMult_64d; extern "C" CvStatus icvRodrigues_f (CvMatr32f rotMatr, CvVect32f rotVect, CvMatr32f Jacobian, int convType); typedef CvStatus (* icvRodrigues_t) (CvMatr32f rotMatr, CvVect32f rotVect, CvMatr32f Jacobian, int convType); extern icvRodrigues_t icvRodrigues; extern "C" CvStatus icvRodrigues_64d_f (double* rotMatr, double* rotVect, double* Jacobian, int convType); typedef CvStatus (* icvRodrigues_64d_t) (double* rotMatr, double* rotVect, double* Jacobian, int convType); extern icvRodrigues_64d_t icvRodrigues_64d; extern "C" CvStatus icvPyrDownBorder_8u_CnR_f ( const uchar *src, int src_step, CvSize src_size, uchar *dst, int dst_step, CvSize dst_size, int channels ); typedef CvStatus (* icvPyrDownBorder_8u_CnR_t) ( const uchar *src, int src_step, CvSize src_size, uchar *dst, int dst_step, CvSize dst_size, int channels ); extern icvPyrDownBorder_8u_CnR_t icvPyrDownBorder_8u_CnR; extern "C" CvStatus icvPyrDownBorder_8s_CnR_f ( const char *src, int src_step, CvSize src_size, char *dst, int dst_step, CvSize dst_size, int channels ); typedef CvStatus (* icvPyrDownBorder_8s_CnR_t) ( const char *src, int src_step, CvSize src_size, char *dst, int dst_step, CvSize dst_size, int channels ); extern icvPyrDownBorder_8s_CnR_t icvPyrDownBorder_8s_CnR; extern "C" CvStatus icvPyrDownBorder_32f_CnR_f ( const float *src, int src_step, CvSize src_size, float *dst, int dst_step, CvSize dst_size, int channels ); typedef CvStatus (* icvPyrDownBorder_32f_CnR_t) ( const float *src, int src_step, CvSize src_size, float *dst, int dst_step, CvSize dst_size, int channels ); extern icvPyrDownBorder_32f_CnR_t icvPyrDownBorder_32f_CnR; extern "C" CvStatus icvPyrDownBorder_64f_CnR_f ( const double *src, int src_step, CvSize src_size, double *dst, int dst_step, CvSize dst_size, int channels ); typedef CvStatus (* icvPyrDownBorder_64f_CnR_t) ( const double *src, int src_step, CvSize src_size, double *dst, int dst_step, CvSize dst_size, int channels ); extern icvPyrDownBorder_64f_CnR_t icvPyrDownBorder_64f_CnR; extern "C" CvStatus icvResize_NN_8u_C1R_f ( const uchar* src, int srcstep, CvSize srcsize, uchar* dst, int dststep, CvSize dstsize, int pix_size ); typedef CvStatus (* icvResize_NN_8u_C1R_t) ( const uchar* src, int srcstep, CvSize srcsize, uchar* dst, int dststep, CvSize dstsize, int pix_size ); extern icvResize_NN_8u_C1R_t icvResize_NN_8u_C1R; extern "C" CvStatus icvResize_Bilinear_8u_C1R_f ( const uchar* src, int srcstep, CvSize srcsize, uchar* dst, int dststep, CvSize dstsize ); typedef CvStatus (* icvResize_Bilinear_8u_C1R_t) ( const uchar* src, int srcstep, CvSize srcsize, uchar* dst, int dststep, CvSize dstsize ); extern icvResize_Bilinear_8u_C1R_t icvResize_Bilinear_8u_C1R; extern "C" CvStatus icvResize_Bilinear_8u_C2R_f ( const uchar* src, int srcstep, CvSize srcsize, uchar* dst, int dststep, CvSize dstsize ); typedef CvStatus (* icvResize_Bilinear_8u_C2R_t) ( const uchar* src, int srcstep, CvSize srcsize, uchar* dst, int dststep, CvSize dstsize ); extern icvResize_Bilinear_8u_C2R_t icvResize_Bilinear_8u_C2R; extern "C" CvStatus icvResize_Bilinear_8u_C3R_f ( const uchar* src, int srcstep, CvSize srcsize, uchar* dst, int dststep, CvSize dstsize ); typedef CvStatus (* icvResize_Bilinear_8u_C3R_t) ( const uchar* src, int srcstep, CvSize srcsize, uchar* dst, int dststep, CvSize dstsize ); extern icvResize_Bilinear_8u_C3R_t icvResize_Bilinear_8u_C3R; extern "C" CvStatus icvResize_Bilinear_8u_C4R_f ( const uchar* src, int srcstep, CvSize srcsize, uchar* dst, int dststep, CvSize dstsize ); typedef CvStatus (* icvResize_Bilinear_8u_C4R_t) ( const uchar* src, int srcstep, CvSize srcsize, uchar* dst, int dststep, CvSize dstsize ); extern icvResize_Bilinear_8u_C4R_t icvResize_Bilinear_8u_C4R; # 432 "_optcv.h" extern "C" CvStatus icvCopy_8u_C1MR_f ( const uchar* src, int srcstep, uchar* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); typedef CvStatus (* icvCopy_8u_C1MR_t) ( const uchar* src, int srcstep, uchar* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); extern icvCopy_8u_C1MR_t icvCopy_8u_C1MR; extern "C" CvStatus icvSet_8u_C1MR_f ( uchar* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const uchar* scalar ); typedef CvStatus (* icvSet_8u_C1MR_t) ( uchar* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const uchar* scalar ); extern icvSet_8u_C1MR_t icvSet_8u_C1MR; extern "C" CvStatus icvCopy_8u_C2MR_f ( const ushort* src, int srcstep, ushort* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); typedef CvStatus (* icvCopy_8u_C2MR_t) ( const ushort* src, int srcstep, ushort* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); extern icvCopy_8u_C2MR_t icvCopy_8u_C2MR; extern "C" CvStatus icvSet_8u_C2MR_f ( ushort* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const ushort* scalar ); typedef CvStatus (* icvSet_8u_C2MR_t) ( ushort* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const ushort* scalar ); extern icvSet_8u_C2MR_t icvSet_8u_C2MR; extern "C" CvStatus icvCopy_8u_C3MR_f ( const uchar* src, int srcstep, uchar* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); typedef CvStatus (* icvCopy_8u_C3MR_t) ( const uchar* src, int srcstep, uchar* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); extern icvCopy_8u_C3MR_t icvCopy_8u_C3MR; extern "C" CvStatus icvSet_8u_C3MR_f ( uchar* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const uchar* scalar ); typedef CvStatus (* icvSet_8u_C3MR_t) ( uchar* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const uchar* scalar ); extern icvSet_8u_C3MR_t icvSet_8u_C3MR; extern "C" CvStatus icvCopy_16u_C2MR_f ( const int* src, int srcstep, int* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); typedef CvStatus (* icvCopy_16u_C2MR_t) ( const int* src, int srcstep, int* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); extern icvCopy_16u_C2MR_t icvCopy_16u_C2MR; extern "C" CvStatus icvSet_16u_C2MR_f ( int* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const int* scalar ); typedef CvStatus (* icvSet_16u_C2MR_t) ( int* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const int* scalar ); extern icvSet_16u_C2MR_t icvSet_16u_C2MR; extern "C" CvStatus icvCopy_16u_C3MR_f ( const ushort* src, int srcstep, ushort* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); typedef CvStatus (* icvCopy_16u_C3MR_t) ( const ushort* src, int srcstep, ushort* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); extern icvCopy_16u_C3MR_t icvCopy_16u_C3MR; extern "C" CvStatus icvSet_16u_C3MR_f ( ushort* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const ushort* scalar ); typedef CvStatus (* icvSet_16u_C3MR_t) ( ushort* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const ushort* scalar ); extern icvSet_16u_C3MR_t icvSet_16u_C3MR; extern "C" CvStatus icvCopy_32s_C2MR_f ( const int64* src, int srcstep, int64* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); typedef CvStatus (* icvCopy_32s_C2MR_t) ( const int64* src, int srcstep, int64* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); extern icvCopy_32s_C2MR_t icvCopy_32s_C2MR; extern "C" CvStatus icvSet_32s_C2MR_f ( int64* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const int64* scalar ); typedef CvStatus (* icvSet_32s_C2MR_t) ( int64* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const int64* scalar ); extern icvSet_32s_C2MR_t icvSet_32s_C2MR; extern "C" CvStatus icvCopy_32s_C3MR_f ( const int* src, int srcstep, int* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); typedef CvStatus (* icvCopy_32s_C3MR_t) ( const int* src, int srcstep, int* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); extern icvCopy_32s_C3MR_t icvCopy_32s_C3MR; extern "C" CvStatus icvSet_32s_C3MR_f ( int* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const int* scalar ); typedef CvStatus (* icvSet_32s_C3MR_t) ( int* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const int* scalar ); extern icvSet_32s_C3MR_t icvSet_32s_C3MR; extern "C" CvStatus icvCopy_64s_C2MR_f ( const int* src, int srcstep, int* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); typedef CvStatus (* icvCopy_64s_C2MR_t) ( const int* src, int srcstep, int* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); extern icvCopy_64s_C2MR_t icvCopy_64s_C2MR; extern "C" CvStatus icvSet_64s_C2MR_f ( int* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const int* scalar ); typedef CvStatus (* icvSet_64s_C2MR_t) ( int* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const int* scalar ); extern icvSet_64s_C2MR_t icvSet_64s_C2MR; extern "C" CvStatus icvCopy_64s_C3MR_f ( const int64* src, int srcstep, int64* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); typedef CvStatus (* icvCopy_64s_C3MR_t) ( const int64* src, int srcstep, int64* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); extern icvCopy_64s_C3MR_t icvCopy_64s_C3MR; extern "C" CvStatus icvSet_64s_C3MR_f ( int64* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const int64* scalar ); typedef CvStatus (* icvSet_64s_C3MR_t) ( int64* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const int64* scalar ); extern icvSet_64s_C3MR_t icvSet_64s_C3MR; extern "C" CvStatus icvCopy_64s_C4MR_f ( const int64* src, int srcstep, int64* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); typedef CvStatus (* icvCopy_64s_C4MR_t) ( const int64* src, int srcstep, int64* dst, int dststep, const uchar* mask, int maskstep, CvSize size ); extern icvCopy_64s_C4MR_t icvCopy_64s_C4MR; extern "C" CvStatus icvSet_64s_C4MR_f ( int64* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const int64* scalar ); typedef CvStatus (* icvSet_64s_C4MR_t) ( int64* dst, int dststep, const uchar* mask, int maskstep, CvSize size, const int64* scalar ); extern icvSet_64s_C4MR_t icvSet_64s_C4MR; extern "C" CvStatus icvCannyGetSize_f ( CvSize roiSize, int* bufferSize ); typedef CvStatus (* icvCannyGetSize_t) ( CvSize roiSize, int* bufferSize ); extern icvCannyGetSize_t icvCannyGetSize; extern "C" CvStatus icvCanny_16s8u_C1R_f ( const short* pSrcDx, int srcDxStep, const short* pSrcDy, int srcDyStep, uchar* pDstEdges, int dstEdgeStep, CvSize roiSize, float lowThresh, float highThresh, void* pBuffer ); typedef CvStatus (* icvCanny_16s8u_C1R_t) ( const short* pSrcDx, int srcDxStep, const short* pSrcDy, int srcDyStep, uchar* pDstEdges, int dstEdgeStep, CvSize roiSize, float lowThresh, float highThresh, void* pBuffer ); extern icvCanny_16s8u_C1R_t icvCanny_16s8u_C1R; # 459 "_optcv.h" extern "C" CvStatus icvBlurInitAlloc_f ( int roiWidth, int depth, int kerSize, struct CvFilterState** state ); typedef CvStatus (* icvBlurInitAlloc_t) ( int roiWidth, int depth, int kerSize, struct CvFilterState** state ); extern icvBlurInitAlloc_t icvBlurInitAlloc; extern "C" CvStatus icvBlur_8u16s_C1R_f ( const unsigned char* pSrc, int srcStep, short* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvBlur_8u16s_C1R_t) ( const unsigned char* pSrc, int srcStep, short* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvBlur_8u16s_C1R_t icvBlur_8u16s_C1R; extern "C" CvStatus icvBlur_8s16s_C1R_f ( const char* pSrc, int srcStep, short* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvBlur_8s16s_C1R_t) ( const char* pSrc, int srcStep, short* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvBlur_8s16s_C1R_t icvBlur_8s16s_C1R; extern "C" CvStatus icvBlur_32f_CnR_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvBlur_32f_CnR_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvBlur_32f_CnR_t icvBlur_32f_CnR; # 486 "_optcv.h" extern "C" CvStatus icvScharrInitAlloc_f ( int roiwidth, int depth, int origin, int dx, int dy, struct CvFilterState** state ); typedef CvStatus (* icvScharrInitAlloc_t) ( int roiwidth, int depth, int origin, int dx, int dy, struct CvFilterState** state ); extern icvScharrInitAlloc_t icvScharrInitAlloc; extern "C" CvStatus icvSobelInitAlloc_f ( int roiwidth, int depth, int kerSize, int origin, int dx, int dy, struct CvFilterState** state ); typedef CvStatus (* icvSobelInitAlloc_t) ( int roiwidth, int depth, int kerSize, int origin, int dx, int dy, struct CvFilterState** state ); extern icvSobelInitAlloc_t icvSobelInitAlloc; extern "C" CvStatus icvLaplaceInitAlloc_f ( int roiWidth, int depth, int kerSize, struct CvFilterState** state ); typedef CvStatus (* icvLaplaceInitAlloc_t) ( int roiWidth, int depth, int kerSize, struct CvFilterState** state ); extern icvLaplaceInitAlloc_t icvLaplaceInitAlloc; extern "C" CvStatus icvLaplace_8u16s_C1R_f ( const unsigned char* pSrc, int srcStep, short* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvLaplace_8u16s_C1R_t) ( const unsigned char* pSrc, int srcStep, short* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvLaplace_8u16s_C1R_t icvLaplace_8u16s_C1R; extern "C" CvStatus icvLaplace_8s16s_C1R_f ( const char* pSrc, int srcStep, short* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvLaplace_8s16s_C1R_t) ( const char* pSrc, int srcStep, short* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvLaplace_8s16s_C1R_t icvLaplace_8s16s_C1R; extern "C" CvStatus icvLaplace_32f_C1R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvLaplace_32f_C1R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvLaplace_32f_C1R_t icvLaplace_32f_C1R; extern "C" CvStatus icvSobel_8u16s_C1R_f ( const unsigned char* pSrc, int srcStep, short* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvSobel_8u16s_C1R_t) ( const unsigned char* pSrc, int srcStep, short* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvSobel_8u16s_C1R_t icvSobel_8u16s_C1R; extern "C" CvStatus icvSobel_8s16s_C1R_f ( const char* pSrc, int srcStep, short* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvSobel_8s16s_C1R_t) ( const char* pSrc, int srcStep, short* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvSobel_8s16s_C1R_t icvSobel_8s16s_C1R; extern "C" CvStatus icvSobel_32f_C1R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvSobel_32f_C1R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvSobel_32f_C1R_t icvSobel_32f_C1R; extern "C" CvStatus icvScharr_8u16s_C1R_f ( const unsigned char* pSrc, int srcStep, short* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvScharr_8u16s_C1R_t) ( const unsigned char* pSrc, int srcStep, short* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvScharr_8u16s_C1R_t icvScharr_8u16s_C1R; extern "C" CvStatus icvScharr_8s16s_C1R_f ( const char* pSrc, int srcStep, short* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvScharr_8s16s_C1R_t) ( const char* pSrc, int srcStep, short* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvScharr_8s16s_C1R_t icvScharr_8s16s_C1R; extern "C" CvStatus icvScharr_32f_C1R_f ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); typedef CvStatus (* icvScharr_32f_C1R_t) ( const float* pSrc, int srcStep, float* pDst, int dstStep, CvSize* roiSize, struct CvFilterState* state, int stage ); extern icvScharr_32f_C1R_t icvScharr_32f_C1R; # 238 "_cv.h" 2 # 1 "_cvutils.h" 1 # 194 "_cvutils.h" double icvInvSqrt64d( double val ); int icvCmpBlocksL1_8u_C1( const uchar* vec1, const uchar* vec2, int len ); int64 icvCmpBlocksL2_8u_C1( const uchar* vec1, const uchar* vec2, int len ); int64 icvCmpBlocksL2_8s_C1( const char* vec1, const char* vec2, int len ); double icvCmpBlocksL2_32f_C1( const float* vec1, const float* vec2, int len ); int64 icvSumPixels_8u_C1( const uchar* vec, int len ); int64 icvSumPixels_8s_C1( const char* vec, int len ); double icvSumPixels_32f_C1( const float* vec, int len ); int64 icvCrossCorr_8u_C1( const uchar* vec1, const uchar* vec2, int len ); int64 icvCrossCorr_8s_C1( const char* vec1, const char* vec2, int len ); double icvCrossCorr_32f_C1( const float* vec1, const float* vec2, int len ); CvStatus icvProjectPoints( int numPoints, CvPoint3D64d* objectPoints, CvVect64d rotVect, CvVect64d transVect, CvVect64d focalLength, CvPoint2D64d principalPoint, CvVect64d distortion, CvPoint2D64d* imagePoints, CvVect64d derivPointsRot, CvVect64d derivPointsTrans, CvVect64d derivPointsFocal, CvVect64d derivPointsPrincipal, CvVect64d derivPointsDistort); float icvFastArctan32f( float y, float x ); int icvInitLineIterator( const CvMat* mat, CvPoint pt1, CvPoint pt2, CvLineIterator* iterator, int connectivity, int left_to_right = 0 ); void icvSepConvSmall3_32f( float* src, int src_step, float* dst, int dst_step, CvSize src_size, const float* kx, const float* ky, float* buffer ); typedef struct CvFastDiv { unsigned delta, scale, divisor; } CvFastDiv; inline CvFastDiv icvFastDiv( int divisor ); inline CvFastDiv icvFastDiv( int divisor ) { CvFastDiv fastdiv; (static_cast (0)); uint64 temp = ((uint64)1 << 32)/divisor; fastdiv.divisor = divisor; fastdiv.delta = (unsigned)(((temp & 1) ^ 1) + divisor - 1); fastdiv.scale = (unsigned)((temp + 1) >> 1); return fastdiv; } # 283 "_cvutils.h" void icvCalcKer( char *kernel, int order, int size, int datatype, int origin ); void icvExtractColor( double color, int type, void* buffer ); void icvInitAccTable( CvFuncTable* tabfl, CvFuncTable* tabdb, CvBigFuncTable* masktab ); # 239 "_cv.h" 2 # 1 "_cvarr.h" 1 # 51 "_cvarr.h" # 1 "/usr/include/assert.h" 1 3 4 # 52 "_cvarr.h" 2 # 1 "/usr/include/stdio.h" 1 3 4 # 30 "/usr/include/stdio.h" 3 4 extern "C" { # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/stddef.h" 1 3 4 # 35 "/usr/include/stdio.h" 2 3 4 # 44 "/usr/include/stdio.h" 3 4 typedef struct _IO_FILE FILE; # 62 "/usr/include/stdio.h" 3 4 typedef struct _IO_FILE __FILE; # 72 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/libio.h" 1 3 4 # 32 "/usr/include/libio.h" 3 4 # 1 "/usr/include/_G_config.h" 1 3 4 # 14 "/usr/include/_G_config.h" 3 4 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/stddef.h" 1 3 4 # 354 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/stddef.h" 3 4 typedef unsigned int wint_t; # 15 "/usr/include/_G_config.h" 2 3 4 # 24 "/usr/include/_G_config.h" 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 48 "/usr/include/wchar.h" 3 4 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/stddef.h" 1 3 4 # 49 "/usr/include/wchar.h" 2 3 4 # 1 "/usr/include/bits/wchar.h" 1 3 4 # 51 "/usr/include/wchar.h" 2 3 4 # 76 "/usr/include/wchar.h" 3 4 typedef struct { int __count; union { wint_t __wch; char __wchb[4]; } __value; } __mbstate_t; # 25 "/usr/include/_G_config.h" 2 3 4 typedef struct { __off_t __pos; __mbstate_t __state; } _G_fpos_t; typedef struct { __off64_t __pos; __mbstate_t __state; } _G_fpos64_t; # 44 "/usr/include/_G_config.h" 3 4 # 1 "/usr/include/gconv.h" 1 3 4 # 28 "/usr/include/gconv.h" 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 48 "/usr/include/wchar.h" 3 4 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/stddef.h" 1 3 4 # 49 "/usr/include/wchar.h" 2 3 4 # 29 "/usr/include/gconv.h" 2 3 4 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/stddef.h" 1 3 4 # 32 "/usr/include/gconv.h" 2 3 4 enum { __GCONV_OK = 0, __GCONV_NOCONV, __GCONV_NODB, __GCONV_NOMEM, __GCONV_EMPTY_INPUT, __GCONV_FULL_OUTPUT, __GCONV_ILLEGAL_INPUT, __GCONV_INCOMPLETE_INPUT, __GCONV_ILLEGAL_DESCRIPTOR, __GCONV_INTERNAL_ERROR }; enum { __GCONV_IS_LAST = 0x0001, __GCONV_IGNORE_ERRORS = 0x0002 }; struct __gconv_step; struct __gconv_step_data; struct __gconv_loaded_object; struct __gconv_trans_data; typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *, int, int); typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); typedef int (*__gconv_init_fct) (struct __gconv_step *); typedef void (*__gconv_end_fct) (struct __gconv_step *); typedef int (*__gconv_trans_fct) (struct __gconv_step *, struct __gconv_step_data *, void *, __const unsigned char *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *); typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, __const unsigned char *, unsigned char *, unsigned char *); typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, size_t *); typedef int (*__gconv_trans_init_fct) (void **, const char *); typedef void (*__gconv_trans_end_fct) (void *); struct __gconv_trans_data { __gconv_trans_fct __trans_fct; __gconv_trans_context_fct __trans_context_fct; __gconv_trans_end_fct __trans_end_fct; void *__data; struct __gconv_trans_data *__next; }; struct __gconv_step { struct __gconv_loaded_object *__shlib_handle; __const char *__modname; int __counter; char *__from_name; char *__to_name; __gconv_fct __fct; __gconv_btowc_fct __btowc_fct; __gconv_init_fct __init_fct; __gconv_end_fct __end_fct; int __min_needed_from; int __max_needed_from; int __min_needed_to; int __max_needed_to; int __stateful; void *__data; }; struct __gconv_step_data { unsigned char *__outbuf; unsigned char *__outbufend; int __flags; int __invocation_counter; int __internal_use; __mbstate_t *__statep; __mbstate_t __state; struct __gconv_trans_data *__trans; }; typedef struct __gconv_info { size_t __nsteps; struct __gconv_step *__steps; __extension__ struct __gconv_step_data __data []; } *__gconv_t; # 45 "/usr/include/_G_config.h" 2 3 4 typedef union { struct __gconv_info __cd; struct { struct __gconv_info __cd; struct __gconv_step_data __data; } __combined; } _G_iconv_t; typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); # 33 "/usr/include/libio.h" 2 3 4 # 53 "/usr/include/libio.h" 3 4 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/stdarg.h" 1 3 4 # 43 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 54 "/usr/include/libio.h" 2 3 4 # 163 "/usr/include/libio.h" 3 4 struct _IO_jump_t; struct _IO_FILE; # 173 "/usr/include/libio.h" 3 4 typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 196 "/usr/include/libio.h" 3 4 }; enum __codecvt_result { __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv }; # 264 "/usr/include/libio.h" 3 4 struct _IO_FILE { int _flags; char* _IO_read_ptr; char* _IO_read_end; char* _IO_read_base; char* _IO_write_base; char* _IO_write_ptr; char* _IO_write_end; char* _IO_buf_base; char* _IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _flags2; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; # 312 "/usr/include/libio.h" 3 4 __off64_t _offset; void *__pad1; void *__pad2; int _mode; char _unused2[15 * sizeof (int) - 2 * sizeof (void *)]; }; struct _IO_FILE_plus; extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; # 351 "/usr/include/libio.h" 3 4 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, size_t __n); typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); typedef int __io_close_fn (void *__cookie); typedef __io_read_fn cookie_read_function_t; typedef __io_write_fn cookie_write_function_t; typedef __io_seek_fn cookie_seek_function_t; typedef __io_close_fn cookie_close_function_t; typedef struct { __io_read_fn *read; __io_write_fn *write; __io_seek_fn *seek; __io_close_fn *close; } _IO_cookie_io_functions_t; typedef _IO_cookie_io_functions_t cookie_io_functions_t; struct _IO_cookie_file; extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, void *__cookie, _IO_cookie_io_functions_t __fns); extern "C" { extern int __underflow (_IO_FILE *) throw (); extern int __uflow (_IO_FILE *) throw (); extern int __overflow (_IO_FILE *, int) throw (); extern wint_t __wunderflow (_IO_FILE *) throw (); extern wint_t __wuflow (_IO_FILE *) throw (); extern wint_t __woverflow (_IO_FILE *, wint_t) throw (); # 433 "/usr/include/libio.h" 3 4 extern int _IO_getc (_IO_FILE *__fp) throw (); extern int _IO_putc (int __c, _IO_FILE *__fp) throw (); extern int _IO_feof (_IO_FILE *__fp) throw (); extern int _IO_ferror (_IO_FILE *__fp) throw (); extern int _IO_peekc_locked (_IO_FILE *__fp) throw (); extern void _IO_flockfile (_IO_FILE *) throw (); extern void _IO_funlockfile (_IO_FILE *) throw (); extern int _IO_ftrylockfile (_IO_FILE *) throw (); # 463 "/usr/include/libio.h" 3 4 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, __gnuc_va_list, int *__restrict) throw (); extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, __gnuc_va_list) throw (); extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) throw (); extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) throw (); extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) throw (); extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) throw (); extern void _IO_free_backup_area (_IO_FILE *) throw (); # 521 "/usr/include/libio.h" 3 4 } # 73 "/usr/include/stdio.h" 2 3 4 typedef __gnuc_va_list va_list; # 86 "/usr/include/stdio.h" 3 4 typedef _G_fpos_t fpos_t; typedef _G_fpos64_t fpos64_t; # 138 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 # 139 "/usr/include/stdio.h" 2 3 4 extern struct _IO_FILE *stdin; extern struct _IO_FILE *stdout; extern struct _IO_FILE *stderr; extern int remove (__const char *__filename) throw (); extern int rename (__const char *__old, __const char *__new) throw (); extern FILE *tmpfile (void); # 174 "/usr/include/stdio.h" 3 4 extern FILE *tmpfile64 (void); extern char *tmpnam (char *__s) throw (); extern char *tmpnam_r (char *__s) throw (); # 196 "/usr/include/stdio.h" 3 4 extern char *tempnam (__const char *__dir, __const char *__pfx) throw () __attribute__ ((__malloc__)); extern int fclose (FILE *__stream); extern int fflush (FILE *__stream); # 221 "/usr/include/stdio.h" 3 4 extern int fflush_unlocked (FILE *__stream); # 231 "/usr/include/stdio.h" 3 4 extern int fcloseall (void); extern FILE *fopen (__const char *__restrict __filename, __const char *__restrict __modes); extern FILE *freopen (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream); # 262 "/usr/include/stdio.h" 3 4 extern FILE *fopen64 (__const char *__restrict __filename, __const char *__restrict __modes); extern FILE *freopen64 (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream); extern FILE *fdopen (int __fd, __const char *__modes) throw (); extern FILE *fopencookie (void *__restrict __magic_cookie, __const char *__restrict __modes, _IO_cookie_io_functions_t __io_funcs) throw (); extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) throw (); extern FILE *open_memstream (char **__restrict __bufloc, size_t *__restrict __sizeloc) throw (); extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) throw (); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) throw (); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) throw (); extern void setlinebuf (FILE *__stream) throw (); extern int fprintf (FILE *__restrict __stream, __const char *__restrict __format, ...); extern int printf (__const char *__restrict __format, ...); extern int sprintf (char *__restrict __s, __const char *__restrict __format, ...) throw (); extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg); extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); extern int vsprintf (char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) throw (); extern int snprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, ...) throw () __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, __gnuc_va_list __arg) throw () __attribute__ ((__format__ (__printf__, 3, 0))); extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f, __gnuc_va_list __arg) throw () __attribute__ ((__format__ (__printf__, 2, 0))); extern int __asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...) throw () __attribute__ ((__format__ (__printf__, 2, 3))); extern int asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...) throw () __attribute__ ((__format__ (__printf__, 2, 3))); extern int vdprintf (int __fd, __const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 2, 0))); extern int dprintf (int __fd, __const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); extern int fscanf (FILE *__restrict __stream, __const char *__restrict __format, ...); extern int scanf (__const char *__restrict __format, ...); extern int sscanf (__const char *__restrict __s, __const char *__restrict __format, ...) throw (); extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))); extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 1, 0))); extern int vsscanf (__const char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) throw () __attribute__ ((__format__ (__scanf__, 2, 0))); extern int fgetc (FILE *__stream); extern int getc (FILE *__stream); extern int getchar (void); # 454 "/usr/include/stdio.h" 3 4 extern int getc_unlocked (FILE *__stream); extern int getchar_unlocked (void); # 465 "/usr/include/stdio.h" 3 4 extern int fgetc_unlocked (FILE *__stream); extern int fputc (int __c, FILE *__stream); extern int putc (int __c, FILE *__stream); extern int putchar (int __c); # 498 "/usr/include/stdio.h" 3 4 extern int fputc_unlocked (int __c, FILE *__stream); extern int putc_unlocked (int __c, FILE *__stream); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream); extern int putw (int __w, FILE *__stream); extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream); extern char *gets (char *__s); # 543 "/usr/include/stdio.h" 3 4 extern char *fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream); # 559 "/usr/include/stdio.h" 3 4 extern __ssize_t __getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream); extern __ssize_t getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream); extern __ssize_t getline (char **__restrict __lineptr, size_t *__restrict __n, FILE *__restrict __stream); extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); extern int puts (__const char *__s); extern int ungetc (int __c, FILE *__stream); extern size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern size_t fwrite (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s); # 620 "/usr/include/stdio.h" 3 4 extern int fputs_unlocked (__const char *__restrict __s, FILE *__restrict __stream); # 631 "/usr/include/stdio.h" 3 4 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern int fseek (FILE *__stream, long int __off, int __whence); extern long int ftell (FILE *__stream); extern void rewind (FILE *__stream); # 667 "/usr/include/stdio.h" 3 4 extern int fseeko (FILE *__stream, __off_t __off, int __whence); extern __off_t ftello (FILE *__stream); # 686 "/usr/include/stdio.h" 3 4 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); extern int fsetpos (FILE *__stream, __const fpos_t *__pos); # 709 "/usr/include/stdio.h" 3 4 extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); extern __off64_t ftello64 (FILE *__stream); extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos); extern void clearerr (FILE *__stream) throw (); extern int feof (FILE *__stream) throw (); extern int ferror (FILE *__stream) throw (); extern void clearerr_unlocked (FILE *__stream) throw (); extern int feof_unlocked (FILE *__stream) throw (); extern int ferror_unlocked (FILE *__stream) throw (); extern void perror (__const char *__s); # 1 "/usr/include/bits/sys_errlist.h" 1 3 4 # 27 "/usr/include/bits/sys_errlist.h" 3 4 extern int sys_nerr; extern __const char *__const sys_errlist[]; extern int _sys_nerr; extern __const char *__const _sys_errlist[]; # 748 "/usr/include/stdio.h" 2 3 4 extern int fileno (FILE *__stream) throw (); extern int fileno_unlocked (FILE *__stream) throw (); # 767 "/usr/include/stdio.h" 3 4 extern FILE *popen (__const char *__command, __const char *__modes); extern int pclose (FILE *__stream); extern char *ctermid (char *__s) throw (); extern char *cuserid (char *__s); struct obstack; extern int obstack_printf (struct obstack *__restrict __obstack, __const char *__restrict __format, ...) throw () __attribute__ ((__format__ (__printf__, 2, 3))); extern int obstack_vprintf (struct obstack *__restrict __obstack, __const char *__restrict __format, __gnuc_va_list __args) throw () __attribute__ ((__format__ (__printf__, 2, 0))); extern void flockfile (FILE *__stream) throw (); extern int ftrylockfile (FILE *__stream) throw (); extern void funlockfile (FILE *__stream) throw (); # 828 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio.h" 1 3 4 # 33 "/usr/include/bits/stdio.h" 3 4 inline int vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) { return vfprintf (stdout, __fmt, __arg); } inline int getchar (void) { return _IO_getc (stdin); } inline int getc_unlocked (FILE *__fp) { return ((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } inline int getchar_unlocked (void) { return ((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); } inline int putchar (int __c) { return _IO_putc (__c, stdout); } inline int fputc_unlocked (int __c, FILE *__stream) { return (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } inline int putc_unlocked (int __c, FILE *__stream) { return (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } inline int putchar_unlocked (int __c) { return (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); } inline __ssize_t getline (char **__lineptr, size_t *__n, FILE *__stream) { return __getdelim (__lineptr, __n, '\n', __stream); } inline int feof_unlocked (FILE *__stream) throw () { return (((__stream)->_flags & 0x10) != 0); } inline int ferror_unlocked (FILE *__stream) throw () { return (((__stream)->_flags & 0x20) != 0); } # 829 "/usr/include/stdio.h" 2 3 4 } # 55 "_cvarr.h" 2 void cvCheckMatHeader( const CvMat* arr, const char* arrname, const char* file, int line ); void cvScalarToMat( CvScalar* scalar, int flags, CvMat* arr, void* data ); extern const char icvDepthToType[]; extern const int icvTypeToDepth[]; # 86 "_cvarr.h" extern const int icvPixSize[]; extern const float icv8to32f[]; extern const uchar icvSaturate8u[]; extern const char icvSaturate8s[]; inline CvSize icvGetMatSize( const CvMat* mat ); inline CvSize icvGetMatSize( const CvMat* mat ) { CvSize size = { mat->width, mat->height }; return size; } # 1 "_cvfuncn.h" 1 # 11 "_cvfuncn.h" typedef struct CvFuncTable { void* fn_2d[5 + 1]; } CvFuncTable; typedef struct CvBigFuncTable { void* fn_2d[31 +1]; } CvBigFuncTable; typedef struct CvBtFuncTable { void* fn_2d[33]; } CvBtFuncTable; typedef CvStatus ( *CvArithmBinMaskFunc2D)( const void* src1, int step1, void* dst, int step, const void* mask, int maskstep, CvSize size, int cn ); typedef CvStatus ( *CvArithmUniMaskFunc2D)( void* dst, int step, const void* mask, int maskstep, CvSize, const void* val, int cn ); typedef CvStatus ( *CvFunc1D_1A1P)( void* arr, int len, void* param ); typedef CvStatus ( *CvFunc1D_2A1P)( void* arr1, void* arr2, int len, void* param); typedef CvStatus ( *CvFunc1D_3A)( void* arr1, void* arr2, void* arr3, int len ); typedef CvStatus ( *CvFunc2D_1A)(void* arr, int step, CvSize size); typedef CvStatus ( *CvFunc2D_1A1P)(void* arr, int step, CvSize size, void* param); typedef CvStatus ( *CvFunc2DnC_1A1P)( void* arr, int step, CvSize size, int cn, int coi, void* param ); typedef CvStatus ( *CvFunc2DnC_1A1P)( void* arr, int step, CvSize size, int cn, int coi, void* param ); typedef CvStatus ( *CvFunc2D_1A2P)( void* arr, int step, CvSize size, void* param1, void* param2 ); typedef CvStatus ( *CvFunc2DnC_1A2P)( void* arr, int step, CvSize size, int cn, int coi, void* param1, void* param2 ); typedef CvStatus ( *CvFunc2D_1A4P)( void* arr, int step, CvSize size, void* param1, void* param2, void* param3, void* param4 ); typedef CvStatus ( *CvFunc2DnC_1A4P)( void* arr, int step, CvSize size, int cn, int coi, void* param1, void* param2, void* param3, void* param4 ); typedef CvStatus ( *CvFunc2D_2A)( void* arr0, int step0, void* arr1, int step1, CvSize size ); typedef CvStatus ( *CvFunc2D_2A1P)( void* arr0, int step0, void* arr1, int step1, CvSize size, void* param ); typedef CvStatus ( *CvFunc2DnC_2A1P)( void* arr0, int step0, void* arr1, int step1, CvSize size, int cn, int coi, void* param ); typedef CvStatus ( *CvFunc2DnC_2A1P)( void* arr0, int step0, void* arr1, int step1, CvSize size, int cn, int coi, void* param ); typedef CvStatus ( *CvFunc2D_2A2P)( void* arr0, int step0, void* arr1, int step1, CvSize size, void* param1, void* param2 ); typedef CvStatus ( *CvFunc2DnC_2A2P)( void* arr0, int step0, void* arr1, int step1, CvSize size, int cn, int coi, void* param1, void* param2 ); typedef CvStatus ( *CvFunc2D_2A1P1I)( void* arr0, int step0, void* arr1, int step1, CvSize size, void* param, int flag ); typedef CvStatus ( *CvFunc2D_2A4P)( void* arr0, int step0, void* arr1, int step1, CvSize size, void* param1, void* param2, void* param3, void* param4 ); typedef CvStatus ( *CvFunc2DnC_2A4P)( void* arr0, int step0, void* arr1, int step1, CvSize size, int cn, int coi, void* param1, void* param2, void* param3, void* param4 ); typedef CvStatus ( *CvFunc2D_3A)( void* arr0, int step0, void* arr1, int step1, void* arr2, int step2, CvSize size ); typedef CvStatus ( *CvFunc2D_3A1P)( void* arr0, int step0, void* arr1, int step1, void* arr2, int step2, CvSize size, void* param ); typedef CvStatus ( *CvFunc2DnC_3A1P)( void* arr0, int step0, void* arr1, int step1, void* arr2, int step2, CvSize size, int cn, int coi, void* param ); typedef CvStatus ( *CvFunc2D_4A)( void* arr0, int step0, void* arr1, int step1, void* arr2, int step2, void* arr3, int step3, CvSize size ); typedef CvStatus ( *CvFunc0D)( const void* src, void* dst, int param ); # 106 "_cvarr.h" 2 inline CvDataType icvDepthToDataType( int type ); inline CvDataType icvDepthToDataType( int type ) { return (CvDataType)( ((((int)cv8u)|((int)cv8s << 4)|((int)cv16s << 8)| ((int)cv32s << 12)|((int)cv32f << 16)| ((int)cv64f << 20)) >> ((type) & 7)*4) & 15); } typedef struct CvMatNDIterator { int count; int dims; CvSize size; int stack[16]; uchar* ptr[10]; CvMatND* hdr[10]; } CvMatNDIterator; int icvPrepareArrayOp( int count, CvArr** arrs, const CvArr* mask, CvMatND* stubs, CvMatNDIterator* iterator, int flags = 0 ); int icvNextMatNDSlice( CvMatNDIterator* iterator ); uchar* icvGetNodePtr( CvSparseMat* mat, int* idx, int* _type = 0, int create_node = 0, unsigned* precalc_hashval = 0); void icvDeleteNode( CvSparseMat* mat, int* idx, unsigned* precalc_hashval = 0); # 240 "_cv.h" 2 # 1 "_cvmatrix.h" 1 # 100 "_cvmatrix.h" inline double icvSum_32f( const float* src, int len ) { double s = 0; for( int i = 0; i < len; i++ ) s += src[i]; ; return s; } inline double icvDotProduct_32f( const float* src1, const float* src2, int len ) { double s = 0; for( int i = 0; i < len; i++ ) s += src1[i]*src2[i]; ; return s; } inline double icvDotProduct_64f( const double* src1, const double* src2, int len ) { double s = 0; for( int i = 0; i < len; i++ ) s += src1[i]*src2[i]; ; return s; } inline void icvMulVectors_32f( const float* src1, const float* src2, float* dst, int len ) { int i; for( i = 0; i < len; i++ ) dst[i] = src1[i] * src2[i]; ; } inline void icvMulVectors_64d( const double* src1, const double* src2, double* dst, int len ) { int i; for( i = 0; i < len; i++ ) dst[i] = src1[i] * src2[i]; ; } inline void icvAddVector_32f( const float* src1, const float* src2, float* dst, int len ) { int i; for( i = 0; i < len; i++ ) dst[i] = src1[i] + src2[i]; ; } inline void icvAddVector_64d( const double* src1, const double* src2, double* dst, int len ) { int i; for( i = 0; i < len; i++ ) dst[i] = src1[i] + src2[i]; ; } inline void icvSubVector_32f( const float* src1, const float* src2, float* dst, int len ) { int i; for( i = 0; i < len; i++ ) dst[i] = src1[i] - src2[i]; ; } inline void icvSubVector_64d( const double* src1, const double* src2, double* dst, int len ) { int i; for( i = 0; i < len; i++ ) dst[i] = src1[i] - src2[i]; ; } # 202 "_cvmatrix.h" inline void icvSetIdentity_32f( float* dst, int w, int h ) { int i, len = ((w) > (h) ? (h) : (w)); memset((dst),0,(h)*(w)*sizeof(float)); for( i = 0; len--; i += w+1 ) dst[i] = 1.f; } inline void icvSetIdentity_64d( double* dst, int w, int h ) { int i, len = ((w) > (h) ? (h) : (w)); memset((dst),0,(h)*(w)*sizeof(double)); for( i = 0; len--; i += w+1 ) dst[i] = 1.; } inline void icvTrace_32f( const float* src, int w, int h, float* trace ) { int i, len = ((w) > (h) ? (h) : (w)); double sum = 0; for( i = 0; len--; i += w+1 ) sum += src[i]; *trace = (float)sum; ; } inline void icvTrace_64d( const double* src, int w, int h, double* trace ) { int i, len = ((w) > (h) ? (h) : (w)); double sum = 0; for( i = 0; len--; i += w+1 ) sum += src[i]; *trace = sum; ; } inline void icvScaleVector_32f( const float* src, float* dst, int len, double scale ) { int i; for( i = 0; i < len; i++ ) dst[i] = (float)(src[i]*scale); ; } inline void icvScaleVector_64d( const double* src, double* dst, int len, double scale ) { int i; for( i = 0; i < len; i++ ) dst[i] = src[i]*scale; ; } inline void icvTransposeMatrix_32f( const float* src, int w, int h, float* dst ) { int i, j; for( i = 0; i < w; i++ ) for( j = 0; j < h; j++ ) *dst++ = src[j*w + i]; ; } inline void icvTransposeMatrix_64d( const double* src, int w, int h, double* dst ) { int i, j; for( i = 0; i < w; i++ ) for( j = 0; j < h; j++ ) *dst++ = src[j*w + i]; ; } inline void icvDetMatrix3x3_64d( const double* mat, double* det ) { *det = mat[(0)*3 + (0)]*(mat[(1)*3 + (1)]*mat[(2)*3 + (2)] - mat[(1)*3 + (2)]*mat[(2)*3 + (1)]) - mat[(0)*3 + (1)]*(mat[(1)*3 + (0)]*mat[(2)*3 + (2)] - mat[(1)*3 + (2)]*mat[(2)*3 + (0)]) + mat[(0)*3 + (2)]*(mat[(1)*3 + (0)]*mat[(2)*3 + (1)] - mat[(1)*3 + (1)]*mat[(2)*3 + (0)]); ; } inline void icvMulMatrix_32f( const float* src1, int w1, int h1, const float* src2, int w2, int h2, float* dst ) { int i, j, k; if( w1 != h2 ) { (static_cast (0)); return; } for( i = 0; i < h1; i++, src1 += w1, dst += w2 ) for( j = 0; j < w2; j++ ) { double s = 0; for( k = 0; k < w1; k++ ) s += src1[k]*src2[j + k*w2]; dst[j] = (float)s; } ; } inline void icvMulMatrix_64d( const double* src1, int w1, int h1, const double* src2, int w2, int h2, double* dst ) { int i, j, k; if( w1 != h2 ) { (static_cast (0)); return; } for( i = 0; i < h1; i++, src1 += w1, dst += w2 ) for( j = 0; j < w2; j++ ) { double s = 0; for( k = 0; k < w1; k++ ) s += src1[k]*src2[j + k*w2]; dst[j] = s; } ; } # 241 "_cv.h" 2 # 328 "_cv.h" inline void* icvAlignPtr( void* ptr, int align = 32 ); inline void* icvAlignPtr( void* ptr, int align ) { return (void*)( ((size_t)ptr + align - 1) & -align ); } inline int icvAlign( int size, int align ); inline int icvAlign( int size, int align ) { return (size + align - 1) & -align; } # 351 "_cv.h" void icvCheckImageHeader( const IplImage* image, const char* img_name ); void icvCheckMaskImageHeader( const IplImage* image, const char* img_name ); CvTermCriteria icvCheckTermCriteria( CvTermCriteria criteria, double default_eps, int max_iters ); inline bool icvIsRectInRect( CvRect subrect, CvRect mainrect ); inline bool icvIsRectInRect( CvRect subrect, CvRect mainrect ) { return subrect.x >= mainrect.x && subrect.y >= mainrect.y && subrect.x + subrect.width <= mainrect.x + mainrect.width && subrect.y + subrect.height <= mainrect.y + mainrect.height; } inline int icvGetBtPix( const IplImage* image ); inline int icvGetBtPix( const IplImage* image ) { return ((image->depth & 255)>>3)*image->nChannels; } inline bool operator == (CvSize size1, CvSize size2 ); inline bool operator == (CvSize size1, CvSize size2 ) { return size1.width == size2.width && size1.height == size2.height; } inline bool operator != (CvSize size1, CvSize size2 ); inline bool operator != (CvSize size1, CvSize size2 ) { return size1.width != size2.width || size1.height != size2.height; } inline int icvGetImageCOI( const IplImage* image ); inline int icvGetImageCOI( const IplImage* image ) { return image->roi ? image->roi->coi : 0; } inline IplROI icvMakeROI( int x, int y, int width, int height, int coi = 0 ); inline IplROI icvMakeROI( int x, int y, int width, int height, int coi ) { IplROI roi = { coi, x, y, width, height }; return roi; } # 42 "cvfundam.cpp" 2 # 1 "_cvvm.h" 1 # 49 "_cvvm.h" typedef struct CvMatrix4 { float m[4][4]; } CvMatrix4; # 65 "_cvvm.h" CvStatus icvMakeScanlinesLengths( int* scanlines, int numlines, int* lens); inline int icvGetColor(uchar* valueRGB); CvStatus icvFindRunsInOneImage( int numLines, uchar* prewarp, int* line_lens, int* runs, int* num_runs); CvStatus icvMorphEpilines8uC3( uchar* first_pix, uchar* second_pix, uchar* dst_pix, float alpha, int* first, int first_runs, int* second, int second_runs, int* first_corr, int* second_corr, int dst_len); CvStatus icvDynamicCorrespond( int* first, int first_runs, int* second, int second_runs, int* first_corr, int* second_corr ); CvStatus icvFetchLine8uC3R( uchar* src, int src_step, uchar* dst, int* dst_num, CvSize src_size, CvPoint start, CvPoint end ); CvStatus icvDrawLine8uC3R( uchar* src, int src_num, uchar* dst, int dst_step, CvSize dst_size, CvPoint start, CvPoint end ); CvStatus icvPoint7( int* points1, int* points2, double* F, int* amount ); CvStatus icvCubic( double a2, double a1, double a0, double* squares ); double icvDet( double* M ); double icvMinor( double* M, int x, int y ); int icvGaussMxN( double *A, double *B, int M, int N, double **solutions ); CvStatus icvGetCoef( double *f1, double *f2, double *a2, double *a1, double *a0 ); CvStatus icvGetCoefficient( CvMatrix3* matrix, CvSize imgSize, int* scanlines_1, int* scanlines_2, int* numlines); CvStatus icvGetCoefficientDefault( CvMatrix3* matrix, CvSize imgSize, int* scanlines_1, int* scanlines_2, int* numlines); CvStatus icvGetCoefficientStereo( CvMatrix3* matrix, CvSize imgSize, float* l_epipole, float* r_epipole, int* scanlines_1, int* scanlines_2, int* numlines ); CvStatus icvGetCoefficientOrto( CvMatrix3* matrix, CvSize imgSize, int* scanlines_1, int* scanlines_2, int* numlines); CvStatus icvGetCrossEpilineFrame( CvSize imgSize, float* epiline, int* x1, int* y1, int* x2, int* y2 ); CvStatus icvBuildScanlineLeftStereo( CvSize imgSize, CvMatrix3* matrix, float* l_epipole, float* l_angle, float l_radius, int* scanlines_1, int* scanlines_2, int* numlines); CvStatus icvBuildScanlineRightStereo( CvSize imgSize, CvMatrix3* matrix, float* r_epipole, float* r_angle, float r_radius, int* scanlines_1, int* scanlines_2, int* numlines); CvStatus icvGetStartEnd1( CvMatrix3* matrix, CvSize imgSize, float* l_start_end, float* r_start_end ); CvStatus icvGetStartEnd2( CvMatrix3* matrix, CvSize imgSize, float* l_start_end, float* r_start_end ); CvStatus icvGetStartEnd3( CvMatrix3* matrix, CvSize imgSize, float* l_start_end, float* r_start_end ); CvStatus icvGetStartEnd4( CvMatrix3* matrix, CvSize imgSize, float* l_start_end, float* r_start_end ); CvStatus icvBuildScanlineLeft( CvMatrix3* matrix, CvSize imgSize, int* scanlines_1, int* scanlines_2, float* l_start_end, int* numlines ); CvStatus icvBuildScanlineRight( CvMatrix3* matrix, CvSize imgSize, int* scanlines_1, int* scanlines_2, float* r_start_end, int* numlines ); CvStatus icvLMedS7( int* points1, int* points2, CvMatrix3* matrix); CvStatus icvLMedS( int* points1, int* points2, int numPoints, CvMatrix3* fundamentalMatrix ); # 263 "_cvvm.h" void icvChoose7( int* ml, int* mr, int num, int* ml7, int* mr7 ); double icvMedian( int* ml, int* mr, int num, double* F ); int icvBoltingPoints( int* ml, int* mr, int num, double* F, double Mj, int* *new_ml, int* *new_mr, int* new_num); CvStatus icvPoints8( int* ml, int* mr, int num, double* F ); CvStatus icvRank2Constraint( double* F ); CvStatus icvSort( double* array, int length ); double icvAnalyticPoints8( double* A, int num, double* F ); int icvSingularValueDecomposition( int M, int N, double* A, double* W, int get_U, double* U, int get_V, double* V ); # 43 "cvfundam.cpp" 2 int icvComputeFundamental7Point(CvMat* points1,CvMat* points2, CvMat* fundMatr); int icvComputeFundamental8Point(CvMat* points1,CvMat* points2, CvMat* fundMatr); int icvComputeFundamentalRANSAC( CvMat* points1,CvMat* points2, CvMat* fundMatr, double threshold, double p, CvMat* status); int icvComputeFundamentalLMedS( CvMat* points1,CvMat* points2, CvMat* fundMatr, double threshold, double p, CvMat* status); void icvMakeFundamentalSingular(CvMat* fundMatr); void icvNormalizeFundPoints( CvMat* points, CvMat* transfMatr); int icvSolveCubic(CvMat* coeffs,CvMat* result); void icvMake2DPoints(CvMat* srcPoint,CvMat* dstPoint); void icvMake3DPoints(CvMat* srcPoint,CvMat* dstPoint); void icvComputeCorrespondEpilines(CvMat* points,int pointImageID,CvMat* fundMatr,CvMat* corrLines); int icvCubicV( double a2, double a1, double a0, double *squares ); # 110 "cvfundam.cpp" int cvFindFundamentalMat( CvMat* points1, CvMat* points2, CvMat* fundMatr, int method, double param1, double param2, CvMat* status) { int result = -1; CvMat* wpoints[2]={0,0}; CvMat* tmpPoints[2]={0,0}; static char icvFuncName[] = "icvComputeFundamentalMat"; {; tmpPoints[0] = points1; tmpPoints[1] = points2; int numRealPoints[2]; int numPoints = 0; { int i; for( i = 0; i < 2; i++ ) { int realW,realH; realW = tmpPoints[i]->cols; realH = tmpPoints[i]->rows; int goodW,goodH; goodW = realW > realH ? realW : realH; goodH = realW < realH ? realW : realH; if( goodH != 2 && goodH != 3 ) { { cvError( (-207), icvFuncName, "Number of coordinates of points must be 2 or 3", "cvfundam.cpp", 146 ); goto exit; }; } wpoints[i] = cvCreateMat(2,goodW,5); numRealPoints[i] = goodW; if( realW != goodW ) { CvMat* tmpPointMatr = 0; tmpPointMatr = cvCreateMat(goodH,goodW,5); cvTranspose(tmpPoints[i],tmpPointMatr); cvMake2DPoints(tmpPointMatr,wpoints[i]); cvReleaseMat(&tmpPointMatr); } else { cvMake2DPoints(tmpPoints[i],wpoints[i]); } } if( numRealPoints[0] != numRealPoints[1] ) { { cvError( (-207), icvFuncName, "Number of points must be the same", "cvfundam.cpp", 171 ); goto exit; }; } numPoints = numRealPoints[0]; } if( status && (method == 1 || method == 2 )) { if( !(((status) != __null && (((const CvMat*)(status))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(status))->data.ptr != __null) ) { { cvError( (-207), icvFuncName, "status is not a matrix", "cvfundam.cpp", 183 ); goto exit; }; } if( !(((points1) != __null && (((const CvMat*)(points1))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(points1))->data.ptr != __null)) { { cvError( (-207), icvFuncName, "Points1 not a matrix", "cvfundam.cpp", 189 ); goto exit; }; } if( status->cols != numPoints || status->rows != 1 ) { { cvError( (-207), icvFuncName, "Size of status must be 1xN", "cvfundam.cpp", 194 ); goto exit; }; } int i; for( i = 0; i < status->cols; i++) { cvmSet(status,0,i,1.0); } } switch( method ) { case 1: result = icvComputeFundamental7Point(wpoints[1], wpoints[0], fundMatr);break; case 2: result = icvComputeFundamental8Point(wpoints[1],wpoints[0], fundMatr);break; case 4 : result = icvComputeFundamentalLMedS( wpoints[1],wpoints[0], fundMatr, param1,param2,status);break; case 3: result = icvComputeFundamentalRANSAC( wpoints[1],wpoints[0], fundMatr, param1,param2,status);break; } goto exit; exit: ; }; cvReleaseMat(&wpoints[0]); cvReleaseMat(&wpoints[1]); return result; } int icvComputeFundamental7Point(CvMat* points1, CvMat* points2, CvMat* fundMatr) { CvMat* squares = 0; int numberRoots = 0; static char icvFuncName[] = "icvComputeFundamental7Point"; {; if( !(((points1) != __null && (((const CvMat*)(points1))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(points1))->data.ptr != __null) || !(((points2) != __null && (((const CvMat*)(points2))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(points2))->data.ptr != __null)|| !(((fundMatr) != __null && (((const CvMat*)(fundMatr))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(fundMatr))->data.ptr != __null)) { { cvError( (-207), icvFuncName, "Not a matrixes", "cvfundam.cpp", 245 ); goto exit; }; } if( !((((points1)->type ^ (points2)->type) & 31) == 0)) { { cvError( (-209), icvFuncName, "Data types of points unmatched", "cvfundam.cpp", 250 ); goto exit; }; } int numPoint; numPoint = points1->cols; int type; type = points1->type; if( numPoint != points2->cols ) { { cvError( (-201), icvFuncName, "Number of points not equal", "cvfundam.cpp", 261 ); goto exit; }; } if( numPoint != 7 ) { { cvError( (-201), icvFuncName, "Number of points must be 7", "cvfundam.cpp", 265 ); goto exit; }; } if( points1->rows != 2 && points1->rows != 3 ) { { cvError( (-201), icvFuncName, "Number of coordinates of points1 must be 2 or 3", "cvfundam.cpp", 270 ); goto exit; }; } if( points2->rows != 2 && points2->rows != 3 ) { { cvError( (-201), icvFuncName, "Number of coordinates of points2 must be 2 or 3", "cvfundam.cpp", 275 ); goto exit; }; } if( ( fundMatr->rows != 3 && fundMatr->rows != 9 )|| fundMatr->cols != 3 ) { { cvError( (-201), icvFuncName, "Size of fundMatr must be 3x3 or 9x3", "cvfundam.cpp", 280 ); goto exit; }; } squares = cvCreateMat(2,3,5); double wPoints1_dat[2*7]; double wPoints2_dat[2*7]; CvMat wPoints1; CvMat wPoints2; wPoints1 = cvMat(2,7,5,wPoints1_dat); wPoints2 = cvMat(2,7,5,wPoints2_dat); icvMake2DPoints(points1,&wPoints1); icvMake2DPoints(points2,&wPoints2); int currPoint; CvMat matrU; double matrU_dat[7*9]; matrU = cvMat(7,9,5,matrU_dat); double* currDataLine; currDataLine = matrU_dat; for( currPoint = 0; currPoint < 7; currPoint++ ) { double x1,y1,x2,y2; x1 = cvmGet(&wPoints1,0,currPoint); y1 = cvmGet(&wPoints1,1,currPoint); x2 = cvmGet(&wPoints2,0,currPoint); y2 = cvmGet(&wPoints2,1,currPoint); currDataLine[0] = x1*x2; currDataLine[1] = x1*y2; currDataLine[2] = x1; currDataLine[3] = y1*x2; currDataLine[4] = y1*y2; currDataLine[5] = y1; currDataLine[6] = x2; currDataLine[7] = y2; currDataLine[8] = 1; currDataLine += 9; } CvMat matrUU; CvMat matrSS; CvMat matrVV; double matrUU_dat[7*7]; double matrSS_dat[7*9]; double matrVV_dat[9*9]; matrUU = cvMat(7,7,5,matrUU_dat); matrSS = cvMat(7,9,5,matrSS_dat); matrVV = cvMat(9,9,5,matrVV_dat); cvSVD( &matrU, &matrSS, &matrUU, &matrVV, 0 ); double F111,F112,F113; double F121,F122,F123; double F131,F132,F133; double F211,F212,F213; double F221,F222,F223; double F231,F232,F233; F111=cvmGet(&matrVV,0,7); F112=cvmGet(&matrVV,1,7); F113=cvmGet(&matrVV,2,7); F121=cvmGet(&matrVV,3,7); F122=cvmGet(&matrVV,4,7); F123=cvmGet(&matrVV,5,7); F131=cvmGet(&matrVV,6,7); F132=cvmGet(&matrVV,7,7); F133=cvmGet(&matrVV,8,7); F211=cvmGet(&matrVV,0,8); F212=cvmGet(&matrVV,1,8); F213=cvmGet(&matrVV,2,8); F221=cvmGet(&matrVV,3,8); F222=cvmGet(&matrVV,4,8); F223=cvmGet(&matrVV,5,8); F231=cvmGet(&matrVV,6,8); F232=cvmGet(&matrVV,7,8); F233=cvmGet(&matrVV,8,8); double a,b,c,d; a = F231*F112*F223 + F231*F212*F123 - F231*F212*F223 + F231*F113*F122 - F231*F113*F222 - F231*F213*F122 + F231*F213*F222 - F131*F112*F223 - F131*F212*F123 + F131*F212*F223 - F131*F113*F122 + F131*F113*F222 + F131*F213*F122 - F131*F213*F222 + F121*F212*F133 - F121*F212*F233 + F121*F113*F132 - F121*F113*F232 - F121*F213*F132 + F121*F213*F232 + F221*F112*F133 - F221*F112*F233 - F221*F212*F133 + F221*F212*F233 - F221*F113*F132 + F221*F113*F232 + F221*F213*F132 - F221*F213*F232 + F121*F112*F233 - F111*F222*F133 + F111*F222*F233 - F111*F123*F132 + F111*F123*F232 + F111*F223*F132 - F111*F223*F232 - F211*F122*F133 + F211*F122*F233 + F211*F222*F133 - F211*F222*F233 + F211*F123*F132 - F211*F123*F232 - F211*F223*F132 + F211*F223*F232 + F111*F122*F133 - F111*F122*F233 - F121*F112*F133 + F131*F112*F123 - F231*F112*F123; b = 2*F231*F213*F122 - 3*F231*F213*F222 + F231*F112*F123 - 2*F231*F112*F223 - 2*F231*F212*F123 + 3*F231*F212*F223 - F231*F113*F122 + 2*F231*F113*F222 + F131*F212*F123 - 2*F131*F212*F223 - F131*F113*F222 - F131*F213*F122 + 2*F131*F213*F222 + F121*F113*F232 + F121*F213*F132 - 2*F121*F213*F232 - F221*F112*F133 + 2*F221*F112*F233 + 2*F221*F212*F133 - 3*F221*F212*F233 + F221*F113*F132 - 2*F221*F113*F232 - 2*F221*F213*F132 + 3*F221*F213*F232 + F131*F112*F223 - 2*F211*F122*F233 - 2*F211*F222*F133 + 3*F211*F222*F233 - F211*F123*F132 + 2*F211*F123*F232 + 2*F211*F223*F132 - 3*F211*F223*F232 - F121*F112*F233 - F121*F212*F133 + 2*F121*F212*F233 - 2*F111*F222*F233 - F111*F123*F232 - F111*F223*F132 + 2*F111*F223*F232 + F111*F122*F233 + F111*F222*F133 + F211*F122*F133; c = F231*F112*F223 + F231*F212*F123 - 3*F231*F212*F223 - F231*F113*F222 - F231*F213*F122 + 3*F231*F213*F222 + F131*F212*F223 - F131*F213*F222 + F121*F213*F232 - F221*F112*F233 - F221*F212*F133 + 3*F221*F212*F233 + F221*F113*F232 + F221*F213*F132 - 3*F221*F213*F232 + F211*F122*F233 + F211*F222*F133 - 3*F211*F222*F233 - F211*F123*F232 - F211*F223*F132 + 3*F211*F223*F232 - F121*F212*F233 + F111*F222*F233 - F111*F223*F232; d = F221*F213*F232 - F211*F223*F232 + F211*F222*F233 - F221*F212*F233 + F231*F212*F223 - F231*F213*F222; double coeffs_dat[4]; CvMat coeffs; coeffs = cvMat(1,4,5,coeffs_dat); cvmSet(&coeffs,0,0,a); cvmSet(&coeffs,0,1,b); cvmSet(&coeffs,0,2,c); cvmSet(&coeffs,0,3,d); int numCubRoots; numCubRoots = icvSolveCubic(&coeffs,squares); int i; for( i = 0; i < numCubRoots; i++ ) { if( fabs(cvmGet(squares,1,i)) < 1e-8 ) { double sol; sol = cvmGet(squares,0,i); int t; for( t = 0; t < 9; t++ ) { double f1,f2; f1 = cvmGet(&matrVV,t,7); f2 = cvmGet(&matrVV,t,8); double s = f1 * sol + (1-sol) * f2; cvmSet(fundMatr,numberRoots*3 + t/3,t%3,s); } numberRoots++; if( fundMatr->rows == 3 ) break; } } for( i = 0; i < numberRoots; i++ ) { double fsc; fsc = cvmGet(fundMatr,i*3+2,2); if( fabs(fsc) > 1e-8 ) { CvMat subFund; cvGetSubRect( fundMatr, &subFund, cvRect(0,i*3,3,3) ); cvConvertScale( &subFund, &subFund, 1.0/fsc ); } } goto exit; exit: ; }; cvReleaseMat(&squares); return numberRoots; } int icvComputeFundamental8Point(CvMat* points1,CvMat* points2, CvMat* fundMatr) { CvMat* wpoints[2]={0,0}; CvMat* preFundMatr = 0; CvMat* sqdists = 0; CvMat* matrA = 0; CvMat* matrU = 0; CvMat* matrW = 0; CvMat* matrV = 0; int numFundMatrs = 0; static char icvFuncName[] = "icvComputeFundamental8Point"; {; if( !(((points1) != __null && (((const CvMat*)(points1))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(points1))->data.ptr != __null) || !(((points2) != __null && (((const CvMat*)(points2))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(points2))->data.ptr != __null)|| !(((fundMatr) != __null && (((const CvMat*)(fundMatr))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(fundMatr))->data.ptr != __null)) { { cvError( (-207), icvFuncName, "Not a matrixes", "cvfundam.cpp", 491 ); goto exit; }; } if( !((((points1)->type ^ (points2)->type) & 31) == 0)) { { cvError( (-209), icvFuncName, "Data types of points unmatched", "cvfundam.cpp", 496 ); goto exit; }; } int numPoint; numPoint = points1->cols; int type; type = points1->type; if( numPoint != points2->cols ) { { cvError( (-201), icvFuncName, "Number of points not equal", "cvfundam.cpp", 507 ); goto exit; }; } if( numPoint < 8 ) { { cvError( (-201), icvFuncName, "Number of points must be at least 8", "cvfundam.cpp", 511 ); goto exit; }; } if( points1->rows > 3 || points1->rows < 2 ) { { cvError( (-201), icvFuncName, "Number of coordinates of points1 must be 2 or 3", "cvfundam.cpp", 516 ); goto exit; }; } if( points2->rows > 3 || points2->rows < 2 ) { { cvError( (-201), icvFuncName, "Number of coordinates of points2 must be 2 or 3", "cvfundam.cpp", 521 ); goto exit; }; } if( fundMatr->rows != 3 || fundMatr->cols != 3 ) { { cvError( (-201), icvFuncName, "Size of fundMatr must be 3x3", "cvfundam.cpp", 526 ); goto exit; }; } { ; wpoints[0] = cvCreateMat(2,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 530 ); goto exit; }; }; }; { ; wpoints[1] = cvCreateMat(2,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 531 ); goto exit; }; }; }; { ; matrA = cvCreateMat(numPoint,9,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 532 ); goto exit; }; }; }; { ; preFundMatr = cvCreateMat(3,3,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 533 ); goto exit; }; }; }; { ; matrU = cvCreateMat(numPoint,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 534 ); goto exit; }; }; }; { ; matrW = cvCreateMat(numPoint,9,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 535 ); goto exit; }; }; }; { ; matrV = cvCreateMat(9,9,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 536 ); goto exit; }; }; }; { ; sqdists = cvCreateMat(1,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 537 ); goto exit; }; }; }; CvMat transfMatr[2]; double transfMatr1_dat[9]; double transfMatr2_dat[9]; transfMatr[0] = cvMat(3,3,5,transfMatr1_dat); transfMatr[1] = cvMat(3,3,5,transfMatr2_dat); { icvMake2DPoints(points1,wpoints[0]); icvMake2DPoints(points2,wpoints[1]); icvNormalizeFundPoints( wpoints[0],&transfMatr[0]); icvNormalizeFundPoints( wpoints[1],&transfMatr[1]); int currPoint; for( currPoint = 0; currPoint < numPoint; currPoint++ ) { CvMat rowA; double x1,y1; double x2,y2; x1 = cvmGet(wpoints[0],0,currPoint); y1 = cvmGet(wpoints[0],1,currPoint); x2 = cvmGet(wpoints[1],0,currPoint); y2 = cvmGet(wpoints[1],1,currPoint); cvGetRow(matrA,&rowA,currPoint); rowA.data.db[0] = x1*x2; rowA.data.db[1] = x1*y2; rowA.data.db[2] = x1; rowA.data.db[3] = y1*x2; rowA.data.db[4] = y1*y2; rowA.data.db[5] = y1; rowA.data.db[6] = x2; rowA.data.db[7] = y2; rowA.data.db[8] = 1; } } cvSVD( matrA, matrW, matrU, matrV, 4 ); int numEig; numEig = 0; { int i; for( i = 0; i < 8; i++ ) { if( cvmGet(matrW,i,i) < 1e-8 ) { break; } } numEig = i; } if( numEig < 5 ) { numFundMatrs = 0; } else { numFundMatrs = 1; CvMat preF; cvGetRow(matrV,&preF,8); cvReshape(&preF,preFundMatr,1,3); icvMakeFundamentalSingular(preFundMatr); CvMat wfundMatr; double wfundMatr_dat[9]; wfundMatr = cvMat(3,3,5,wfundMatr_dat); { double tmpMatr_dat[9]; double tmptransfMatr_dat[9]; CvMat tmpMatr = cvMat(3,3,5,tmpMatr_dat); CvMat tmptransfMatr = cvMat(3,3,5,tmptransfMatr_dat); cvTranspose(&transfMatr[0],&tmptransfMatr); cvMatMulAdd( &tmptransfMatr, preFundMatr, 0, &tmpMatr ); cvMatMulAdd( &tmpMatr, &transfMatr[1], 0, &wfundMatr ); } double fsc; fsc = cvmGet(&wfundMatr,2,2); if( fabs(fsc) > 1.0e-8 ) { cvConvertScale( &wfundMatr, &wfundMatr, 1.0/fsc ); } cvConvertScale( (&wfundMatr), (fundMatr), 1, 0 ); } goto exit; exit: ; }; cvReleaseMat(&matrU); cvReleaseMat(&matrW); cvReleaseMat(&matrV); cvReleaseMat(&preFundMatr); cvReleaseMat(&matrA); cvReleaseMat(&wpoints[0]); cvReleaseMat(&wpoints[1]); cvReleaseMat(&sqdists); return numFundMatrs; } int icvComputeFundamentalRANSAC( CvMat* points1,CvMat* points2, CvMat* fundMatr, double threshold, double p, CvMat* status) { CvMat* wpoints1 = 0; CvMat* wpoints2 = 0; CvMat* corrLines1 = 0; CvMat* corrLines2 = 0; CvMat* bestPoints1 = 0; CvMat* bestPoints2 = 0; int* flags = 0; int* bestFlags = 0; int numFundMatr = 0; static char icvFuncName[] = "icvComputeFundamentalRANSAC"; {; if( !(((points1) != __null && (((const CvMat*)(points1))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(points1))->data.ptr != __null) || !(((points2) != __null && (((const CvMat*)(points2))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(points2))->data.ptr != __null)|| !(((fundMatr) != __null && (((const CvMat*)(fundMatr))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(fundMatr))->data.ptr != __null)) { { cvError( (-207), icvFuncName, "points1 or points2 or funMatr are not a matrixes", "cvfundam.cpp", 699 ); goto exit; }; } int numPoint; numPoint = points1->cols; int type; type = points1->type; if( numPoint != points2->cols ) { { cvError( (-201), icvFuncName, "Number of points not equals", "cvfundam.cpp", 710 ); goto exit; }; } if( numPoint < 8 ) { { cvError( (-201), icvFuncName, "Number of points must be >= 8", "cvfundam.cpp", 714 ); goto exit; }; } if( points1->rows != 2 && points1->rows != 3 ) { { cvError( (-201), icvFuncName, "Number of coordinates of points1 must be 2 or 3", "cvfundam.cpp", 719 ); goto exit; }; } if( points2->rows != 2 && points2->rows != 3 ) { { cvError( (-201), icvFuncName, "Number of coordinates of points2 must be 2 or 3", "cvfundam.cpp", 724 ); goto exit; }; } if( fundMatr->rows != 3 || fundMatr->cols != 3 ) { { cvError( (-201), icvFuncName, "Size of fundMatr must be 3x3", "cvfundam.cpp", 729 ); goto exit; }; } if( status ) { if( !(((status) != __null && (((const CvMat*)(status))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(status))->data.ptr != __null) ) { { cvError( (-207), icvFuncName, "status is not a matrix", "cvfundam.cpp", 736 ); goto exit; }; } if( status->cols != numPoint || status->rows != 1 ) { { cvError( (-207), icvFuncName, "Size of status must be 1xN", "cvfundam.cpp", 741 ); goto exit; }; } } { ; flags = (int*)cvAlloc(numPoint * sizeof(int)); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 749 ); goto exit; }; }; }; { ; bestFlags = (int*)cvAlloc(numPoint * sizeof(int)); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 750 ); goto exit; }; }; }; { ; wpoints1 = cvCreateMat(3,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 751 ); goto exit; }; }; }; { ; wpoints2 = cvCreateMat(3,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 752 ); goto exit; }; }; }; { ; corrLines1 = cvCreateMat(3,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 753 ); goto exit; }; }; }; { ; corrLines2 = cvCreateMat(3,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 754 ); goto exit; }; }; }; { ; bestPoints1 = cvCreateMat(3,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 755 ); goto exit; }; }; }; { ; bestPoints2 = cvCreateMat(3,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 756 ); goto exit; }; }; }; icvMake3DPoints(points1,wpoints1); icvMake3DPoints(points2,wpoints2); { int wasCount = 0; int maxGoodPoints = 0; int numGoodPoints = 0; double bestFund_dat[9]; CvMat bestFund; bestFund = cvMat(3,3,5,bestFund_dat); int NumSamples = 500; while( wasCount < NumSamples ) { int randNumbs[7]; int i; int newnum; int pres; for( i = 0; i < 7; i++ ) { do { newnum = rand()%numPoint; pres = 0; int test; for( test = 0; test < i; test++ ) { if( randNumbs[test] == newnum ) { pres = 1; break; } } } while( pres ); randNumbs[i] = newnum; } double selPoints1_dat[2*7]; double selPoints2_dat[2*7]; CvMat selPoints1; CvMat selPoints2; selPoints1 = cvMat(2,7,5,selPoints1_dat); selPoints2 = cvMat(2,7,5,selPoints2_dat); int t; for( t = 0; t < 7; t++ ) { double x,y; x = cvmGet(wpoints1,0,randNumbs[t]); y = cvmGet(wpoints1,1,randNumbs[t]); cvmSet(&selPoints1,0,t,x); cvmSet(&selPoints1,1,t,y); x = cvmGet(wpoints2,0,randNumbs[t]); y = cvmGet(wpoints2,1,randNumbs[t]); cvmSet(&selPoints2,0,t,x); cvmSet(&selPoints2,1,t,y); } double fundTriple_dat[27]; CvMat fundTriple; fundTriple = cvMat(9,3,5,fundTriple_dat); int numFund = icvComputeFundamental7Point(&selPoints1,&selPoints2,&fundTriple); CvMat fund7; for( int currFund = 0; currFund < numFund; currFund++ ) { cvGetSubRect(&fundTriple,&fund7,cvRect(0,currFund*3,3,3)); { { icvComputeCorrespondEpilines(wpoints1,2,&fund7,corrLines2); icvComputeCorrespondEpilines(wpoints2,1,&fund7,corrLines1); int i; numGoodPoints = 0; for( i = 0; i < numPoint; i++ ) { CvMat pnt1,pnt2; CvMat lin1,lin2; cvGetCol(wpoints1,&pnt1,i); cvGetCol(corrLines1,&lin1,i); cvGetCol(wpoints2,&pnt2,i); cvGetCol(corrLines2,&lin2,i); double dist1,dist2; dist1 = fabs(cvDotProduct(&pnt1,&lin1)); dist2 = fabs(cvDotProduct(&pnt2,&lin2)); flags[i] = ( dist1 < threshold && dist2 < threshold )?1:0; numGoodPoints += flags[i]; } } } if( numGoodPoints > maxGoodPoints ) { cvCopy(&fund7,&bestFund); maxGoodPoints = numGoodPoints; int i; for(i=0;i 7 ) { int i; int currPnt; currPnt = 0; for( i = 0; i < numPoint; i++ ) { if( bestFlags[i] ) { CvMat wPnt; CvMat bestPnt; cvGetCol( wpoints1,&wPnt, i ); cvGetCol( bestPoints1,&bestPnt, currPnt ); cvCopy(&wPnt,&bestPnt); cvGetCol( wpoints2,&wPnt, i ); cvGetCol( bestPoints2,&bestPnt, currPnt ); cvCopy(&wPnt,&bestPnt); currPnt++; } } CvMat wbestPnts1; CvMat wbestPnts2; cvGetSubRect( bestPoints1, &wbestPnts1, cvRect(0,0,maxGoodPoints,3) ); cvGetSubRect( bestPoints2, &wbestPnts2, cvRect(0,0,maxGoodPoints,3) ); double impFundMatr_dat[9]; CvMat impFundMatr; impFundMatr = cvMat(3,3,5,impFundMatr_dat); numFundMatr = icvComputeFundamental8Point(&wbestPnts1,&wbestPnts2,&impFundMatr); cvConvertScale( (&impFundMatr), (fundMatr), 1, 0 ); } else { cvConvertScale( (&bestFund), (fundMatr), 1, 0 ); numFundMatr = 1; } if( status ) { for( int i = 0; i < numPoint; i++) { cvmSet(status,0,i,(double)bestFlags[i]); } } } } goto exit; exit: ; }; cvReleaseMat(&corrLines1); cvReleaseMat(&corrLines2); cvReleaseMat(&wpoints1); cvReleaseMat(&wpoints2); cvReleaseMat(&bestPoints1); cvReleaseMat(&bestPoints2); cvFree((void**)&flags); cvFree((void**)&bestFlags); return numFundMatr; } void icvCompPointLineDists(CvMat* points,CvMat* lines,CvMat* distances) { int numPoints; numPoints = points->cols; if( numPoints != lines->cols && numPoints != distances->cols ) { return; } int i; for( i = 0; i < numPoints; i++ ) { CvMat pnt; CvMat lin; cvGetCol(points,&pnt,i); cvGetCol(lines,&lin,i); double dist; dist = fabs(cvDotProduct(&pnt,&lin)); cvmSet(distances,0,i,dist); } return; } # 1028 "cvfundam.cpp" void _SortCvMatVect( double* array, int length, int aux ) { const int bubble_level = 8; struct { int lb, ub; } stack[48]; int sp = 0; double temp; double lb_val; aux = aux; stack[0].lb = 0; stack[0].ub = length - 1; while( sp >= 0 ) { int lb = stack[sp].lb; int ub = stack[sp--].ub; for(;;) { int diff = ub - lb; if( diff < bubble_level ) { int i, j; double* arr = array + lb; for( i = diff; i > 0; i-- ) { int f = 0; for( j = 0; j < i; j++ ) if( ((arr[j+1]) < (arr[j]))) { temp = arr[j]; arr[j] = arr[j+1]; arr[j+1] = temp; f = 1; } if( !f ) break; } break; } else { int m = lb + (diff >> 1); int i = lb + 1, j = ub; lb_val = array[m]; array[m] = array[lb]; array[lb] = lb_val; for(;;) { for( ;i < j && ((array[i]) < (lb_val)); i++ ); for( ;j >= i && ((lb_val) < (array[j])); j-- ); if( i >= j ) break; temp = array[i]; array[i++] = array[j]; array[j--] = temp; } array[lb] = array[j]; array[j] = lb_val; if( j - lb <= ub - j ) { if( j + 1 < ub ) { stack[++sp].lb = j + 1; stack[sp].ub = ub; } ub = j - 1; } else { if( j - 1 > lb) { stack[++sp].lb = lb; stack[sp].ub = j - 1; } lb = j + 1; } } } } } int icvComputeFundamentalLMedS( CvMat* points1,CvMat* points2, CvMat* fundMatr, double threshold, double p, CvMat* status) { CvMat* wpoints1 = 0; CvMat* wpoints2 = 0; CvMat* corrLines1 = 0; CvMat* corrLines2 = 0; CvMat* bestPoints1 = 0; CvMat* bestPoints2 = 0; CvMat* dists1 = 0; CvMat* dists2 = 0; CvMat* distsSq1 = 0; CvMat* distsSq2 = 0; CvMat* allDists = 0; int* flags = 0; int* bestFlags = 0; int numFundMatr = 0; static char icvFuncName[] = "icvComputeFundamentalLMedS"; {; if( !(((points1) != __null && (((const CvMat*)(points1))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(points1))->data.ptr != __null) || !(((points2) != __null && (((const CvMat*)(points2))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(points2))->data.ptr != __null)|| !(((fundMatr) != __null && (((const CvMat*)(fundMatr))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(fundMatr))->data.ptr != __null)) { { cvError( (-207), icvFuncName, "Not a matrixes", "cvfundam.cpp", 1060 ); goto exit; }; } int numPoint; numPoint = points1->cols; int type; type = points1->type; if( numPoint != points2->cols ) { { cvError( (-201), icvFuncName, "Number of points not equal", "cvfundam.cpp", 1071 ); goto exit; }; } if( numPoint < 8 ) { { cvError( (-201), icvFuncName, "Number of points must be >= 8", "cvfundam.cpp", 1075 ); goto exit; }; } if( points1->rows != 2 && points1->rows != 3 ) { { cvError( (-201), icvFuncName, "Number of coordinates of points1 must be 2 or 3", "cvfundam.cpp", 1080 ); goto exit; }; } if( points2->rows != 2 && points2->rows != 3 ) { { cvError( (-201), icvFuncName, "Number of coordinates of points2 must be 2 or 3", "cvfundam.cpp", 1085 ); goto exit; }; } if( fundMatr->rows != 3 || fundMatr->cols != 3 ) { { cvError( (-201), icvFuncName, "Size of fundMatr must be 3x3", "cvfundam.cpp", 1090 ); goto exit; }; } if( status ) { if( !(((status) != __null && (((const CvMat*)(status))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(status))->data.ptr != __null) ) { { cvError( (-207), icvFuncName, "status is not a matrix", "cvfundam.cpp", 1097 ); goto exit; }; } if( status->cols != numPoint || status->rows != 1 ) { { cvError( (-207), icvFuncName, "Size of status must be 1xN", "cvfundam.cpp", 1102 ); goto exit; }; } } { ; flags = (int*)cvAlloc(numPoint * sizeof(int)); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1110 ); goto exit; }; }; }; { ; bestFlags = (int*)cvAlloc(numPoint * sizeof(int)); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1111 ); goto exit; }; }; }; { ; wpoints1 = cvCreateMat(3,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1112 ); goto exit; }; }; }; { ; wpoints2 = cvCreateMat(3,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1113 ); goto exit; }; }; }; { ; corrLines1 = cvCreateMat(3,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1114 ); goto exit; }; }; }; { ; corrLines2 = cvCreateMat(3,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1115 ); goto exit; }; }; }; { ; bestPoints1 = cvCreateMat(3,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1116 ); goto exit; }; }; }; { ; bestPoints2 = cvCreateMat(3,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1117 ); goto exit; }; }; }; { ; dists1 = cvCreateMat(1,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1118 ); goto exit; }; }; }; { ; dists2 = cvCreateMat(1,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1119 ); goto exit; }; }; }; { ; distsSq1 = cvCreateMat(1,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1120 ); goto exit; }; }; }; { ; distsSq2 = cvCreateMat(1,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1121 ); goto exit; }; }; }; { ; allDists = cvCreateMat(1,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1122 ); goto exit; }; }; }; icvMake3DPoints(points1,wpoints1); icvMake3DPoints(points2,wpoints2); { int NumSamples = 500; int wasCount = 0; double goodMean = 3.40282347e+38F; double currMean; int numGoodPoints = 0; double bestFund_dat[9]; CvMat bestFund; bestFund = cvMat(3,3,5,bestFund_dat); while( wasCount < NumSamples ) { int randNumbs[7]; int i; int newnum; int pres; for( i = 0; i < 7; i++ ) { do { newnum = rand()%numPoint; pres = 0; int test; for( test = 0; test < i; test++ ) { if( randNumbs[test] == newnum ) { pres = 1; break; } } } while( pres ); randNumbs[i] = newnum; } double selPoints1_dat[2*7]; double selPoints2_dat[2*7]; CvMat selPoints1; CvMat selPoints2; selPoints1 = cvMat(2,7,5,selPoints1_dat); selPoints2 = cvMat(2,7,5,selPoints2_dat); int t; for( t = 0; t < 7; t++ ) { double x,y; x = cvmGet(wpoints1,0,randNumbs[t]); y = cvmGet(wpoints1,1,randNumbs[t]); cvmSet(&selPoints1,0,t,x); cvmSet(&selPoints1,1,t,y); x = cvmGet(wpoints2,0,randNumbs[t]); y = cvmGet(wpoints2,1,randNumbs[t]); cvmSet(&selPoints2,0,t,x); cvmSet(&selPoints2,1,t,y); } double fundTriple_dat[27]; CvMat fundTriple; fundTriple = cvMat(9,3,5,fundTriple_dat); int numFund = icvComputeFundamental7Point(&selPoints1,&selPoints2,&fundTriple); CvMat fund7; for( int currFund = 0; currFund < numFund; currFund++ ) { cvGetSubRect(&fundTriple,&fund7,cvRect(0,currFund*3,3,3)); { { icvComputeCorrespondEpilines(wpoints1,2,&fund7,corrLines2); icvComputeCorrespondEpilines(wpoints2,1,&fund7,corrLines1); icvCompPointLineDists(wpoints1,corrLines1,dists1); icvCompPointLineDists(wpoints2,corrLines2,dists2); cvMul(dists1,dists1,distsSq1); cvMul(dists2,dists2,distsSq2); cvAdd(distsSq1,distsSq2,allDists); _SortCvMatVect(allDists->data.db,numPoint,0); currMean = allDists->data.db[numPoint/2]; } } if( currMean < goodMean ) { cvCopy(&fund7,&bestFund); goodMean = currMean; int i; numGoodPoints = 0; for( i = 0 ; i < numPoint; i++ ) { if( dists1->data.db[i] < threshold && dists2->data.db[i] < threshold ) { numGoodPoints++; } } double ep = 1 - (double)numGoodPoints / (double)numPoint; if( ep == 1 ) { ep = 0.5; } double newNumSamples = log(1-p) / log(1-pow(1-ep,7)); if( newNumSamples < (double)NumSamples ) { NumSamples = cvRound(newNumSamples); } } } wasCount++; } if( goodMean == 3.40282347e+38F ) { numFundMatr = 0; } else { { icvComputeCorrespondEpilines(wpoints1,2,&bestFund,corrLines2); icvComputeCorrespondEpilines(wpoints2,1,&bestFund,corrLines1); icvCompPointLineDists(wpoints1,corrLines1,dists1); icvCompPointLineDists(wpoints2,corrLines2,dists2); int i; int currPnt = 0; for( i = 0; i < numPoint; i++ ) { if( dists1->data.db[i] < threshold && dists2->data.db[i] < threshold ) { CvMat wPnt; CvMat bestPnt; cvGetCol( wpoints1,&wPnt, i ); cvGetCol( bestPoints1,&bestPnt, currPnt ); cvCopy(&wPnt,&bestPnt); cvGetCol( wpoints2,&wPnt, i ); cvGetCol( bestPoints2,&bestPnt, currPnt ); cvCopy(&wPnt,&bestPnt); currPnt++; if( status ) cvmSet(status,0,i,1.0); } else { if( status ) cvmSet(status,0,i,0.0); } } numGoodPoints = currPnt; } if( numGoodPoints < 7 ) { numFundMatr = 0; } else { if( numGoodPoints > 7 ) { CvMat wbestPnts1; CvMat wbestPnts2; cvGetSubRect( bestPoints1, &wbestPnts1, cvRect(0,0,numGoodPoints,3) ); cvGetSubRect( bestPoints2, &wbestPnts2, cvRect(0,0,numGoodPoints,3) ); double impFundMatr_dat[9]; CvMat impFundMatr; impFundMatr = cvMat(3,3,5,impFundMatr_dat); numFundMatr = icvComputeFundamental8Point(&wbestPnts1,&wbestPnts2,&impFundMatr); cvConvertScale( (&impFundMatr), (fundMatr), 1, 0 ); } else { cvConvertScale( (&bestFund), (fundMatr), 1, 0 ); numFundMatr = 1; } } } } goto exit; exit: ; }; cvReleaseMat(&corrLines1); cvReleaseMat(&corrLines2); cvReleaseMat(&wpoints1); cvReleaseMat(&wpoints2); cvReleaseMat(&bestPoints1); cvReleaseMat(&bestPoints2); cvReleaseMat(&dists1); cvReleaseMat(&dists2); cvReleaseMat(&distsSq1); cvReleaseMat(&distsSq2); cvReleaseMat(&allDists); cvFree((void**)&flags); cvFree((void**)&bestFlags); return numFundMatr; } void icvMakeFundamentalSingular(CvMat* fundMatr) { static char icvFuncName[] = "icvFundSingular"; {; if( !(((fundMatr) != __null && (((const CvMat*)(fundMatr))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(fundMatr))->data.ptr != __null) ) { { cvError( (-207), icvFuncName, "Input data is not matrix", "cvfundam.cpp", 1391 ); goto exit; }; } if( fundMatr->rows != 3 || fundMatr->cols != 3 ) { { cvError( (-201), icvFuncName, "Size of fundametal matrix must be 3x3", "cvfundam.cpp", 1396 ); goto exit; }; } { CvMat matrFU; CvMat matrFW; CvMat matrFVt; CvMat tmpMatr; CvMat preFundMatr; double matrFU_dat[9]; double matrFW_dat[9]; double matrFVt_dat[9]; double tmpMatr_dat[9]; double preFundMatr_dat[9]; matrFU = cvMat(3,3,5,matrFU_dat); matrFW = cvMat(3,3,5,matrFW_dat); matrFVt = cvMat(3,3,5,matrFVt_dat); tmpMatr = cvMat(3,3,5,tmpMatr_dat); preFundMatr = cvMat(3,3,5,preFundMatr_dat); cvConvertScale( (fundMatr), (&preFundMatr), 1, 0 ); cvSVD( &preFundMatr, &matrFW, &matrFU, &matrFVt, 4 ); cvmSet(&matrFW,2,2,0); cvMatMulAdd( &matrFU, &matrFW, 0, &tmpMatr ); cvMatMulAdd( &tmpMatr, &matrFVt, 0, &preFundMatr ); cvConvertScale( (&preFundMatr), (fundMatr), 1, 0 ); } goto exit; exit: ; }; } # 1442 "cvfundam.cpp" void icvNormalizeFundPoints( CvMat* points, CvMat* transfMatr ) { CvMat* subwpointsx = 0; CvMat* subwpointsy = 0; CvMat* sqdists = 0; CvMat* pointsxx = 0; CvMat* pointsyy = 0; int numPoint; int type; double shiftx,shifty; double meand; double scale; CvMat tmpwpointsx; CvMat tmpwpointsy; CvScalar sumx; CvScalar sumy; static char icvFuncName[] = "icvNormalizeFundPoints"; {; if( !(((points) != __null && (((const CvMat*)(points))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(points))->data.ptr != __null) || !(((transfMatr) != __null && (((const CvMat*)(transfMatr))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(transfMatr))->data.ptr != __null) ) { { cvError( (-207), icvFuncName, "Input data is not matrixes", "cvfundam.cpp", 1469 ); goto exit; }; } numPoint = points->cols; type = points->type; if( numPoint < 1 ) { { cvError( (-201), icvFuncName, "Number of points must be at least 1", "cvfundam.cpp", 1478 ); goto exit; }; } if( points->rows != 2 ) { { cvError( (-201), icvFuncName, "Number of coordinates of points1 must be 2", "cvfundam.cpp", 1483 ); goto exit; }; } if( transfMatr->rows != 3 || transfMatr->cols != 3 ) { { cvError( (-201), icvFuncName, "Size of transform matrix must be 3x3", "cvfundam.cpp", 1488 ); goto exit; }; } { ; subwpointsx = cvCreateMat(1,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1491 ); goto exit; }; }; }; { ; subwpointsy = cvCreateMat(1,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1492 ); goto exit; }; }; }; { ; sqdists = cvCreateMat(1,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1493 ); goto exit; }; }; }; { ; pointsxx = cvCreateMat(1,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1494 ); goto exit; }; }; }; { ; pointsyy = cvCreateMat(1,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1495 ); goto exit; }; }; }; { cvGetRow( points, &tmpwpointsx, 0 ); cvGetRow( points, &tmpwpointsy, 1 ); cvConvertScale( (&tmpwpointsx), (subwpointsx), 1, 0 ); cvConvertScale( (&tmpwpointsy), (subwpointsy), 1, 0 ); } sumx = cvSum(subwpointsx); sumy = cvSum(subwpointsy); sumx.val[0] /= (double)numPoint; sumy.val[0] /= (double)numPoint; shiftx = sumx.val[0]; shifty = sumy.val[0]; cvSubS( subwpointsx, sumx, subwpointsx); cvSubS( subwpointsy, sumy, subwpointsy); cvMul(subwpointsx,subwpointsx,pointsxx); cvMul(subwpointsy,subwpointsy,pointsyy); cvAdd( pointsxx, pointsyy, sqdists); cvPow(sqdists,sqdists,0.5); meand = cvMean(sqdists); if( fabs(meand) > 1e-8 ) { scale = 0.70710678118654752440084436210485/meand; } else { scale = 1.0; } cvConvertScale(subwpointsx,subwpointsx,scale); cvConvertScale(subwpointsy,subwpointsy,scale); { cvGetRow( points, &tmpwpointsx, 0 ); cvGetRow( points, &tmpwpointsy, 1 ); cvConvertScale( (subwpointsx), (&tmpwpointsx), 1, 0 ); cvConvertScale( (subwpointsy), (&tmpwpointsy), 1, 0 ); } cvmSet(transfMatr,0,0, scale); cvmSet(transfMatr,0,1, 0); cvmSet(transfMatr,0,2, -scale*shiftx); cvmSet(transfMatr,1,0, 0); cvmSet(transfMatr,1,1, scale); cvmSet(transfMatr,1,2, -scale*shifty); cvmSet(transfMatr,2,0, 0); cvmSet(transfMatr,2,1, 0); cvmSet(transfMatr,2,2, 1); goto exit; exit: ; }; cvReleaseMat(&subwpointsx); cvReleaseMat(&subwpointsy); cvReleaseMat(&sqdists); cvReleaseMat(&pointsxx); cvReleaseMat(&pointsyy); } int cvSolveCubic(CvMat* coeffs,CvMat* result) { return icvSolveCubic(coeffs, result); } int icvSolveCubic(CvMat* coeffs,CvMat* result) { int numRoots = 0; static char icvFuncName[] = "icvSolveCubic"; {; if( !(((coeffs) != __null && (((const CvMat*)(coeffs))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(coeffs))->data.ptr != __null) || !(((result) != __null && (((const CvMat*)(result))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(result))->data.ptr != __null) ) { { cvError( (-207), icvFuncName, "Not a matrixes", "cvfundam.cpp", 1615 ); goto exit; }; } if( !(coeffs->rows == 1 && (coeffs->cols == 3 || coeffs->cols == 4) )) { { cvError( (-201), icvFuncName, "Number of coeffs must be 3 or 4", "cvfundam.cpp", 1620 ); goto exit; }; } double squares[6]; double cc[4]; cc[0] = cvmGet(coeffs,0,0); cc[1] = cvmGet(coeffs,0,1); cc[2] = cvmGet(coeffs,0,2); if( fabs(cc[0]) > 3.40282347e+38F || fabs(cc[1]) > 3.40282347e+38F || fabs(cc[2]) > 3.40282347e+38F ) { return 0; } double a0,a1,a2; if( coeffs->cols == 3 ) { a0 = cc[0]; a1 = cc[1]; a2 = cc[2]; numRoots = icvCubicV(a0,a1,a2,squares); } else { cc[3] = cvmGet(coeffs,0,3); if( fabs(cc[3]) > 3.40282347e+38F ) { return 0; } double a = cc[0]; if( fabs(a) > 1.17549435e-38F) { a = 1. / a; a0 = cc[1] * a; a1 = cc[2] * a; a2 = cc[3] * a; numRoots = icvCubicV(a0,a1,a2,squares); } else { double a,b,c; a = cc[1]; b = cc[2]; c = cc[3]; if( fabs(a) > 1e-8 ) { double D; D = b*b-4*a*c; if( D > 1.17549435e-38F ) { numRoots = 2; squares[0] = (-b + sqrt(D))/(2*a); squares[1] = 0; squares[2] = (-b - sqrt(D))/(2*a); squares[3] = 0; } else { if( D < 1.17549435e-38F ) { numRoots = 2; squares[0] = (-b)/(2*a); squares[1] = ( sqrt(-D))/(2*a); squares[2] = (-b)/(2*a); squares[3] = ( -sqrt(-D))/(2*a); } else { numRoots = 2; squares[0] = (-b)/(2*a); squares[1] = 0; squares[2] = (-b)/(2*a); squares[3] = 0; } } } else { if( fabs(b) > 1.17549435e-38F ) { squares[0] = -c/b; squares[1] = 0; numRoots = 1; } else { if( fabs(c) > 1.17549435e-38F) { numRoots = 0; } else { numRoots = 0; } } } } } int i; for( i=0;itype & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(srcPoint))->data.ptr != __null) || !(((dstPoint) != __null && (((const CvMat*)(dstPoint))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(dstPoint))->data.ptr != __null) ) { { cvError( (-207), icvFuncName, "Not a matrixes", "cvfundam.cpp", 1767 ); goto exit; }; } int numPoint; numPoint = srcPoint->cols; if( numPoint != dstPoint->cols ) { { cvError( (-201), icvFuncName, "Number of points not equal", "cvfundam.cpp", 1775 ); goto exit; }; } if( numPoint < 1 ) { { cvError( (-201), icvFuncName, "Number of points must > 0", "cvfundam.cpp", 1779 ); goto exit; }; } if( srcPoint->rows > 3 || srcPoint->rows < 2 ) { { cvError( (-201), icvFuncName, "Number of coordinates of srcPoint must be 2 or 3", "cvfundam.cpp", 1784 ); goto exit; }; } if( dstPoint->rows != 2 ) { { cvError( (-201), icvFuncName, "Number of coordinates of dstPoint must be 2", "cvfundam.cpp", 1789 ); goto exit; }; } { ; submatx = cvCreateMat(1,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1792 ); goto exit; }; }; }; { ; submaty = cvCreateMat(1,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1793 ); goto exit; }; }; }; { ; submatz = cvCreateMat(1,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1794 ); goto exit; }; }; }; CvMat subwpointsx; CvMat subwpointsy; CvMat tmpSubmatx; CvMat tmpSubmaty; CvMat tmpSubmatz; cvGetRow( dstPoint, &subwpointsx, 0 ); cvGetRow( dstPoint, &subwpointsy, 1 ); cvGetRow( srcPoint, &tmpSubmatx, 0 ); cvGetRow( srcPoint, &tmpSubmaty, 1 ); cvConvertScale( (&tmpSubmatx), (submatx), 1, 0 ); cvConvertScale( (&tmpSubmaty), (submaty), 1, 0 ); if( srcPoint->rows == 3 ) { cvGetRow( srcPoint, &tmpSubmatz, 2 ); cvConvertScale( (&tmpSubmatz), (submatz), 1, 0 ); cvDiv( submatx, submatz, &subwpointsx); cvDiv( submaty, submatz, &subwpointsy); } else { cvConvertScale( (submatx), (&subwpointsx), 1, 0 ); cvConvertScale( (submaty), (&subwpointsy), 1, 0 ); } goto exit; exit: ; }; cvReleaseMat(&submatx); cvReleaseMat(&submaty); cvReleaseMat(&submatz); } void cvMake3DPoints(CvMat* srcPoint,CvMat* dstPoint) { icvMake3DPoints(srcPoint,dstPoint); return; } # 1855 "cvfundam.cpp" void icvMake3DPoints(CvMat* srcPoint,CvMat* dstPoint) { CvMat* tmpSubmatz = 0; static char icvFuncName[] = "icvMake3DPoints"; {; if( !(((srcPoint) != __null && (((const CvMat*)(srcPoint))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(srcPoint))->data.ptr != __null) || !(((dstPoint) != __null && (((const CvMat*)(dstPoint))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(dstPoint))->data.ptr != __null) ) { { cvError( (-207), icvFuncName, "Not a matrixes", "cvfundam.cpp", 1864 ); goto exit; }; } int numPoint; numPoint = srcPoint->cols; if( numPoint != dstPoint->cols ) { { cvError( (-201), icvFuncName, "Number of points not equal", "cvfundam.cpp", 1872 ); goto exit; }; } if( numPoint < 1 ) { { cvError( (-201), icvFuncName, "Number of points must > 0", "cvfundam.cpp", 1876 ); goto exit; }; } if( srcPoint->rows > 3 || srcPoint->rows < 2 ) { { cvError( (-201), icvFuncName, "Number of coordinates of srcPoint must be 2 or 3", "cvfundam.cpp", 1881 ); goto exit; }; } if( dstPoint->rows != 3 ) { { cvError( (-201), icvFuncName, "Number of coordinates of dstPoint must be 3", "cvfundam.cpp", 1886 ); goto exit; }; } { ; tmpSubmatz = cvCreateMat(1,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 1889 ); goto exit; }; }; }; if( srcPoint->rows == 3 ) { cvConvertScale( (srcPoint), (dstPoint), 1, 0 ); } else { CvMat subwpointsx; CvMat subwpointsy; CvMat subwpointsz; cvGetRow( dstPoint, &subwpointsx, 0 ); cvGetRow( dstPoint, &subwpointsy, 1 ); cvGetRow( dstPoint, &subwpointsz, 2 ); CvMat tmpSubmatx; CvMat tmpSubmaty; cvGetRow( srcPoint, &tmpSubmatx, 0 ); cvGetRow( srcPoint, &tmpSubmaty, 1 ); cvConvertScale( (&tmpSubmatx), (&subwpointsx), 1, 0 ); cvConvertScale( (&tmpSubmaty), (&subwpointsy), 1, 0 ); int i; for( i = 0; i < numPoint; i++ ) { cvmSet(&subwpointsz,0,i,1.0); } } goto exit; exit: ; }; cvReleaseMat(&tmpSubmatz); } void cvComputeCorrespondEpilines(CvMat* points,int pointImageID,CvMat* fundMatr,CvMat* corrLines) { icvComputeCorrespondEpilines(points, pointImageID, fundMatr, corrLines); return; } void icvComputeCorrespondEpilines(CvMat* points,int pointImageID,CvMat* fundMatr,CvMat* corrLines) { CvMat* wpoints = 0; CvMat* wcorrLines = 0; pointImageID = 3-pointImageID; static char icvFuncName[] = "icvComputeCorrespondEpilines"; {; if( !(((points) != __null && (((const CvMat*)(points))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(points))->data.ptr != __null) || !(((fundMatr) != __null && (((const CvMat*)(fundMatr))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(fundMatr))->data.ptr != __null)|| !(((corrLines) != __null && (((const CvMat*)(corrLines))->type & 0xFFFF0000) == 0x42420000) && ((const CvMat*)(corrLines))->data.ptr != __null)) { { cvError( (-207), icvFuncName, "Not a matrixes", "cvfundam.cpp", 1950 ); goto exit; }; } int numPoint; numPoint = points->cols; if( numPoint != corrLines->cols ) { { cvError( (-201), icvFuncName, "Number of points and lines are not equal", "cvfundam.cpp", 1960 ); goto exit; }; } if( numPoint < 1 ) { { cvError( (-201), icvFuncName, "Number of points must > 0", "cvfundam.cpp", 1965 ); goto exit; }; } if( points->rows != 2 && points->rows != 3 ) { { cvError( (-201), icvFuncName, "Number of coordinates of points1 must be 2 or 3", "cvfundam.cpp", 1970 ); goto exit; }; } if( corrLines->rows != 3 ) { { cvError( (-201), icvFuncName, "Number of coordinates of corrLines must be 3", "cvfundam.cpp", 1975 ); goto exit; }; } if( fundMatr->rows != 3 || fundMatr->cols != 3 ) { { cvError( (-201), icvFuncName, "Size of fundMatr must be 3x3", "cvfundam.cpp", 1980 ); goto exit; }; } double wfundMatr_dat[9]; CvMat wfundMatr; wfundMatr = cvMat(3,3,5,wfundMatr_dat); cvConvertScale( (fundMatr), (&wfundMatr), 1, 0 ); if( pointImageID == 1 ) { double tmpMatr_dat[9]; CvMat tmpMatr; tmpMatr = cvMat(3,3,5,tmpMatr_dat); cvConvertScale( (fundMatr), (&tmpMatr), 1, 0 ); cvTranspose(&tmpMatr,&wfundMatr); } else if( pointImageID != 2 ) { { cvError( (-5), icvFuncName, "Image ID must be 1 or 2", "cvfundam.cpp", 1998 ); goto exit; }; } { ; wpoints = cvCreateMat(3,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 2003 ); goto exit; }; }; }; { ; wcorrLines = cvCreateMat(3,numPoint,5); ; { if( cvGetErrStatus() < 0 ) { cvError( (-1), icvFuncName, "Inner function failed.", "cvfundam.cpp", 2004 ); goto exit; }; }; }; icvMake3DPoints(points,wpoints); cvMatMulAdd( &wfundMatr, wpoints, 0, wcorrLines ); int i; for( i = 0; i < numPoint; i++ ) { CvMat line; cvGetCol(wcorrLines,&line,i); double a,b; a = cvmGet(&line,0,0); b = cvmGet(&line,1,0); double nv; nv = sqrt(a*a+b*b); cvConvertScale(&line,&line,1.0 / nv); } cvConvertScale( (wcorrLines), (corrLines), 1, 0 ); goto exit; exit: ; }; cvReleaseMat(&wpoints); cvReleaseMat(&wcorrLines); } # 2042 "cvfundam.cpp" int icvCubicV( double a2, double a1, double a0, double *squares ) { double p, q, D, c1, c2, b1, b2, ro1, ro2, fi1, fi2; double x[6][3]; int i, j, t; if( !squares ) return CV_BADFACTOR_ERR; if( fabs(a0) > 3.40282347e+38F || fabs(a1) > 3.40282347e+38F || fabs(a2) > 3.40282347e+38F ) { return 0; } p = a1 - a2 * a2 / 3; q = (9 * a1 * a2 - 27 * a0 - 2 * a2 * a2 * a2) / 27; D = q * q / 4 + p * p * p / 27; if( fabs(p) > 3.40282347e+38F || fabs(q) > 3.40282347e+38F || fabs(D) > 3.40282347e+38F ) { return 0; } if( D < 0 ) { c1 = q / 2; c2 = c1; b1 = sqrt( -D ); b2 = -b1; ro1 = sqrt( c1 * c1 - D ); ro2 = ro1; fi1 = atan2( b1, c1 ); fi2 = -fi1; } else { c1 = q / 2 + sqrt( D ); c2 = q / 2 - sqrt( D ); b1 = 0; b2 = 0; ro1 = fabs( c1 ); ro2 = fabs( c2 ); fi1 = 3.1415926535897932384626433832795 * (1 - ( (c1)<0 ? -1:((c1)>0?1:0 ) )) / 2; fi2 = 3.1415926535897932384626433832795 * (1 - ( (c2)<0 ? -1:((c2)>0?1:0 ) )) / 2; } for( i = 0; i < 6; i++ ) { x[i][0] = -a2 / 3; x[i][1] = 0; x[i][2] = 0; squares[i] = x[i][i % 2]; } if( !( (ro1) < 1e-8 && (ro1) > -1e-8)) { c1 = ( (ro1)<0 ? -1:((ro1)>0?1:0 ) ) * pow( fabs( ro1 ), 1. / 3 ) - ( (ro1)<0 ? -1:((ro1)>0?1:0 ) ) * p / 3. * pow( fabs( ro1 ), -1. / 3 ); c2 = ( (ro1)<0 ? -1:((ro1)>0?1:0 ) ) * pow( fabs( ro1 ), 1. / 3 ) + ( (ro1)<0 ? -1:((ro1)>0?1:0 ) ) * p / 3. * pow( fabs( ro1 ), -1. / 3 ); } if( !( (ro2) < 1e-8 && (ro2) > -1e-8)) { b1 = ( (ro2)<0 ? -1:((ro2)>0?1:0 ) ) * pow( fabs( ro2 ), 1. / 3 ) - ( (ro2)<0 ? -1:((ro2)>0?1:0 ) ) * p / 3. * pow( fabs( ro2 ), -1. / 3 ); b2 = ( (ro2)<0 ? -1:((ro2)>0?1:0 ) ) * pow( fabs( ro2 ), 1. / 3 ) + ( (ro2)<0 ? -1:((ro2)>0?1:0 ) ) * p / 3. * pow( fabs( ro2 ), -1. / 3 ); } for( i = 0; i < 6; i++ ) { if( i < 3 ) { if( !( (ro1) < 1e-8 && (ro1) > -1e-8)) { x[i][0] = cos( fi1 / 3. + 2 * 3.1415926535897932384626433832795 * (i % 3) / 3. ) * c1 - a2 / 3; x[i][1] = sin( fi1 / 3. + 2 * 3.1415926535897932384626433832795 * (i % 3) / 3. ) * c2; } else { } } else { if( !( (ro2) < 1e-8 && (ro2) > -1e-8)) { x[i][0] = cos( fi2 / 3. + 2 * 3.1415926535897932384626433832795 * (i % 3) / 3. ) * b1 - a2 / 3; x[i][1] = sin( fi2 / 3. + 2 * 3.1415926535897932384626433832795 * (i % 3) / 3. ) * b2; } else { } } } t = 0; for( i = 0; i < 6 && t < 6; i++ ) { if( !x[i][2] ) { squares[t++] = x[i][0]; squares[t++] = x[i][1]; x[i][2] = 1; for( j = i + 1; j < 6; j++ ) { if( !x[j][2] && ( (x[i][0] - x[j][0]) < 1e-8 && (x[i][0] - x[j][0]) > -1e-8) && ( (x[i][1] - x[j][1]) < 1e-8 && (x[i][1] - x[j][1]) > -1e-8)) { x[j][2] = 1; break; } } } } return 3; } # 2201 "cvfundam.cpp" int icvGaussMxN( double *A, double *B, int M, int N, double **solutions ) { int *variables; int row, swapi, i, i_best = 0, j, j_best = 0, t; double swapd, ratio, bigest; if( !A || !B || !M || !N ) return -1; variables = (int *) icvAllocEx((long) N * sizeof( int ), 0, 0); if( variables == 0 ) return -1; for( i = 0; i < N; i++ ) { variables[i] = i; } for( row = 0; row < M; row++ ) { bigest = 0; for( j = row; j < M; j++ ) { for( i = row; i < N; i++ ) { if( fabs( A[j * N + i] ) > fabs( bigest )) { bigest = A[j * N + i]; i_best = i; j_best = j; } } } if( ( (bigest) < 1e-8 && (bigest) > -1e-8)) break; if( j_best - row ) { for( t = 0; t < N; t++ ) { swapd = A[row * N + t]; A[row * N + t] = A[j_best * N + t]; A[j_best * N + t] = swapd; } swapd = B[row]; B[row] = B[j_best]; B[j_best] = swapd; } if( i_best - row ) { for( t = 0; t < M; t++ ) { swapd = A[t * N + i_best]; A[t * N + i_best] = A[t * N + row]; A[t * N + row] = swapd; } swapi = variables[row]; variables[row] = variables[i_best]; variables[i_best] = swapi; } for( i = row + 1; i < M; i++ ) { ratio = -A[i * N + row] / A[row * N + row]; B[i] += B[row] * ratio; for( j = N - 1; j >= row; j-- ) { A[i * N + j] += A[row * N + j] * ratio; } } } if( row < M ) { for( j = row; j < M; j++ ) { if( !( (B[j]) < 1e-8 && (B[j]) > -1e-8)) { icvFreeEx((void**)(&variables), 0, 0); return -1; } } M = row; } if( M < N ) { *solutions = (double *) icvAllocEx(((N - M + 1) * N) * sizeof( double ), 0, 0); if( *solutions == 0 ) { icvFreeEx((void**)(&variables), 0, 0); return -1; } for( t = M; t <= N; t++ ) { for( j = M; j < N; j++ ) { (*solutions)[(t - M) * N + variables[j]] = (double) (t == j); } for( i = M - 1; i >= 0; i-- ) { if( t < N ) { (*solutions)[(t - M) * N + variables[i]] = 0; } else { (*solutions)[(t - M) * N + variables[i]] = B[i] / A[i * N + i]; } for( j = i + 1; j < N; j++ ) { (*solutions)[(t - M) * N + variables[i]] -= (*solutions)[(t - M) * N + variables[j]] * A[i * N + j] / A[i * N + i]; } } } icvFreeEx((void**)(&variables), 0, 0); return N - M; } *solutions = (double *) icvAllocEx((N) * sizeof( double ), 0, 0); if( solutions == 0 ) return -1; for( i = N - 1; i >= 0; i-- ) { (*solutions)[variables[i]] = B[i] / A[i * N + i]; for( j = i + 1; j < N; j++ ) { (*solutions)[variables[i]] -= (*solutions)[variables[j]] * A[i * N + j] / A[i * N + i]; } } icvFreeEx((void**)(&variables), 0, 0); return 0; } CvStatus icvGetCoof( double *f1, double *f2, double *a2, double *a1, double *a0 ) { double G[9], a3; int i; if( !f1 || !f2 || !a0 || !a1 || !a2 ) return CV_BADFACTOR_ERR; for( i = 0; i < 9; i++ ) { G[i] = f1[i] - f2[i]; } a3 = icvDet( G ); if( ( (a3) < 1e-8 && (a3) > -1e-8)) return CV_BADFACTOR_ERR; *a2 = 0; *a1 = 0; *a0 = icvDet( f2 ); for( i = 0; i < 9; i++ ) { *a2 += f2[i] * icvMinor( G, (int) (i % 3), (int) (i / 3) ); *a1 += G[i] * icvMinor( f2, (int) (i % 3), (int) (i / 3) ); } *a0 /= a3; *a1 /= a3; *a2 /= a3; return CV_NO_ERR; } # 2441 "cvfundam.cpp" CvStatus icvLMedS7( int *points1, int *points2, CvMatrix3 * matrix ) { CvStatus error = CV_NO_ERR; matrix = matrix; points1 = points1; points2 = points2; return error; } # 2478 "cvfundam.cpp" CvStatus icvPoint7( int *ml, int *mr, double *F, int *amount ) { double A[63], B[7]; double *solutions; double a2, a1, a0; double squares[6]; int i, j; CvStatus error = CV_BADFACTOR_ERR; if( !ml || !mr || !F ) return CV_BADFACTOR_ERR; for( i = 0; i < 7; i++ ) { for( j = 0; j < 9; j++ ) { A[i * 9 + j] = (double) ml[i * 3 + j / 3] * (double) mr[i * 3 + j % 3]; } B[i] = 0; } *amount = 0; if( icvGaussMxN( A, B, 7, 9, &solutions ) == 2 ) { if( icvGetCoef( solutions, solutions + 9, &a2, &a1, &a0 ) == CV_NO_ERR ) { icvCubic( a2, a1, a0, squares ); for( i = 0; i < 1; i++ ) { if( ( (squares[i * 2 + 1]) < 1e-8 && (squares[i * 2 + 1]) > -1e-8)) { for( j = 0; j < 9; j++ ) { F[*amount + j] = (float) (squares[i] * solutions[j] + (1 - squares[i]) * solutions[j + 9]); } *amount += 9; error = CV_NO_ERR; } } icvFreeEx((void**)(&solutions), 0, 0); return error; } else { icvFreeEx((void**)(&solutions), 0, 0); } } else { icvFreeEx((void**)(&solutions), 0, 0); } return error; }