]> mj.ucw.cz Git - libucw.git/blob - cf/images
b380d681614ab9f1a6b88e3114a25707b097d1a3
[libucw.git] / cf / images
1 # Configuration of the image library (included by cf/sherlock)
2
3 ######## General parameters #####################################################
4
5 Images {
6 }
7
8 ######## Image signatures #######################################################
9
10 ImageSig {
11
12 MinWidth        16
13 MinHeight       16
14
15 PreQuantThresholds      6 12 15 20 25 25 30 30 40 40 50 50 60 60 60
16 PostQuantMinSteps       2
17 PostQuantMaxSteps       10
18 PostQuantThreshold      1
19
20 # BorderBonus and BorderSize parameters can increase or decrease the weight
21 # of image pixels near the borders. Weight of all pixels more than BorderSize * MIN(cols, rows)
22 # pixels far from the edges is 128. Then this value continuously decrese/increse up to 128+BorderSize.
23 BorderSize              0.4
24 BorderBonus             -50
25
26 # Scaling constants for computation of normalized i-th order inertia features (I1, I2, I3).
27 InertiaScale            2 0.5 0.05
28
29 # Threshold for detecting textured images (see images/sig-txt.c for details).
30 # Decrease the threshold if you want less detected textures,
31 # set it to zero to disable the algorithm completely.
32 TexturedThreshold       0.32
33
34 # Signatures comparision method (integrated|fuzzy|average):
35 #
36 #   integrated
37 #       based on: James Z. Wang, Jia Li and Gio Wiederhold,
38 #       "SIMPLIcity: Semantics-Sensitive Integrated Matching for Picture Libraries",
39 #       IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 23, no. 9, pp. 947-963, 2001.
40 #
41 #   fuzzy
42 #       based on: Yixin Chen and James Z. Wang,
43 #       "A Region-Based Fuzzy Feature Matching Approach to Content-Based Image Retrieval",
44 #       IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 24, no. 9, pp. 1252-1267, 2002.
45 #
46 #   average
47 #       Simple distance of image features averages (ignores segmentation).
48 #
49 CompareMethod           integrated
50
51 # Array of multiplicative constants in feature vectors distance computation
52 # (L, u, v, LH, HL, HH, I1, I2, I3, X, Y). Each one must be an integer in range 0..15, default is 4.
53 CompareFeaturesWeights  4 6 6 4 4 4 4 4 4 4 4
54
55 }
56
57 ######## Duplicates finder ######################################################
58
59 ImageDup {
60 }
61