Commit Graph

2554 Commits

Author SHA1 Message Date
Davis King
7abc94b216 fixed typo 2011-10-07 20:03:59 -04:00
Davis King
4c85ee1eb0 clarified spec 2011-10-02 18:34:38 -04:00
Davis King
b5467d0f5c Optimized the trust region solver a little bit. 2011-10-01 16:04:20 -04:00
Davis King
1a2a524ad4 Changed LAPACK bindings so that really small matrices don't use LAPACK
for eigenvalue_decomposition or the triangular solver.
2011-10-01 16:02:38 -04:00
Davis King
2bbab69104 Changed chol() so it only calls LAPACK if the matrix is big enough
to benefit from LAPACK.
2011-10-01 15:37:53 -04:00
Davis King
65af5bfbbb Added a constructor to array2d that lets you set its size. 2011-10-01 09:11:56 -04:00
Davis King
6db9eb73cf clarified spec 2011-10-01 08:40:24 -04:00
Davis King
3c04d06abb Changed the behavior of gaussian_blur() to make it a little more user friendly. 2011-09-29 19:19:32 -04:00
Davis King
128cc0cb51 Added a parameter to control the maximum number of iterations for the
two OCA based svm optimizers.
2011-09-28 17:47:13 -04:00
Davis King
507fc31578 updated docs 2011-09-27 20:55:40 -04:00
Davis King
9ac9ad9e59 Fixed a bug pointed out by Justin Solomon which could cause the svr_trainer and
svm_c_trainer to produce incorrect results in certain unusual cases.  Also added
unit tests to make sure the bug stays fixed.
2011-09-26 20:04:51 -04:00
Davis King
c5a68e71ec Fixed typo in spec 2011-09-25 12:36:33 -04:00
Davis King
f252242b3d Added a cast to avoid compiler errors in visual studio. 2011-09-25 12:26:26 -04:00
Davis King
6e6aac1e28 updated release notes 2011-09-25 11:37:11 -04:00
Davis King
552196b01e Added missing assert and made minor refinements to spec. 2011-09-25 11:36:36 -04:00
Davis King
d7debab691 updated docs 2011-09-24 23:20:19 -04:00
Davis King
374bdd5295 Added some tests for the label_connected_blobs() function. 2011-09-24 23:03:43 -04:00
Davis King
463ef33f65 Added the label_connected_blobs() routine. 2011-09-24 22:44:39 -04:00
Davis King
27a6ad4560 Added a blur step to the edge finding example. 2011-09-24 18:40:06 -04:00
Davis King
6aaf3467d4 updated spec 2011-09-24 18:13:56 -04:00
Davis King
6df0f97516 updated docs 2011-09-24 18:11:44 -04:00
Davis King
1be45d9757 Changed suppress_non_maximum_edges() to use the L2 norm instead of L1 norm
for measuring the strength of an edge since this produces a slightly better
result.
2011-09-24 17:59:45 -04:00
Davis King
cb2aac606d Removed an unneeded cast. 2011-09-24 17:35:43 -04:00
Davis King
921571600b Added a convenience routine for blurring an image with a Gaussian filter. 2011-09-24 16:56:03 -04:00
Davis King
a9ffaf8fa8 Added is_float_type. 2011-09-24 16:38:51 -04:00
Davis King
c0bb7952bf Fixed a bug in the matrix class. Expressions of the form mat *= mat(0) would
evaluate incorrectly because the *= operator took the right hand side by reference
and thus experienced an aliasing problem.  The other op= operators had similar
problems and have also been fixed.
2011-09-24 12:26:37 -04:00
Davis King
2b3ba0bc48 updated docs 2011-09-24 11:49:57 -04:00
Davis King
ad341810c4 Increased usability of the dlib CMakeLists.txt file slightly. 2011-09-24 00:11:14 -04:00
Davis King
841615f5a0 updated docs 2011-09-23 23:52:49 -04:00
Davis King
ac76165ed5 setup cmake file to link against sqlite3 if it can find it. 2011-09-23 23:41:05 -04:00
Davis King
1757a04758 updated docs 2011-09-23 23:29:50 -04:00
Davis King
94ff8e83c9 Just removed the sqlite namespace and unindended everything. 2011-09-23 23:16:15 -04:00
Davis King
8d1cf196b1 Added missing asserts and clarified spec. 2011-09-23 22:52:40 -04:00
Davis King
5370c77888 Added a C++ wrapper for SQLite. 2011-09-23 22:35:07 -04:00
Davis King
e8316fd334 Changed shared_ptr slightly to avoid warnings from gcc. 2011-09-22 20:25:33 -04:00
Davis King
000b7e7099 Changed find_max_factor_graph_nmplp() to use a simple hash table instead
of std::map.  This is significantly faster.  I also added some missing asserts
to validate that the map problems supplied by the user are valid.
2011-09-21 22:59:30 -04:00
Davis King
f1b5fc975e Changed the suppress_non_maximum_edges() routine so that it is more robust
to a wider range of pixel types.
2011-09-21 18:15:31 -04:00
Davis King
0ae2810178 Changed the makedocs script so it puts -RC onto the version if it isn't
invoked from the makerel script.
2011-09-20 18:27:47 -04:00
Davis King
e6a151e7f2 Another minor change to avoid a bug in visual studio 2005. 2011-09-19 18:56:57 -04:00
Davis@potato-xp.localnet
c5f064c8ce Changed code to avoid a bug in visual studio 2005 2011-09-19 18:46:08 -04:00
Davis King
a46094865d Previously, when using spatially_filter_image(), the intermediate filter computations
were carried out using variables of the same basic type as the input image's pixels.
I changed this to use the scalar type used by the actual filter given to this function
since this should result in fewer surprises (since the filter usually determines what
type is appropriate, not the input image).
2011-09-19 18:21:30 -04:00
Davis King
3e56939203 merged 2011-09-19 17:48:29 -04:00
Davis King
2b3e8c749f Minor change to make sure the change logs always show what files are modified. 2011-09-19 17:33:38 -04:00
Davis King
bb8a903e0b updated the docs 2011-09-18 23:40:01 -04:00
Davis King
428a36efdf fixed grammar 2011-09-18 22:12:11 -04:00
Davis King
1699d4f5d7 Minor change to avoid a compiler warning from gcc. 2011-09-18 21:11:20 -04:00
Davis King
16ad7a7a3c updated docs 2011-09-18 19:37:27 -04:00
Davis King
b4fd140d6d Added some casts and a few other minor changes to get the code compiling
in gcc 4.1.1.
2011-08-07 17:24:51 -04:00
Davis King
46c02483d7 Fixed some corner cases in find_max_factor_graph_viterbi() and also
added unit tests.
2011-09-18 17:15:30 -04:00
Davis King
108c46e581 Added missing requirement 2011-09-18 16:01:30 -04:00