📄 main.h
字号:
#define LEVELS 3
#define HAVE_LORES_TIMER
#ifdef HAVE_LORES_TIMER
/* use the low-resolution interval timer system call to collect timings */
# define USE_TIMER
# include <time.h>
# include <sys/timeb.h>
# define DECLARE_TIME(t) struct _timeb t
# define GET_TIME(t) _ftime(&t)
# define STORE_TIME(code, t0, t1) \
timer_ticks[code] += ((t1).millitm < (t0).millitm) ? \
(((t1).time - (t0).time)*1000000 - ((t0).millitm - (t1).millitm)):\
(((t1).time - (t0).time)*1000000 + ((t1).millitm - (t0).millitm));
#endif
/* timer */
#define INITIAL_DATA 2 /* initiation of data */
#define WAVELET_TRANS 0 /* wavelet decomposition */
#define REGISTRATION 1 /* registration of all data levels */
#define INVERSE_FUNCTION 3 /* inverse function timer */
#define LEAST_MULT 4 /* least square multify */
#define COM_BORDER 5 /* compute border time */
#define VPTIMER_COUNT 2 /* timer number */
unsigned long timer_ticks[VPTIMER_COUNT];
#include "resample.h"
#include "correlation.h"
#include "imgfile.h"
#include "registration.h"
#include "wavelet.h"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -