-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
79 lines (57 loc) · 2.84 KB
/
README
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
Graph-cut Based Background Subtraction
======================================
MATLAB implementation of Nicholas Howe's graph-cut based background
subtraction algorithm.
References
----------
[1] Howe, Nicholas R., and Alexandra Deschamps. "Better foreground
segmentation through graph cuts." arXiv preprint cs/0401017 (2004).
(http://arxiv.org/pdf/cs/0401017)
[2] Howe, Nicholas R. "Evaluating Recognition-Based Motion Capture on
HumanEva II Test Data." (2008).
(http://cs.smith.edu/~nhowe/Research/pubs/ehum08.pdf)
Credits
-------
The code is based on the original author's [implementation]
(http://www.cs.smith.edu/~nhowe/research/code/), which was
distributed with the following README file:
- - - - - - - -
MATLAB Implementation of Graph-Based Foreground Segmentation
------------------------------------------------------------
Written by Nicholas R. Howe
Packaged July 2004
Portions of code copyright Andrew Goldberg (see notice below)
This package comes with no warranty of any kind.
Description
-----------
The files in this package comprise the Matlab implementation of a
foreground segmentation algorithm based upon graph cuts, described in:
Better Foreground Segmentation Through Graph Cuts, N. Howe &
A. Deschamps. Tech report, http://arxiv.org/abs/cs.CV/0401017.
The file extractForeground.m contains a sample function that will
perform a complete foreground segmentation for static camera video.
It uses a number of parameters, which are described in the
documentation. An attempt was made to choose sensible default values,
but they may need to be adjusted for some videos.
More generally, the implementation in extractForeground.m is only a
suggestion of how the graph-based segmentation might be used. The
same approach can be applied with other (perhaps time-adaptive)
background models. The key step is at line 113 of the code, once the
deviation array has been created. The graph-cut segmentation can be
applied similarly to a deviation matrix computed in any other way.
Copyright Notice
----------------
The files included by gcut.cpp come from the Network Optimization
Library created by Andrew Goldberg
(http://www.avglab.com/andrew/soft.html). That code comes with the
copyright notice below:
PRF Copyright C 1995 IG Systems, Inc. Permission to use for evaluation
purposes is granted provided that proper acknowledgments are
given. For a commercial licence, contact igsys@eclipse.net.
This software comes with no warranty, expressed or implied. By way of
example, but not limitation, we make no representations of warranties
of merchantability or fitness for any particular purpose or that the
use of the software components or documentation will not infringe any
patents, copyrights, trademarks, or other rights.
The remaining files are copyright Nicholas R. Howe. Permission is
granted to use the material for noncommercial and research purposes.