Skip to content

Commit c6d0fc0

Browse files
committed
commit release folder
1 parent b2b12c7 commit c6d0fc0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+2021
-0
lines changed

release/template/clean.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
rm -r thumb/*
2+
rm data/*
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#Mon Apr 04 16:00:55 CEST 2011
2+
SIZEOFPATCHRESIZEHEIGHT=16
3+
TIMEOUT=0
4+
NUMBEROFPATCH=1000
5+
RESIZEMETHOD=3
6+
SIZEOFPATCHRESIZEWIDTH=16
7+
VECTORPATH=testsvectors/
8+
NUMBEROFTV=5
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#Mon Apr 04 16:00:55 CEST 2011
2+
SIZEOFPATCHRESIZEHEIGHT=16
3+
TIMEOUT=0
4+
NUMBEROFPATCH=1000
5+
RESIZEMETHOD=3
6+
SIZEOFPATCHRESIZEWIDTH=16
7+
SEARCHMAX=999999
8+
KMAX=999999
9+
VECTORPATH=testsvectors/
10+
NUMBEROFTV=5
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
#######################################################
2+
###
3+
### Information about quality / speedup
4+
###
5+
#######################################################
6+
7+
# Number of patch (N) for index request picture
8+
# HIGHT = better quality, bad perf
9+
NUMBEROFPATCH=1000
10+
11+
# Number of test vector (T), max 50
12+
# HIGHT = better quality, bad perf
13+
NUMBEROFTV=5
14+
15+
# Resize method use (influence performance): 1=BILL/Graphics2D, 2=PPV/Graphics2D, 3=BILL/AffineTransformOp et 4=PPV/AffineTransformOp
16+
RESIZEMETHOD=3
17+
18+
# Maximum NBT for a visual word (0 = no max). Avoid very big entry with all pictures
19+
INDEXCOMPRESSTHRESHOLD=5000
20+
21+
# Maximum percentage (between 0 and 1) of a word from a picture (0 = no max). Avoid too homogenous pictures
22+
MAXPERCTENTAGESIMILARWORD=0
23+
24+
#######################################################
25+
###
26+
### Information about tests vectors and patch build
27+
### Note: Must be the same as central server and other servers config
28+
###
29+
#######################################################
30+
31+
# Path to the tests vectors
32+
VECTORPATH=testsvectors/
33+
34+
# Size of patch generation (width)
35+
SIZEOFPATCHRESIZEWIDTH=16
36+
37+
# Size of patch generation (height)
38+
SIZEOFPATCHRESIZEHEIGHT=16
39+
40+
#######################################################
41+
###
42+
### Information about security
43+
###
44+
#######################################################
45+
46+
# Max similar pictures for a request
47+
KMAX=9999999
48+
49+
# Max search request at the same time
50+
SEARCHMAX=9999999
51+
52+
# Size of index queue
53+
SIZEOFINDEXQUEUE=1000000
54+
55+
#######################################################
56+
###
57+
### Information about database
58+
###
59+
#######################################################
60+
61+
# Store name: MEMORY, KYOTO, KYOTOSINGLEFILE, REDIS, NESSDB, BDB, ...
62+
STORENAME=MEMORY
63+
64+
# Path of index files
65+
INDEXPATH=index/
66+
67+
# Structure type of value (hashmap=0,treemap=1)
68+
STRUCTYPE = 0
69+
70+
# Default start size for hashmap map with a visual word (only effect if STRUCTYPE=0)
71+
HASHMAPSTARTSIZE=32
72+
73+
# Force sync database on disk avec each index images (only effect with some DB: Redis, BDB,...)
74+
SYNCAFTERIMAGE=TRUE
75+
76+
##################
77+
###
78+
### MEMORY
79+
###
80+
##################
81+
82+
# Start size for only-memory index (only effect if STORENAME=MEMORY)
83+
MEMORYSTARTSIZE = 4096
84+
85+
##################
86+
###
87+
### KYOTO CABINET
88+
###
89+
##################
90+
91+
# apox -> tune_alignment : default 3 (8 = 1 << 3). DB is build and not updated (0), else more
92+
KYOTOAPOX=6
93+
94+
# bnum -> tune_buckets : number of bucket (number eof entry * 2)
95+
KYOTOBNUM=1M
96+
97+
# dfunit -> tune_defrag : defrag after x update (default 8): more = quick, less = heavy space
98+
KYOTODFUNIT=100
99+
100+
# Cache DB for main index
101+
KYOTOCACHEMAININDEX=512M
102+
103+
# Cache DB for metadata index
104+
KYOTOCACHEMETADATA=40M
105+
106+
# Cache DB for compress index
107+
KYOTOCACHECOMPRESS=50M
108+
109+
##################
110+
###
111+
### REDIS
112+
###
113+
##################
114+
115+
#DATABASES (redis.conf) must be equal to (S*T*1)+(S*3)+(S*T*1)
116+
117+
# Redis host adress
118+
REDISHOST=localhost
119+
120+
# Redis host port
121+
REDISPORT=6379
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
#######################################################
2+
###
3+
### Information about quality / speedup
4+
###
5+
#######################################################
6+
7+
# Number of patch (N) for index request picture
8+
# HIGHT = better quality, bad perf
9+
NUMBEROFPATCH=1000
10+
11+
# Number of test vector (T), max 50
12+
# HIGHT = better quality, bad perf
13+
NUMBEROFTV=5
14+
15+
# Resize method use (influence performance): 1=BILL/Graphics2D, 2=PPV/Graphics2D, 3=BILL/AffineTransformOp et 4=PPV/AffineTransformOp
16+
RESIZEMETHOD=3
17+
18+
# Maximum NBT for a visual word (0 = no max). Avoid very big entry with all pictures
19+
INDEXCOMPRESSTHRESHOLD=0
20+
21+
# Maximum percentage (between 0 and 1) of a word from a picture (0 = no max). Avoid too homogenous pictures
22+
MAXPERCTENTAGESIMILARWORD=0
23+
24+
#######################################################
25+
###
26+
### Information about tests vectors and patch build
27+
### Note: Must be the same as central server and other servers config
28+
###
29+
#######################################################
30+
31+
# Path to the tests vectors
32+
VECTORPATH=testsvectors/
33+
34+
# Size of patch generation (width)
35+
SIZEOFPATCHRESIZEWIDTH=16
36+
37+
# Size of patch generation (height)
38+
SIZEOFPATCHRESIZEHEIGHT=16
39+
40+
#######################################################
41+
###
42+
### Information about security
43+
###
44+
#######################################################
45+
46+
# Max similar pictures for a request
47+
KMAX=9999999
48+
49+
# Max search request at the same time
50+
SEARCHMAX=9999999
51+
52+
# Size of index queue
53+
SIZEOFINDEXQUEUE=1000000
54+
55+
#######################################################
56+
###
57+
### Information about database
58+
###
59+
#######################################################
60+
61+
# Store name: MEMORY, KYOTO, KYOTOSINGLEFILE, REDIS, NESSDB, BDB, ...
62+
STORENAME=MEMORY
63+
64+
# Path of index files
65+
INDEXPATH=index/
66+
67+
# Structure type of value (hashmap=0,treemap=1)
68+
STRUCTYPE = 0
69+
70+
# Default start size for hashmap map with a visual word (only effect if STRUCTYPE=0)
71+
HASHMAPSTARTSIZE=32
72+
73+
# Force sync database on disk avec each index images (only effect with some DB: Redis, BDB,...)
74+
SYNCAFTERIMAGE=TRUE
75+
76+
##################
77+
###
78+
### MEMORY
79+
###
80+
##################
81+
82+
# Start size for only-memory index (only effect if STORENAME=MEMORY)
83+
MEMORYSTARTSIZE = 4096
84+
85+
##################
86+
###
87+
### KYOTO CABINET
88+
###
89+
##################
90+
91+
# apox -> tune_alignment : default 3 (8 = 1 << 3). DB is build and not updated (0), else more
92+
KYOTOAPOX=6
93+
94+
# bnum -> tune_buckets : number of bucket (number eof entry * 2)
95+
KYOTOBNUM=1M
96+
97+
# dfunit -> tune_defrag : defrag after x update (default 8): more = quick, less = heavy space
98+
KYOTODFUNIT=100
99+
100+
# Cache DB for main index
101+
KYOTOCACHEMAININDEX=512M
102+
103+
# Cache DB for metadata index
104+
KYOTOCACHEMETADATA=40M
105+
106+
# Cache DB for compress index
107+
KYOTOCACHECOMPRESS=50M
108+
109+
##################
110+
###
111+
### REDIS
112+
###
113+
##################
114+
115+
#DATABASES (redis.conf) must be equal to (S*T*1)+(S*3)+(S*T*1)
116+
117+
# Redis host adress
118+
REDISHOST=localhost
119+
120+
# Redis host port
121+
REDISPORT=6379
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#icbr
2+
#Tue Mar 02 09:04:15 CET 2010
3+
STORENAME=BDB
4+
INDEXPATH=/home/finch/TFE/INDEXAPPLIC/bd1/
5+
STRUCTYPE = 0
6+
7+
HASHMAPSTARTSIZE=32
8+
FULLSIZEMAPTHRESHOLD=0
9+
THRESHOLDVALUE=0
10+
11+
#MEMORY
12+
MEMORYSTARTSIZE = 4096
13+
14+
#BDB
15+
BDBCACHE=4000000000
16+
BDBPATCHSCACHE=500000
17+
BDBPATHSCACHE=5000000
18+
BDBTRANSACTIONAL=FALSE
19+
20+
#VOLDEMORT
21+
VOLDEMORTURL=tcp://localhost:6502
22+
VOLDEMORTCONNECTIONTIMEOUT=1500000
23+
VOLDEMORTSOCKETTIMEOUT=1500000
24+
VOLDEMORTMAXTHREAD=75
25+
VOLDEMORTMAXCONNECTIONPERNODE=30
26+
27+
#MYSQL
28+
MYSQLTABLEPREFIX=t
29+
MYSQLDRIVER=org.gjt.mm.mysql.Driver
30+
MYSQLURL=jdbc:mysql://localhost/cbir
31+
MYSQLUSER=root
32+
MYSQLPASSWORD=root
33+
34+
35+
36+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
NUMBEROFVECTOR=5
2+
NUMBEROFTEST=30
3+
MAXSIZEX=16
4+
MAXSIZEY=16
5+
THRESHOLDMIN=0
6+
THRESHOLDMAX=0
7+
FIRSTVALUE=0
8+
LASTVALUE=255
9+
FIRSTPOSITION=0
10+
LASTPOSITION=5
11+
VECTORPATH=testsvectors/

release/template/config/server.xml~

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<serverlist>
2+
<!--<server host = "192.168.1.102" port = "1234"/>!-->
3+
<server host = "127.0.0.1" port = "1235"/>
4+
<!--<server host = "192.168.1.102" port = "1235"/>!-->
5+
<!--<server host = "192.168.1.102" port = "1236"/>!-->
6+
</serverlist>

release/template/config/servers.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<serverlist>
2+
<!--<server host = "192.168.1.102" port = "1234"/>!-->
3+
<server host = "127.0.0.1" port = "1234"/>
4+
<!--<server host = "192.168.1.102" port = "1235"/>!-->
5+
<!--<server host = "192.168.1.102" port = "1236"/>!-->
6+
</serverlist>

release/template/testsvectors/1.xml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<vector store="1">
3+
<value key="7,10" value="216.21041837134842" position="1" />
4+
<value key="6,11" value="242.47180528303187" position="1" />
5+
<value key="7,15" value="19.750519828562677" position="0" />
6+
<value key="14,8" value="85.99693606798685" position="1" />
7+
<value key="13,11" value="26.264436037554873" position="2" />
8+
<value key="1,2" value="17.501399357723788" position="0" />
9+
<value key="8,3" value="75.93954502097169" position="0" />
10+
<value key="4,2" value="209.30923625024704" position="2" />
11+
<value key="9,9" value="153.31210083519048" position="0" />
12+
<value key="7,14" value="150.31222667597692" position="1" />
13+
<value key="7,5" value="75.38156624131635" position="1" />
14+
<value key="15,7" value="79.13480430866606" position="0" />
15+
<value key="6,2" value="184.87972533109678" position="2" />
16+
<value key="0,8" value="236.0265294379976" position="0" />
17+
<value key="1,3" value="235.16160115054646" position="1" />
18+
<value key="4,15" value="55.84914138626135" position="2" />
19+
<value key="8,6" value="117.25886976171343" position="2" />
20+
<value key="12,1" value="165.5187409232273" position="2" />
21+
<value key="14,7" value="242.46577650502073" position="0" />
22+
<value key="9,11" value="64.45970293786422" position="0" />
23+
<value key="6,0" value="161.5210764515115" position="2" />
24+
<value key="0,11" value="214.90770487363383" position="1" />
25+
<value key="0,13" value="139.10008722284516" position="2" />
26+
<value key="0,12" value="47.50510065126534" position="0" />
27+
<value key="3,13" value="87.76550020074873" position="1" />
28+
<value key="0,11" value="135.9145427004738" position="0" />
29+
<value key="13,2" value="203.05587729014297" position="0" />
30+
<value key="13,15" value="202.3450577839199" position="0" />
31+
<value key="8,15" value="15.56267941683545" position="2" />
32+
<value key="0,12" value="73.75904868786183" position="2" />
33+
</vector>
34+

0 commit comments

Comments
 (0)