-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
2,021 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
rm -r thumb/* | ||
rm data/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#Mon Apr 04 16:00:55 CEST 2011 | ||
SIZEOFPATCHRESIZEHEIGHT=16 | ||
TIMEOUT=0 | ||
NUMBEROFPATCH=1000 | ||
RESIZEMETHOD=3 | ||
SIZEOFPATCHRESIZEWIDTH=16 | ||
VECTORPATH=testsvectors/ | ||
NUMBEROFTV=5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#Mon Apr 04 16:00:55 CEST 2011 | ||
SIZEOFPATCHRESIZEHEIGHT=16 | ||
TIMEOUT=0 | ||
NUMBEROFPATCH=1000 | ||
RESIZEMETHOD=3 | ||
SIZEOFPATCHRESIZEWIDTH=16 | ||
SEARCHMAX=999999 | ||
KMAX=999999 | ||
VECTORPATH=testsvectors/ | ||
NUMBEROFTV=5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
####################################################### | ||
### | ||
### Information about quality / speedup | ||
### | ||
####################################################### | ||
|
||
# Number of patch (N) for index request picture | ||
# HIGHT = better quality, bad perf | ||
NUMBEROFPATCH=1000 | ||
|
||
# Number of test vector (T), max 50 | ||
# HIGHT = better quality, bad perf | ||
NUMBEROFTV=5 | ||
|
||
# Resize method use (influence performance): 1=BILL/Graphics2D, 2=PPV/Graphics2D, 3=BILL/AffineTransformOp et 4=PPV/AffineTransformOp | ||
RESIZEMETHOD=3 | ||
|
||
# Maximum NBT for a visual word (0 = no max). Avoid very big entry with all pictures | ||
INDEXCOMPRESSTHRESHOLD=5000 | ||
|
||
# Maximum percentage (between 0 and 1) of a word from a picture (0 = no max). Avoid too homogenous pictures | ||
MAXPERCTENTAGESIMILARWORD=0 | ||
|
||
####################################################### | ||
### | ||
### Information about tests vectors and patch build | ||
### Note: Must be the same as central server and other servers config | ||
### | ||
####################################################### | ||
|
||
# Path to the tests vectors | ||
VECTORPATH=testsvectors/ | ||
|
||
# Size of patch generation (width) | ||
SIZEOFPATCHRESIZEWIDTH=16 | ||
|
||
# Size of patch generation (height) | ||
SIZEOFPATCHRESIZEHEIGHT=16 | ||
|
||
####################################################### | ||
### | ||
### Information about security | ||
### | ||
####################################################### | ||
|
||
# Max similar pictures for a request | ||
KMAX=9999999 | ||
|
||
# Max search request at the same time | ||
SEARCHMAX=9999999 | ||
|
||
# Size of index queue | ||
SIZEOFINDEXQUEUE=1000000 | ||
|
||
####################################################### | ||
### | ||
### Information about database | ||
### | ||
####################################################### | ||
|
||
# Store name: MEMORY, KYOTO, KYOTOSINGLEFILE, REDIS, NESSDB, BDB, ... | ||
STORENAME=MEMORY | ||
|
||
# Path of index files | ||
INDEXPATH=index/ | ||
|
||
# Structure type of value (hashmap=0,treemap=1) | ||
STRUCTYPE = 0 | ||
|
||
# Default start size for hashmap map with a visual word (only effect if STRUCTYPE=0) | ||
HASHMAPSTARTSIZE=32 | ||
|
||
# Force sync database on disk avec each index images (only effect with some DB: Redis, BDB,...) | ||
SYNCAFTERIMAGE=TRUE | ||
|
||
################## | ||
### | ||
### MEMORY | ||
### | ||
################## | ||
|
||
# Start size for only-memory index (only effect if STORENAME=MEMORY) | ||
MEMORYSTARTSIZE = 4096 | ||
|
||
################## | ||
### | ||
### KYOTO CABINET | ||
### | ||
################## | ||
|
||
# apox -> tune_alignment : default 3 (8 = 1 << 3). DB is build and not updated (0), else more | ||
KYOTOAPOX=6 | ||
|
||
# bnum -> tune_buckets : number of bucket (number eof entry * 2) | ||
KYOTOBNUM=1M | ||
|
||
# dfunit -> tune_defrag : defrag after x update (default 8): more = quick, less = heavy space | ||
KYOTODFUNIT=100 | ||
|
||
# Cache DB for main index | ||
KYOTOCACHEMAININDEX=512M | ||
|
||
# Cache DB for metadata index | ||
KYOTOCACHEMETADATA=40M | ||
|
||
# Cache DB for compress index | ||
KYOTOCACHECOMPRESS=50M | ||
|
||
################## | ||
### | ||
### REDIS | ||
### | ||
################## | ||
|
||
#DATABASES (redis.conf) must be equal to (S*T*1)+(S*3)+(S*T*1) | ||
|
||
# Redis host adress | ||
REDISHOST=localhost | ||
|
||
# Redis host port | ||
REDISPORT=6379 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
####################################################### | ||
### | ||
### Information about quality / speedup | ||
### | ||
####################################################### | ||
|
||
# Number of patch (N) for index request picture | ||
# HIGHT = better quality, bad perf | ||
NUMBEROFPATCH=1000 | ||
|
||
# Number of test vector (T), max 50 | ||
# HIGHT = better quality, bad perf | ||
NUMBEROFTV=5 | ||
|
||
# Resize method use (influence performance): 1=BILL/Graphics2D, 2=PPV/Graphics2D, 3=BILL/AffineTransformOp et 4=PPV/AffineTransformOp | ||
RESIZEMETHOD=3 | ||
|
||
# Maximum NBT for a visual word (0 = no max). Avoid very big entry with all pictures | ||
INDEXCOMPRESSTHRESHOLD=0 | ||
|
||
# Maximum percentage (between 0 and 1) of a word from a picture (0 = no max). Avoid too homogenous pictures | ||
MAXPERCTENTAGESIMILARWORD=0 | ||
|
||
####################################################### | ||
### | ||
### Information about tests vectors and patch build | ||
### Note: Must be the same as central server and other servers config | ||
### | ||
####################################################### | ||
|
||
# Path to the tests vectors | ||
VECTORPATH=testsvectors/ | ||
|
||
# Size of patch generation (width) | ||
SIZEOFPATCHRESIZEWIDTH=16 | ||
|
||
# Size of patch generation (height) | ||
SIZEOFPATCHRESIZEHEIGHT=16 | ||
|
||
####################################################### | ||
### | ||
### Information about security | ||
### | ||
####################################################### | ||
|
||
# Max similar pictures for a request | ||
KMAX=9999999 | ||
|
||
# Max search request at the same time | ||
SEARCHMAX=9999999 | ||
|
||
# Size of index queue | ||
SIZEOFINDEXQUEUE=1000000 | ||
|
||
####################################################### | ||
### | ||
### Information about database | ||
### | ||
####################################################### | ||
|
||
# Store name: MEMORY, KYOTO, KYOTOSINGLEFILE, REDIS, NESSDB, BDB, ... | ||
STORENAME=MEMORY | ||
|
||
# Path of index files | ||
INDEXPATH=index/ | ||
|
||
# Structure type of value (hashmap=0,treemap=1) | ||
STRUCTYPE = 0 | ||
|
||
# Default start size for hashmap map with a visual word (only effect if STRUCTYPE=0) | ||
HASHMAPSTARTSIZE=32 | ||
|
||
# Force sync database on disk avec each index images (only effect with some DB: Redis, BDB,...) | ||
SYNCAFTERIMAGE=TRUE | ||
|
||
################## | ||
### | ||
### MEMORY | ||
### | ||
################## | ||
|
||
# Start size for only-memory index (only effect if STORENAME=MEMORY) | ||
MEMORYSTARTSIZE = 4096 | ||
|
||
################## | ||
### | ||
### KYOTO CABINET | ||
### | ||
################## | ||
|
||
# apox -> tune_alignment : default 3 (8 = 1 << 3). DB is build and not updated (0), else more | ||
KYOTOAPOX=6 | ||
|
||
# bnum -> tune_buckets : number of bucket (number eof entry * 2) | ||
KYOTOBNUM=1M | ||
|
||
# dfunit -> tune_defrag : defrag after x update (default 8): more = quick, less = heavy space | ||
KYOTODFUNIT=100 | ||
|
||
# Cache DB for main index | ||
KYOTOCACHEMAININDEX=512M | ||
|
||
# Cache DB for metadata index | ||
KYOTOCACHEMETADATA=40M | ||
|
||
# Cache DB for compress index | ||
KYOTOCACHECOMPRESS=50M | ||
|
||
################## | ||
### | ||
### REDIS | ||
### | ||
################## | ||
|
||
#DATABASES (redis.conf) must be equal to (S*T*1)+(S*3)+(S*T*1) | ||
|
||
# Redis host adress | ||
REDISHOST=localhost | ||
|
||
# Redis host port | ||
REDISPORT=6379 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#icbr | ||
#Tue Mar 02 09:04:15 CET 2010 | ||
STORENAME=BDB | ||
INDEXPATH=/home/finch/TFE/INDEXAPPLIC/bd1/ | ||
STRUCTYPE = 0 | ||
|
||
HASHMAPSTARTSIZE=32 | ||
FULLSIZEMAPTHRESHOLD=0 | ||
THRESHOLDVALUE=0 | ||
|
||
#MEMORY | ||
MEMORYSTARTSIZE = 4096 | ||
|
||
#BDB | ||
BDBCACHE=4000000000 | ||
BDBPATCHSCACHE=500000 | ||
BDBPATHSCACHE=5000000 | ||
BDBTRANSACTIONAL=FALSE | ||
|
||
#VOLDEMORT | ||
VOLDEMORTURL=tcp://localhost:6502 | ||
VOLDEMORTCONNECTIONTIMEOUT=1500000 | ||
VOLDEMORTSOCKETTIMEOUT=1500000 | ||
VOLDEMORTMAXTHREAD=75 | ||
VOLDEMORTMAXCONNECTIONPERNODE=30 | ||
|
||
#MYSQL | ||
MYSQLTABLEPREFIX=t | ||
MYSQLDRIVER=org.gjt.mm.mysql.Driver | ||
MYSQLURL=jdbc:mysql://localhost/cbir | ||
MYSQLUSER=root | ||
MYSQLPASSWORD=root | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
NUMBEROFVECTOR=5 | ||
NUMBEROFTEST=30 | ||
MAXSIZEX=16 | ||
MAXSIZEY=16 | ||
THRESHOLDMIN=0 | ||
THRESHOLDMAX=0 | ||
FIRSTVALUE=0 | ||
LASTVALUE=255 | ||
FIRSTPOSITION=0 | ||
LASTPOSITION=5 | ||
VECTORPATH=testsvectors/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<serverlist> | ||
<!--<server host = "192.168.1.102" port = "1234"/>!--> | ||
<server host = "127.0.0.1" port = "1235"/> | ||
<!--<server host = "192.168.1.102" port = "1235"/>!--> | ||
<!--<server host = "192.168.1.102" port = "1236"/>!--> | ||
</serverlist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<serverlist> | ||
<!--<server host = "192.168.1.102" port = "1234"/>!--> | ||
<server host = "127.0.0.1" port = "1234"/> | ||
<!--<server host = "192.168.1.102" port = "1235"/>!--> | ||
<!--<server host = "192.168.1.102" port = "1236"/>!--> | ||
</serverlist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<vector store="1"> | ||
<value key="7,10" value="216.21041837134842" position="1" /> | ||
<value key="6,11" value="242.47180528303187" position="1" /> | ||
<value key="7,15" value="19.750519828562677" position="0" /> | ||
<value key="14,8" value="85.99693606798685" position="1" /> | ||
<value key="13,11" value="26.264436037554873" position="2" /> | ||
<value key="1,2" value="17.501399357723788" position="0" /> | ||
<value key="8,3" value="75.93954502097169" position="0" /> | ||
<value key="4,2" value="209.30923625024704" position="2" /> | ||
<value key="9,9" value="153.31210083519048" position="0" /> | ||
<value key="7,14" value="150.31222667597692" position="1" /> | ||
<value key="7,5" value="75.38156624131635" position="1" /> | ||
<value key="15,7" value="79.13480430866606" position="0" /> | ||
<value key="6,2" value="184.87972533109678" position="2" /> | ||
<value key="0,8" value="236.0265294379976" position="0" /> | ||
<value key="1,3" value="235.16160115054646" position="1" /> | ||
<value key="4,15" value="55.84914138626135" position="2" /> | ||
<value key="8,6" value="117.25886976171343" position="2" /> | ||
<value key="12,1" value="165.5187409232273" position="2" /> | ||
<value key="14,7" value="242.46577650502073" position="0" /> | ||
<value key="9,11" value="64.45970293786422" position="0" /> | ||
<value key="6,0" value="161.5210764515115" position="2" /> | ||
<value key="0,11" value="214.90770487363383" position="1" /> | ||
<value key="0,13" value="139.10008722284516" position="2" /> | ||
<value key="0,12" value="47.50510065126534" position="0" /> | ||
<value key="3,13" value="87.76550020074873" position="1" /> | ||
<value key="0,11" value="135.9145427004738" position="0" /> | ||
<value key="13,2" value="203.05587729014297" position="0" /> | ||
<value key="13,15" value="202.3450577839199" position="0" /> | ||
<value key="8,15" value="15.56267941683545" position="2" /> | ||
<value key="0,12" value="73.75904868786183" position="2" /> | ||
</vector> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<vector store="10"> | ||
<value key="6,9" value="88.48409821856625" position="1" /> | ||
<value key="9,6" value="118.19193092351787" position="2" /> | ||
<value key="3,14" value="61.09343374897834" position="1" /> | ||
<value key="2,8" value="254.52590367293232" position="1" /> | ||
<value key="10,1" value="105.90342734434326" position="1" /> | ||
<value key="9,4" value="128.4861521562993" position="2" /> | ||
<value key="5,1" value="190.43044582094288" position="1" /> | ||
<value key="0,2" value="50.9750523931749" position="2" /> | ||
<value key="2,3" value="60.57971806125188" position="0" /> | ||
<value key="3,0" value="157.9107177695876" position="1" /> | ||
<value key="15,3" value="169.48834392138912" position="2" /> | ||
<value key="1,11" value="182.62090589975642" position="0" /> | ||
<value key="0,4" value="132.20013331344896" position="0" /> | ||
<value key="3,7" value="148.8227917050294" position="2" /> | ||
<value key="14,2" value="206.69820094247274" position="1" /> | ||
<value key="8,10" value="43.61264252236282" position="2" /> | ||
<value key="4,12" value="84.09481173755707" position="2" /> | ||
<value key="8,9" value="38.26503862943931" position="2" /> | ||
<value key="0,9" value="226.36251037555843" position="1" /> | ||
<value key="8,14" value="173.063936918633" position="1" /> | ||
<value key="2,5" value="131.63599604789908" position="0" /> | ||
<value key="0,11" value="92.00549225226067" position="1" /> | ||
<value key="11,0" value="182.80321836757406" position="0" /> | ||
<value key="1,1" value="174.78152641655404" position="1" /> | ||
<value key="3,1" value="1.8051202595103661" position="0" /> | ||
<value key="14,1" value="201.08963838449745" position="0" /> | ||
<value key="13,0" value="179.47789151251763" position="2" /> | ||
<value key="13,14" value="137.24612618232302" position="1" /> | ||
<value key="15,13" value="50.0866857903492" position="0" /> | ||
<value key="10,14" value="219.38661959989395" position="1" /> | ||
</vector> | ||
|
Oops, something went wrong.