File size: 2,233 Bytes
d4035c1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE group PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<group>

<p>These instructions explain how to use VLFeat from the command line
(shell).</p>

<p><a href="%pathto:download;">Download</a> and unpack the latest
VLFeat binary distribution in a directory of your choice
(e.g. <code>~/src/vlfeat</code>). Let <code>VLFEATROOT</code> denote
this directory.</p>

<p>The command line tools are located
in <code>VLFEATROOT/bin/ARCH</code>. Here <code>ARCH</code> denotes
the subdirectory relative to your architecture (e.g. <code>mac</code>
for Mac OS X PPC, <code>maci</code> for Mac OS X
Intel, <code>glx</code> for Linux, and so on). For instance, to run
the SIFT feature extraction code type</p>

<table class="checker">
<tr>
<th>Platform</th>
<th><code>ARCH</code></th>
<th>Example</th>
</tr>
<tr>
<td>Windows 32</td>
<td><code>w32</code></td>
<td><code>VLFEATROOT\bin\w32\sift.exe</code></td>
</tr>
<tr>
<td>Windows 64</td>
<td><code>w64</code></td>
<td><code>VLFEATROOT\bin\w64\sift.exe</code></td>
</tr>
<tr>
<td>Mac Intel</td>
<td><code>maci</code></td>
<td><code>VLFEATROOT/bin/maci/sift</code></td>
</tr>
<tr>
<td>Mac PPC</td>
<td><code>mac</code></td>
<td><code>VLFEATROOT/bin/mac/sift</code></td>
</tr>
<tr>
<td>Linux 32</td>
<td><code>glx</code></td>
<td><code>VLFEATROOT/bin/glx/sift</code></td>
</tr>
<tr>
<td>Linux 64</td>
<td><code>g64</code></td>
<td><code>VLFEATROOT/bin/g64/sift</code></td>
</tr>
</table>

<p>All commands have a corresponding man page found
in <code>VLFEATROOT/src</code>.  For UNIX based systems, the man pages
can be viewed with the <code>man</code> utility. For instance
</p>

<pre>
> man VLFEATROOT/src/sift.1
</pre>


<p>It might be convenient to add VLFeat to the system search paths. In
Linux and Mac OS X this involves modifying the <code>PATH</code>
and <code>MANPATH</code> environment variables. The exact details may
vary, but it should be enough to add the following to your
<code>~/.bash_profile</code>:</p>

<pre>
export PATH=VLFEATROOT/bin/ARCH:$PATH
export MANPATH=VLFEATROOT/src:$MANPATH
</pre>

<p>Alternatively, you can copy the executables and man pages to
appropriate system-wide directories.</p>

</group>