Davis King
f3310e68e5
Polished the example a little.
2012-05-20 22:10:25 -04:00
Davis King
0b82d5ead5
A minor change to avoid warnings about violation of string aliasing rules.
2012-05-20 21:20:13 -04:00
Davis King
371e3f397a
Simplified code slightly.
2012-05-20 20:25:01 -04:00
Davis King
d693e8f45b
updated docs
2012-05-20 20:02:51 -04:00
Davis King
27fdfd754b
Changed to avoid warnings in valgrind about invalid reads.
...
The manpages seemed to indicate that the previous code was
correct so I'm not sure if this was a bug or not. It's been
in dlib for years without causing trouble though.
2012-05-20 19:22:19 -04:00
Davis King
7b138433a7
updated docs
2012-05-20 18:29:11 -04:00
Davis King
3243bbfd15
Added an example program for the new graph labeling stuff.
2012-05-20 18:25:49 -04:00
Davis King
9abedba4fd
Added unit tests for the grid version of find_max_factor_graph_potts().
2012-05-20 16:09:08 -04:00
Davis King
1d6fc0068a
updated docs
2012-05-20 15:15:49 -04:00
Davis King
cbf420f337
- Made scale_by() work on dlib::matrix objects.
...
- Added an add() and subtract() that works on
sparse and dense vectors.
2012-05-20 15:06:41 -04:00
Davis King
0d3efbbd50
fixed grammar
2012-05-20 13:14:04 -04:00
Davis King
3e674f01eb
Added readme to base of mercurial repository.
2012-05-20 13:12:50 -04:00
Davis King
a17178eb1e
updated readme
2012-05-20 13:07:34 -04:00
Davis King
21a2348aee
Added picutres of the gui widgets to the documentation.
2012-05-20 12:03:52 -04:00
Davis King
eef85633da
updated docs
2012-05-19 23:57:58 -04:00
Davis King
755e378f47
Changed the is_signed_type and is_unsigned_type templates to work
...
with floating point types in addition to integer types.
2012-05-19 23:56:38 -04:00
Davis King
f7d6ab88e2
Clarified some specs, added a missing requirement to sum_filter(),
...
and added overloaded versions of a few image processing functions
to make doing in-place operations slightly more convenient.
2012-05-19 23:32:58 -04:00
Davis King
10b3aa24af
A minor change to avoid a compiler warning from gcc 4.4.
2012-05-19 23:23:21 -04:00
Davis King
fef1884353
Fixed a bug which caused you to get a compiler error if you tried
...
to call dot() on two 1x1 matrices which were statically dimensioned.
2012-05-19 20:25:25 -04:00
Davis King
5a4a62f74a
updated docs
2012-05-19 20:04:15 -04:00
Davis King
285accf33e
clarified spec
2012-05-19 20:03:11 -04:00
Davis King
e454159942
updated docs
2012-05-19 19:19:59 -04:00
Davis King
aac2ea6091
Clarified spec and added more tests.
2012-05-19 19:04:41 -04:00
Davis King
31e6568fcd
fixed spelling error in comment.
2012-05-19 18:41:41 -04:00
Davis King
d575fdce9b
Switched all the graph labeling stuff to use bool as a node label
...
rather than the node_label type from the min_cut object. This
should make the interface much less confusing.
2012-05-19 18:39:25 -04:00
Davis King
ba33b82e83
Added some tests to make sure the recent addition to svm_c_linear_trainer
...
works right.
2012-05-19 17:15:59 -04:00
Davis King
b7d8129013
Added the ability to learn only non-negative weights to the svm_c_linear_trainer.
2012-05-19 16:56:04 -04:00
Davis King
2f562b03bb
Clarified spec
2012-05-19 16:18:16 -04:00
Davis King
6907b00ac3
clarified spec
2012-05-19 15:59:57 -04:00
Davis King
2e65af36d5
minor cleanup
2012-05-19 15:57:08 -04:00
Davis King
bc6b0bdfdd
updated docs
2012-05-19 15:26:26 -04:00
Davis King
1b69ed2e46
Added another overload of find_max_factor_graph_potts() that works on
...
graphs that are regular grids.
2012-05-19 15:24:11 -04:00
Davis King
6bf0920d30
Added missing ;
2012-05-19 14:54:20 -04:00
Davis King
406a26d321
clarified spec
2012-05-19 14:53:41 -04:00
Davis King
a485d09497
Fixed typo in spec
2012-05-19 14:53:13 -04:00
Davis King
5d236308be
clarified spec
2012-05-19 14:41:32 -04:00
Davis King
c68a8fc77a
merged
2012-05-19 12:33:56 -04:00
Davis King
caf8437c51
updated main page
2012-05-19 11:48:59 -04:00
Davis King
2e2b317668
Added some compile time asserts.
2012-05-14 21:13:23 -04:00
Davis King
19ccb387b5
Changed the spec to say that array2d objects don't put padding at the
...
ends of the rows.
2012-05-14 20:04:37 -04:00
Davis King
4fdb329f11
Changed the SINK_CUT and FREE_NODE constants so that when we use graph
...
cuts on an image the result is a displayable binary image rather than
an image which is super dark and hard to view.
2012-05-14 19:47:33 -04:00
Davis King
3fa4c69e50
clarified docs
2012-05-12 13:06:56 -04:00
Davis King
f91527a398
Clarified spec
2012-05-12 13:06:48 -04:00
Davis King
d7dc8ae386
Fixed typo in spec
2012-05-12 12:53:44 -04:00
Davis King
9c5e66b466
Optimized this code a little.
2012-05-12 12:10:37 -04:00
Davis King
1570899cea
Improved aserts
2012-05-11 21:20:06 -04:00
Davis King
40e45d991d
Fixed typo in spec
2012-05-10 22:49:43 -04:00
Davis King
db5e785032
merged
2012-05-09 18:14:21 -04:00
Davis King
34dbc02d97
Fixed a bug in find_max_factor_graph_viterbi() which sometimes
...
occurred when the model order was larger than the number of variables.
2012-05-09 18:13:32 -04:00
Davis King
b2d7f83f3f
updated docs
2012-05-06 22:47:15 -04:00