Commit Graph

4370 Commits

Author SHA1 Message Date
Davis King dc068968c3 Made pyramid_down<1> equivalent to pyramid_disable. 2013-10-05 10:29:48 -04:00
Davis King cb0bbee68b Added missing assert 2013-10-04 23:07:44 -04:00
Davis King 8fd4b9708c Added the ability to get the score in addition to the label out of the
one_vs_all_decision_function.
2013-10-04 22:50:10 -04:00
Davis King d6f0fd3743 Added the ability to get the score in addition to the label out of the
multiclass_linear_decision_function.
2013-10-04 22:35:30 -04:00
Davis King 10dec05a84 Added compile time checks that make it so the user gets a much more informative
error message if they mistakenly use matrices that are not column vectors with
the general purpose optimizers.
2013-10-04 22:14:33 -04:00
Davis King 7eadede7ae Clarified some things in the example and also added code showing how to use the
new bounds constrained solver.
2013-10-04 22:13:03 -04:00
Davis King bb49be31d8 Added comments about python not being threaded for the structural SVM 2013-10-04 21:37:22 -04:00
Davis King 2efbc9057e merged 2013-10-03 22:18:59 -04:00
Davis King 0bdcb98c2c Fixed a bug in extract_fhog_features() that happened when very small
images were given.
2013-10-03 22:17:58 -04:00
Davis King 5c710a6a36 updated docs 2013-10-03 21:45:43 -04:00
Davis King e0a6e30581 Refactored the image pyramid code. Now there is just one templated object,
pyramid_down and you give it the downsampling amount as a template argument.
2013-10-03 21:36:51 -04:00
Davis King 39ed906c39 Made resize_image() overload a little more robust. 2013-10-03 21:23:23 -04:00
Davis King c07f4e5584 updated docs 2013-10-03 21:02:01 -04:00
Davis King 79f8e1465a Added pyramid_down_generic 2013-10-03 20:58:43 -04:00
Davis King 2ec475cc2f Fixed some compile time errors in the new overload of resize_image(). 2013-10-03 20:57:22 -04:00
Davis King f35a90c85f Added missing assert 2013-10-02 22:51:12 -04:00
Davis King b8de7f5a6d Made resize_image() use bilinear interpolation by default and also added
a special version of it that is optimized for this case.
2013-10-02 22:47:34 -04:00
Davis King 3be34b77e4 Made color version of interpolate_bilinear faster. 2013-10-02 21:48:00 -04:00
Davis King 673ccbbf63 Made interpolate_bilinear a little bit faster. 2013-10-02 21:45:08 -04:00
Davis King e3a4365203 Slightly reduced the amount of blurring that happens in pyramid_down_5_4. 2013-10-02 21:24:51 -04:00
Davis King f7606b483c Added code to avoid another useless vistual studio warning. 2013-10-02 19:08:13 -04:00
Davis King 10e890e1c7 Merge 2013-10-02 17:58:18 -04:00
Davis King 9427dd234d Just renamed some variables to avoid a name conflict with a #define in vistual studio. 2013-10-02 17:57:48 -04:00
Davis King c9339b7934 Fixed grammar and added minor clarifications 2013-10-01 23:05:46 -04:00
Davis King 38ec659bed updated docs 2013-10-01 23:02:25 -04:00
Davis King cd431a5bb0 Added an example for the new HOG feature extractor.
--HG--
rename : examples/image_ex.cpp => examples/fhog_ex.cpp
2013-10-01 22:58:56 -04:00
Davis King c8aa81c2af Set a default value for the cell size on image_to_fhog() and fhog_to_image(). 2013-10-01 20:25:59 -04:00
Davis King 6d7f25bff7 updated docs 2013-10-01 19:49:01 -04:00
Davis King d149eb6e75 clarified spec 2013-10-01 19:46:34 -04:00
Davis King 4e3730644d Filled out spec for the FHOG feature extraction routines. 2013-10-01 19:38:50 -04:00
Davis King 52cefbe299 Added unit tests for FHOG feature extractor. 2013-10-01 19:02:18 -04:00
Davis King 2a735496d0 Made jet(), heatmap(), and randomly_color_image() work on matrix objects. 2013-09-30 21:00:31 -04:00
Davis King 3cc32d006b Added a function for computing Felzenszwalb's 31 channel HOG image
representation.
2013-09-29 22:51:42 -04:00
Davis King ab38059dfd Simplified the implementation of the array2d object. 2013-09-28 17:44:30 -04:00
Davis King 8516ced3cf fixed typo in spec 2013-09-24 22:40:00 -04:00
Davis King 6f89717da2 updated docs 2013-09-24 22:39:54 -04:00
Davis King 4f352310ea updated docs 2013-09-24 22:18:59 -04:00
Davis King 34bcf012bf minor cleanup 2013-09-24 22:12:31 -04:00
Davis King ab0f41de5f Added unit tests for the vector_normalizer_frobmetric object. 2013-09-24 22:04:34 -04:00
Davis King df250a8fd7 Made the max iteration limit user settable. 2013-09-24 22:04:11 -04:00
Davis King 05e75ae3bb Added vector_normalizer_frobmetric 2013-09-24 21:25:43 -04:00
Davis King 50012d2cb0 merged 2013-09-23 23:00:18 -04:00
Davis King 3e559e4292 Made find_min_box_constrained() and find_max_box_constrained() a little smarter
about how they schedule their initial step sizes.  In particular, they will try
to take step sizes that are similar to previously used sizes via a trust region
style scheduling.
2013-09-23 22:59:41 -04:00
Davis King 8199ae1a48 Added another overload of poly_min_extrap() and also improved the speed of
backtracking_line_search() by making it use 3rd degree polynomial interpolation
after the first step.  Also made it more robust to alpha inputs with improper
signs.
2013-09-23 22:53:08 -04:00
Davis King 28da9a42a0 updated docs 2013-09-23 22:50:50 -04:00
Davis King 53c908e72c Added comments referencing useful source material. 2013-09-23 17:26:30 -04:00
Davis King c9a5e959b7 clarified spec 2013-09-22 13:21:57 -04:00
Davis King 211f98b5d2 Tweaked find_min_box_constrained() so that the user can easily reuse
computations done in f() when computing der().
2013-09-22 11:50:40 -04:00
Davis King bfcae26323 clarified spec 2013-09-22 10:19:42 -04:00
Davis King fcdd5aca1b fixed compiler warning 2013-09-21 21:02:18 -04:00