Commit Graph

2371 Commits

Author SHA1 Message Date
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
Davis King
74e0007cd1 updated docs 2011-09-18 15:48:23 -04:00
Davis King
6bbbd3cf82 Minor clarification. 2011-09-18 15:46:39 -04:00
Davis King
ccac84538d Added the find_max_factor_graph_viterbi() routine for performing MAP
inference in chain-structured factor graphs.
2011-09-18 15:19:22 -04:00
Davis King
808ca1041b Renamed a function so auto complete in Vim works more conveniently. 2011-09-18 08:48:32 -04:00
Davis@potato-xp.localnet
b1af808d01 Changed code slightly to avoid a bug in visual studio 2005. 2011-09-18 08:34:45 -04:00
Davis King
a963f5d51c Added unit tests for the new object detection tools 2011-09-17 17:20:03 -04:00
Davis King
4d3cef3632 Minor changes to avoid compiler warnings 2011-09-17 17:02:08 -04:00
Davis King
f56b8a10c2 updated docs 2011-09-17 16:49:04 -04:00
Davis King
948340478e minor fix 2011-09-17 16:30:38 -04:00
Davis King
3f229d64f8 updated docs 2011-09-17 16:30:21 -04:00
Davis King
ed7c344a53 Added some examples for the new object detection stuff. 2011-09-17 16:23:06 -04:00
Davis King
79c4c85a44 Fixed grammar. 2011-09-17 16:13:54 -04:00
Davis King
08b23f2f3b Fixed spelling error. 2011-09-17 14:46:15 -04:00
Davis King
bfd61cf29b Just renamed get_scales() to get_hash_bin_sizes() to make things more clear. 2011-09-17 13:21:24 -04:00
Davis King
bcd9a781f6 Just renamed find_map_nmplp() to find_max_factor_graph_nmplp()
--HG--
rename : dlib/optimization/find_map_nmplp.h => dlib/optimization/find_max_factor_graph_nmplp.h
rename : dlib/optimization/find_map_nmplp_abstract.h => dlib/optimization/find_max_factor_graph_nmplp_abstract.h
rename : dlib/test/find_map_nmplp.cpp => dlib/test/find_max_factor_graph_nmplp.cpp
2011-09-17 11:35:55 -04:00
Davis King
b9a9b5991e Minor change to avoid a linker error. 2011-09-17 00:16:51 -04:00
Davis King
ff10d3bdbd Changed scan_image() so that once the max number of detections is reached
it begins randomly subsampling possible detection locations rather than
just stopping the detection procedure.
2011-09-15 22:36:51 -04:00
Davis King
e30d04a4ed clarified the spec 2011-09-15 21:58:59 -04:00
Davis King
a1775d1b1e Added some comments. 2011-09-15 21:16:51 -04:00
Davis King
cdcbe6dc3d Fleshed out the spec. 2011-09-15 20:59:00 -04:00
Davis King
97c8bfca75 Fixed bugs in asserts. 2011-09-15 20:21:08 -04:00
Davis King
51491c8cc6 updated docs 2011-09-15 20:05:04 -04:00
Davis King
3eb0d9732e Added the cross_validate_object_detection_trainer() and test_object_detection_function()
routines.
2011-09-15 19:58:49 -04:00
Davis King
0aa89e074b Improved the error messages generated by the structural_svm_object_detection_problem. 2011-09-15 19:32:35 -04:00
Davis King
b721e0982b Increased the default max detections per template from 2000 to 10000 since
setting this value too low can sometimes result in the failure of the
structural_svm_object_detection_problem.
2011-09-15 19:09:46 -04:00
Davis King
fc84798b7c clarified spec 2011-09-14 23:03:16 -04:00
Davis King
556b6bbd05 updated docs 2011-09-11 22:51:13 -04:00
Davis King
1b8504a09f updated docs 2011-09-11 12:25:36 -04:00
Davis King
a66a7dd884 Added an initial version of the structural_object_detection_trainer. This is
a tool for learning the parameters for an object like scan_image_pyramid.
2011-09-11 12:14:31 -04:00
Davis King
b795c19b32 Defaulted the overlap tester type to test_box_overlap. 2011-09-11 12:03:08 -04:00
Davis King
3358d71446 added missing requirement. 2011-09-11 11:00:06 -04:00
Davis King
ed9f5bd68f Fixed the width_step() member functions. They weren't defined in quite the
way they should have been.
2011-09-11 10:50:37 -04:00
Davis King
275d7d1ac5 Minor change to avoid a compiler warning. 2011-09-11 10:49:57 -04:00