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