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
Davis King
c8ccb488b0
Added comments clarifying the thread safety requirements of the new
...
object detection tools.
2011-09-08 23:25:07 -04:00
Davis King
d9ef460c69
Removed some testing/debugging code like internal asserts, cout
...
statements, and other cruft.
2011-09-08 23:10:43 -04:00
Davis King
167ddaf99f
Fixed a spelling error
2011-09-08 22:54:58 -04:00
Davis King
74c12ff8d1
updated docs
2011-09-08 22:36:54 -04:00
Davis King
860c278e0c
Added yet more missing asserts
2011-09-08 22:29:52 -04:00
Davis King
8372b859d0
Added a missing assert
2011-09-08 22:19:48 -04:00
Davis King
4e2ab80eb0
Added a missing assert and fixed some typos.
2011-09-08 22:16:44 -04:00
Davis King
ae0c81bc76
Added missing assert
2011-09-08 22:08:23 -04:00
Davis King
5e7d14f4ca
simplified this object a little bit.
2011-09-08 22:01:31 -04:00
Davis King
02566cc9b5
Fixed a bug in the cpp_tokenizer that only shows up on newer versions of
...
gcc. It wasn't tokenizing double quoted strings right.
2011-09-08 20:15:41 -04:00
Davis King
e651368685
updated docs
2011-09-08 19:30:18 -04:00
Davis King
91dbcb33af
filled out spec
2011-09-08 19:14:26 -04:00
Davis King
cf8e0529ac
improved the spec
2011-09-08 18:48:28 -04:00
Davis King
12e6f8eeec
Added some comments. Still need to complete the spec.
2011-09-07 23:45:14 -04:00
Davis King
651df561c1
filled in the spec
2011-09-07 23:32:09 -04:00
Davis King
d607a8e5de
Added a functor for testing if two rectangles overlap.
2011-09-07 23:12:50 -04:00
Davis King
a57744ac6e
Added the structural_svm_object_detection_problem object.
2011-09-07 22:59:21 -04:00
Davis King
c81c5e2f39
Added the object_detector object.
2011-09-07 22:33:40 -04:00
Davis King
290de9b449
Added some functions for creating detection templates.
2011-09-07 22:22:53 -04:00
Davis King
51c0c14845
Added the scan_image_pyramid object.
2011-09-07 22:09:35 -04:00
Davis King
0aac284498
Added the hashed_feature_image object.
2011-09-07 21:59:23 -04:00
Davis King
e5014f0d72
Fixed typos in spec.
2011-09-07 20:16:18 -04:00
Davis King
ca30fd7609
Added missing requirement.
2011-09-07 20:07:21 -04:00
Davis King
e30b58a96c
Added some optimized serialization overloads for std::vectors of
...
characters to take advantage of the fact that you can just write
the contents of memory out in this case.
2011-09-07 18:56:28 -04:00
Davis King
e400a74bca
Fixed typo
2011-09-07 18:40:48 -04:00
Davis King
35d93ab1c2
Fixed grammar in comment.
2011-09-05 11:27:20 -04:00
Davis King
40579234b6
Added a copy_configuration() routine to the hog_image.
2011-09-04 10:27:57 -04:00
Davis King
0a516b25ad
Added a get_num_dimensions() method to the hog_image.
2011-09-04 10:05:34 -04:00
Davis@potato-xp.localnet
2c4a44398b
Changed the set_current_dir() implementation so that it compiles in visual studio
...
even when compiling with unicode strings enabled.
2011-09-02 22:00:22 -04:00
Davis King
5a5ec05153
Updated same so it compiles with the current version of the krr_trainer.
2011-09-02 18:08:38 -04:00
Davis King
ccfe3dc0fa
Added cast to avoid compiler warning in visual studio 2010
2011-09-01 17:49:33 -04:00
Davis King
26681283c4
updated docs
2011-08-31 19:18:13 -04:00
Davis King
98579975c1
Added the scan_image() routine. It is a tool for sliding a set of rectangles
...
over an image space and finding the locations where the sum of pixels in
the rectangles exceeds a threshold.
2011-08-31 19:07:48 -04:00
Davis King
f9b1aa3502
clarified spec
2011-08-30 18:36:43 -04:00
Davis King
23604f38c4
Added a missing requires clause
2011-08-29 20:13:53 -04:00
Davis King
7c95a2ac63
Gave the sparse vectors their own block in the documentation. This
...
way it is obvious what file to #include to get them.
2011-08-29 19:49:10 -04:00
Davis King
bb59a32527
clarified the spec
2011-08-29 19:44:23 -04:00
Davis King
6cac033ccd
updated the spec
2011-08-28 22:27:47 -04:00
Davis King
7249a275c7
Added some unit tests for the find_map_nmplp() routine.
2011-08-28 21:58:50 -04:00