1 /*########################################################################
3 * Copyright(C) 2002-2012. All Rights Reserved.
5 * Authors: Shivang Patel
7 * Peter Tummeltshammer(petertu)
10 * Changes: jdh -> Added support for ImageMagick that enables
11 * to export files to more than 40 formats.
12 * Changes: petertu -> Modified import.c and export.c
13 * -> added function ImageEnhanceThinned()
14 * Changes: mw -> Changed deprecated and adapted for dvp lu
16 * This is free software; you can redistribute it and/or modify it under
17 * the terms of the GNU General Public License as published by the Free
18 * Software Foundation; either version 2, or (at your option) any later
21 * This is distributed in the hope that it will be useful, but WITHOUT
22 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
23 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
26 * You should have received a copy of the GNU General Public License with
27 * the fvs source package as the
28 * file COPYING. If not, write to the Free Software Foundation, Inc.,
29 * 59 Temple Place - Suite 330, Boston, MA
31 ########################################################################*/
35 int main(int argc
, char *argv
[])
37 /* check if all parameters are there */
40 printf("Usage:\n %s base_image input_images...\n", argv
[0]);
44 int numberOfFiles
= argc
- 1;
45 char **listOfFiles
= argv
+ 1;
46 FvsFloat_t
*goodness
= calculateGoodnesses(numberOfFiles
, (const char**)listOfFiles
);
48 for (int i
= 1; i
< numberOfFiles
; ++i
)
50 fprintf(stdout
, "Matching: %s %s = %3.2f\n", listOfFiles
[0], listOfFiles
[i
], goodness
[i
]*100);