Commit Graph

2927 Commits

Author SHA1 Message Date
Davis King ec1997beec Filled out the implementation of is_graph_labeling_problem(). 2012-04-30 22:07:07 -04:00
Davis King 3321b43e67 Added unit tests for new sparse vector routines. 2012-04-30 22:06:37 -04:00
Davis King 7f43406195 Added functions for finding the min and max elements of a sparse vector. 2012-04-30 22:05:58 -04:00
Davis King 0a8da5ed25 Made these functions work even if one the labels never shows up
in the data.
2012-04-30 21:32:16 -04:00
Davis King 7e5cc9b7ae Filled out spec file 2012-04-30 21:03:53 -04:00
Davis King a0c3c22411 Added validation functions for graph labeling problems. 2012-04-30 20:49:24 -04:00
Davis King aa8f3f2b05 updated docs 2012-04-30 20:37:18 -04:00
Davis King 0fcd382058 Added the copy_graph() routine. 2012-04-30 20:35:29 -04:00
Davis King 18ab8c7a4f updated a spec 2012-04-30 20:10:08 -04:00
Davis King 4b165cd186 Renamed a function. 2012-04-30 20:00:56 -04:00
Davis King 011aae49c1 removed cruft 2012-04-30 20:00:42 -04:00
Davis King e269992161 Added initial version of graph labeling trainer. 2012-04-29 20:13:42 -04:00
Davis King 42a6ee6fcc minor cleanup 2012-04-29 20:10:22 -04:00
Davis King feb1ae5e19 switched to non-checking version. 2012-04-29 19:34:24 -04:00
Davis King 893bcea181 Added initial version of graph_labeler function object. 2012-04-29 19:33:18 -04:00
Davis King e0b6e1894d Just renamed some things 2012-04-29 18:58:54 -04:00
Davis King 0dd5976fd3 just renamed some files
--HG--
rename : dlib/svm/structural_svm_potts_problem.h => dlib/svm/structural_svm_graph_labeling_problem.h
rename : dlib/svm/structural_svm_potts_problem_abstract.h => dlib/svm/structural_svm_graph_labeling_problem_abstract.h
2012-04-29 18:54:14 -04:00
Davis King e5ef72c4aa Refined function contract a little. 2012-04-29 18:05:17 -04:00
Davis King 84523a056f Added initial sketch of a potts learning problem definition. 2012-04-29 16:59:25 -04:00
Davis King 5e9df65355 Added initial version of structural_svm_potts_problem object. 2012-04-29 15:45:11 -04:00
Davis King 9f607bc51c Removed unneeded code. 2012-04-29 13:24:44 -04:00
Davis King 016f41ac10 Changed the oca interface to allow you to specify that a range of w
elements should be non-negative rather than just being able to say
all or none of them are non-negative.
2012-04-29 10:20:13 -04:00
Davis King ec2f30b631 Added missing asserts and requires clauses 2012-04-29 00:39:53 -04:00
Davis King 2ab7afe9ec Added some more unit tests. Also fixed a bug in the potts_model_score() routine. 2012-04-29 00:18:49 -04:00
Davis King 9cc3947a85 clarified spec 2012-04-28 23:43:08 -04:00
Davis King 9caa96c94c clarified spec and fixed typos. 2012-04-28 23:40:53 -04:00
Davis King 552ca77a64 Added an overload of find_max_factor_graph_potts() which takes a regular
undirected graph rather than the special purpose potts_problem type
object.
2012-04-28 23:35:45 -04:00
Davis King 6683acfb35 Added another print statement to an assert 2012-04-28 23:34:45 -04:00
Davis King ef60be8e90 Simplified the potts model interface a little. 2012-04-28 23:18:19 -04:00
Davis King 9be84fe429 minor change to avoid compiler error in visual studio. 2012-04-28 18:27:39 -04:00
Davis King 5b450d1139 updated docs 2012-04-28 17:28:48 -04:00
Davis King f0962acfcd Added a comment about when this routine gives the exact MAP vs.
just an approximate answer.
2012-04-28 17:28:40 -04:00
Davis King a69aecf640 clarified spec 2012-04-28 17:14:50 -04:00
Davis King af45dedda3 clarified spec 2012-04-28 17:09:27 -04:00
Davis King 57f49b303a updated docs 2012-04-28 17:04:43 -04:00
Davis King 33665c7848 Improved spec organization a little. 2012-04-28 16:53:14 -04:00
Davis King ea02f4d464 Added unit tests for the new graph cuts tools. 2012-04-28 16:30:25 -04:00
Davis King 80e501d8bc Added graph cut tools. This is the new min_cut algorithm and find_max_factor_graph_potts()
routine.
2012-04-28 16:10:29 -04:00
Davis King 37bc7b23bd Fixed typo in inclusion guard. 2012-04-28 16:04:50 -04:00
Davis King 5c3aba974f updated docs 2012-04-28 10:12:24 -04:00
Davis King deaf47f1af Added the graph_has_symmetric_edges() routine. 2012-04-28 10:02:38 -04:00
Davis King 4d2d6dda33 Clarified spec 2012-04-24 21:21:40 -04:00
Davis King b7aabf8d89 updated docs 2012-04-23 21:45:32 -04:00
Davis King 613558feb1 Fixed some bugs in toMat() which prevented it from compiling sometimes. 2012-04-23 21:38:32 -04:00
Davis King 9a27c170cf updated docs 2012-04-22 11:49:29 -04:00
Davis King 62ea86a363 updated docs 2012-04-21 22:50:10 -04:00
Davis King ae73da4438 Added the toMat() routine for converting from a dlib style image to an
OpenCV cv::Mat image.
2012-04-21 22:42:51 -04:00
Davis King bcea0df438 Updated the cv_image object so it works with cv::Mat as well as IplImage. 2012-04-21 22:42:09 -04:00
Davis King a50472228d Fixed incorrect reference to subversion rather than mercurial. 2012-04-14 16:27:51 -04:00
Davis King 4f495f1a16 Added comments describing the bridge protocol. 2012-04-14 08:47:05 -04:00