Commit Graph

4035 Commits

Author SHA1 Message Date
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
Davis King
ee94add57e Added more tests for DLIB_MAKE_HAS_MEMBER_FUNCTION_TEST and also fixed unit
tests so they work on older versions of visual studio.
2013-09-21 20:59:18 -04:00
Davis King
282db2404b Added versions of find_min_box_constrained() and find_max_box_constrained()
that allow you to easily set uniform upper and lower bounds.
2013-09-21 19:43:12 -04:00
Davis King
00ac94ff40 added more tests for find_min_box_constrained() 2013-09-21 19:26:18 -04:00
Davis King
309902b81a clarified specs 2013-09-21 15:18:29 -04:00
Davis King
b70308383a clarified spec 2013-09-21 15:12:36 -04:00
Davis King
9dd7488b5b clarified spec 2013-09-21 15:04:28 -04:00
Davis King
fdd035f451 Removed a bunch of checks that prevented users from using references to
functions with the optimization code and forced the use of function pointers.
This was to avoid triggering a bug in gcc 4.0.  Since that compiler is no
longer officially supported by dlib I've removed these checks to increase
usability.
2013-09-21 14:37:54 -04:00
Davis King
583110af28 updated docs 2013-09-21 14:02:01 -04:00
Davis King
2d8dcd427d clarified spec 2013-09-21 14:01:54 -04:00
Davis King
b566d9a44e Made tests more robust 2013-09-21 13:48:34 -04:00
Davis King
10bd680fce updated docs 2013-09-21 13:45:09 -04:00
Davis King
103884fc58 Added find_max_box_constrained() 2013-09-21 13:31:06 -04:00
Davis King
5494e540af Added find_min_box_constrained() 2013-09-21 13:11:50 -04:00
Davis King
ef46311296 Added clamp_function() and backtracking_line_search() 2013-09-21 10:58:06 -04:00
Davis King
fa543c0583 Added an overload of clamp() that lets you use matrix valued lower/upper
bounds.
2013-09-14 23:48:13 -04:00
Davis King
12138269ca updated docs 2013-09-14 16:47:13 -04:00
Davis King
c75bbc7dda Added a version of poly_min_extrap() that uses a 2nd degree model. 2013-09-14 16:42:14 -04:00