mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Simplify phase/rotation correlation dependency.
This commit is contained in:
parent
aab594f2d0
commit
e76acbf2f3
@ -30,12 +30,8 @@
|
|||||||
//#define IMLIB_ENABLE_ROTATION_CORR
|
//#define IMLIB_ENABLE_ROTATION_CORR
|
||||||
|
|
||||||
// Enable phasecorrelate()
|
// Enable phasecorrelate()
|
||||||
|
#if defined(IMLIB_ENABLE_ROTATION_CORR)
|
||||||
//#define IMLIB_ENABLE_FIND_DISPLACEMENT
|
//#define IMLIB_ENABLE_FIND_DISPLACEMENT
|
||||||
|
|
||||||
// rotation_corr() is required by phasecorrelate()
|
|
||||||
#if defined(IMLIB_ENABLE_FIND_DISPLACEMENT)\
|
|
||||||
&& !defined(IMLIB_ENABLE_ROTATION_CORR)
|
|
||||||
#define IMLIB_ENABLE_ROTATION_CORR
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Enable get_similarity()
|
// Enable get_similarity()
|
||||||
|
|||||||
@ -69,12 +69,8 @@
|
|||||||
//#define IMLIB_ENABLE_ROTATION_CORR
|
//#define IMLIB_ENABLE_ROTATION_CORR
|
||||||
|
|
||||||
// Enable phasecorrelate()
|
// Enable phasecorrelate()
|
||||||
|
#if defined(IMLIB_ENABLE_ROTATION_CORR)
|
||||||
//#define IMLIB_ENABLE_FIND_DISPLACEMENT
|
//#define IMLIB_ENABLE_FIND_DISPLACEMENT
|
||||||
|
|
||||||
// rotation_corr() is required by phasecorrelate()
|
|
||||||
#if defined(IMLIB_ENABLE_FIND_DISPLACEMENT)\
|
|
||||||
&& !defined(IMLIB_ENABLE_ROTATION_CORR)
|
|
||||||
#define IMLIB_ENABLE_ROTATION_CORR
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Enable get_similarity()
|
// Enable get_similarity()
|
||||||
|
|||||||
@ -72,12 +72,8 @@
|
|||||||
#define IMLIB_ENABLE_ROTATION_CORR
|
#define IMLIB_ENABLE_ROTATION_CORR
|
||||||
|
|
||||||
// Enable phasecorrelate()
|
// Enable phasecorrelate()
|
||||||
|
#if defined(IMLIB_ENABLE_ROTATION_CORR)
|
||||||
#define IMLIB_ENABLE_FIND_DISPLACEMENT
|
#define IMLIB_ENABLE_FIND_DISPLACEMENT
|
||||||
|
|
||||||
// rotation_corr() is required by phasecorrelate()
|
|
||||||
#if defined(IMLIB_ENABLE_FIND_DISPLACEMENT)\
|
|
||||||
&& !defined(IMLIB_ENABLE_ROTATION_CORR)
|
|
||||||
#define IMLIB_ENABLE_ROTATION_CORR
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Enable get_similarity()
|
// Enable get_similarity()
|
||||||
|
|||||||
@ -72,12 +72,8 @@
|
|||||||
#define IMLIB_ENABLE_ROTATION_CORR
|
#define IMLIB_ENABLE_ROTATION_CORR
|
||||||
|
|
||||||
// Enable phasecorrelate()
|
// Enable phasecorrelate()
|
||||||
|
#if defined(IMLIB_ENABLE_ROTATION_CORR)
|
||||||
#define IMLIB_ENABLE_FIND_DISPLACEMENT
|
#define IMLIB_ENABLE_FIND_DISPLACEMENT
|
||||||
|
|
||||||
// rotation_corr() is required by phasecorrelate()
|
|
||||||
#if defined(IMLIB_ENABLE_FIND_DISPLACEMENT)\
|
|
||||||
&& !defined(IMLIB_ENABLE_ROTATION_CORR)
|
|
||||||
#define IMLIB_ENABLE_ROTATION_CORR
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Enable get_similarity()
|
// Enable get_similarity()
|
||||||
|
|||||||
@ -72,12 +72,8 @@
|
|||||||
#define IMLIB_ENABLE_ROTATION_CORR
|
#define IMLIB_ENABLE_ROTATION_CORR
|
||||||
|
|
||||||
// Enable phasecorrelate()
|
// Enable phasecorrelate()
|
||||||
|
#if defined(IMLIB_ENABLE_ROTATION_CORR)
|
||||||
#define IMLIB_ENABLE_FIND_DISPLACEMENT
|
#define IMLIB_ENABLE_FIND_DISPLACEMENT
|
||||||
|
|
||||||
// rotation_corr() is required by phasecorrelate()
|
|
||||||
#if defined(IMLIB_ENABLE_FIND_DISPLACEMENT)\
|
|
||||||
&& !defined(IMLIB_ENABLE_ROTATION_CORR)
|
|
||||||
#define IMLIB_ENABLE_ROTATION_CORR
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Enable get_similarity()
|
// Enable get_similarity()
|
||||||
|
|||||||
@ -72,12 +72,8 @@
|
|||||||
#define IMLIB_ENABLE_ROTATION_CORR
|
#define IMLIB_ENABLE_ROTATION_CORR
|
||||||
|
|
||||||
// Enable phasecorrelate()
|
// Enable phasecorrelate()
|
||||||
|
#if defined(IMLIB_ENABLE_ROTATION_CORR)
|
||||||
#define IMLIB_ENABLE_FIND_DISPLACEMENT
|
#define IMLIB_ENABLE_FIND_DISPLACEMENT
|
||||||
|
|
||||||
// rotation_corr() is required by phasecorrelate()
|
|
||||||
#if defined(IMLIB_ENABLE_FIND_DISPLACEMENT)\
|
|
||||||
&& !defined(IMLIB_ENABLE_ROTATION_CORR)
|
|
||||||
#define IMLIB_ENABLE_ROTATION_CORR
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Enable get_similarity()
|
// Enable get_similarity()
|
||||||
|
|||||||
@ -72,12 +72,8 @@
|
|||||||
#define IMLIB_ENABLE_ROTATION_CORR
|
#define IMLIB_ENABLE_ROTATION_CORR
|
||||||
|
|
||||||
// Enable phasecorrelate()
|
// Enable phasecorrelate()
|
||||||
|
#if defined(IMLIB_ENABLE_ROTATION_CORR)
|
||||||
#define IMLIB_ENABLE_FIND_DISPLACEMENT
|
#define IMLIB_ENABLE_FIND_DISPLACEMENT
|
||||||
|
|
||||||
// rotation_corr() is required by phasecorrelate()
|
|
||||||
#if defined(IMLIB_ENABLE_FIND_DISPLACEMENT)\
|
|
||||||
&& !defined(IMLIB_ENABLE_ROTATION_CORR)
|
|
||||||
#define IMLIB_ENABLE_ROTATION_CORR
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Enable get_similarity()
|
// Enable get_similarity()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user