Commit Graph

2309 Commits

Author SHA1 Message Date
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 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
Davis King 4a1b5941c9 Improved the error messages output when a set of truth rectangles can't be
represented by an image scanner.
2011-09-11 10:19:17 -04:00
Davis King 07e48859c2 I needed to make a few minor changes to make this code work with the new
version of dlib.
2011-09-10 21:41:17 -04:00
Davis King e3310d4566 updated docs 2011-09-10 21:28:31 -04:00
Davis King cafa17c836 Changed the test_regression_function() and cross_validate_regression_trainer()
routines so they return both the MSE and R-squared values rather than just the
MSE.
2011-09-10 21:24:08 -04:00
Davis King e2e342aacd updated docs 2011-09-09 23:45:54 -04:00
Davis King a081d4de89 - Renamed spatially_filter_image() for the separable case to spatially_filter_image_separable()
- Changed the behavior of spatially_filter_image().  Now it won't truncate signed pixel values
   to 0 if they go negative.
2011-09-09 23:39:17 -04:00
Davis King 4d8e96ef66 Changed the interface for the spatially_filter_image() routines to take the filter
as a matrix rather than C-array.  I also fixed a bug which showed up when using
non-square filters.  The bug would cause the edges of the output image to be incorrect.
2011-09-09 22:59:03 -04:00
Davis King 3dc0f5a756 Increased the max size matrix which will allocate its memory on the stack
from 128 bytes to 256 bytes.
2011-09-09 22:50:05 -04:00
Davis King 748ec4cb91 changed to avoid a compiler warning 2011-09-09 21:22:07 -04:00
Davis King 73a34f7fd4 Added an overload of spatially_filter_image() that uses a separable filter. 2011-09-09 21:16:49 -04:00
Davis King 16ae5eaca7 Added functions to the interface that allow a user to control the relative
loss from a false alarm vs. a missed detection.
2011-09-09 19:29:21 -04:00
Davis King aa88a574bd setup separate measures of loss for false alarms and missed truth boxes. 2011-09-09 18:59:16 -04:00