]> mj.ucw.cz Git - libucw.git/blob - images/sig-cmp.c
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
[libucw.git] / images / sig-cmp.c
1 /*
2  *      Image Library -- Comparisions of image signatures
3  *
4  *      (c) 2006 Pavel Charvat <pchar@ucw.cz>
5  *
6  *      This software may be freely distributed and used according to the terms
7  *      of the GNU Lesser General Public License.
8  */
9
10 #undef LOCAL_DEBUG
11
12 #include "lib/lib.h"
13 #include "lib/math.h"
14 #include "images/math.h"
15 #include "images/images.h"
16 #include "images/signature.h"
17
18 #include <stdio.h>
19
20 #define ASORT_PREFIX(x) image_signatures_dist_integrated_##x
21 #define ASORT_KEY_TYPE uns
22 #define ASORT_ELT(i) items[i]
23 #define ASORT_EXTRA_ARGS , uns *items
24 #include "lib/arraysort.h"
25
26 #define EXPLAIN
27 #include "images/sig-cmp-gen.h"
28 #include "images/sig-cmp-gen.h"