Davis King
3511853f68
updated a comment
2012-01-01 11:05:38 -05:00
Davis King
88f8a52568
Moved sum_filter() into the file with all the other filtering routines.
2012-01-01 10:50:12 -05:00
Davis King
103073424e
Clarified spec
2011-12-31 17:32:29 -05:00
Davis King
828f834dec
Made the spatial filtering routines return a rectangle which tells you what
...
part of the image wasn't just zero padding along the border.
2011-12-31 17:07:26 -05:00
Davis King
c01d248a3f
Added some overloads of shrink_rect() and grow_rect() which
...
allow you to adjust the width and height independently.
2011-12-31 17:03:48 -05:00
Davis King
bcf8df16c8
Renamed a test function so it doesn't show up in the ctags list.
2011-12-31 16:40:31 -05:00
Davis King
4bf6655ed6
Added the spatially_filter_image_separable_down() routine which is just a version
...
of spatially_filter_image_separable() that does downsampling at the same time
as it does the filtering.
2011-12-31 16:32:26 -05:00
Davis King
ea897b9e54
Made the border_enumerator a little more flexible. Now the border
...
doesn't need to be the same size on all sides of a rectangle.
2011-12-31 16:18:07 -05:00
Davis King
7bd1884154
Fixed bugs in this test
2011-12-31 15:51:55 -05:00
Davis King
2c67ebd259
Made this code a little more flexible with regard to input matrix type.
2011-12-31 09:59:26 -05:00
Davis King
3714ff54ce
Gave the spatially_filter_image routines the ability to add their
...
results to an output image rather than overwrite the contents
of the output image.
2011-12-30 23:48:23 -05:00
Davis King
cae3da777f
Added an unload() to the hog_image.
2011-12-30 23:13:04 -05:00
Davis King
2eeaf11fa8
Fixed improper normalization in the gaussian() functions. The
...
normalization constant was being computed incorrectly.
2011-12-30 09:27:20 -05:00
Davis King
30e073d614
Reworked the scan_image() routine to make it run faster. Also added
...
a new function called sum_filter().
2011-12-29 18:52:58 -05:00
Davis King
6c0f5980d3
Changed code a bit to make it run faster.
2011-12-29 15:42:08 -05:00
Davis King
6010de9b43
Removed unnecessary load() calls now that they aren't required.
2011-12-29 10:28:44 -05:00
Davis King
3f203cbcba
Removed the requirement that an image be loaded before
...
calling get_best_matching_rect().
2011-12-29 10:28:03 -05:00
Davis King
04626317fb
Made this object cache image scanner objects internally rather than
...
reconstruct them for each separation oracle call.
2011-12-29 09:37:27 -05:00
Davis King
46681570dd
Made this code a little more efficient.
2011-12-29 09:31:51 -05:00
Davis King
70aaa13a5b
Removed unnecessary requirement on get_block_rect()
2011-12-29 09:30:13 -05:00
Davis King
462c8c5cec
updated release notes
2011-12-27 11:59:37 -05:00
Davis King
592c52b970
updated docs
2011-12-27 11:09:59 -05:00
Davis King
76277c881e
Clarified comment.
2011-12-27 10:27:59 -05:00
Davis King
18cc4fd28b
updated docs with recent additions
2011-12-27 10:25:00 -05:00
Davis King
55013778ec
Removed cruft
2011-12-27 09:25:55 -05:00
Davis King
f62235db7c
changed code to avoid a compiler warning
2011-12-27 08:59:28 -05:00
Davis King
a44ae8747b
Added more serialization tests for dlib::rand.
2011-12-27 08:58:13 -05:00
Davis King
419eebc81b
Changed to avoid compiler error in visual studio 2005
2011-12-27 08:56:02 -05:00
Davis King
e4cd58aae5
updated docs
2011-12-26 22:13:56 -05:00
Davis King
e1b2928556
Fixed linker error.
2011-12-26 22:00:46 -05:00
Davis King
8808006cf2
updated examples
2011-12-26 21:43:07 -05:00
Davis King
bfa7d1d73e
Added the setup_grid_detection_templates() routine.
2011-12-26 21:07:44 -05:00
Davis King
b4734976a2
Added determine_object_boxes()
2011-12-26 20:49:42 -05:00
Davis King
849fd0c252
Made the spec a little clearer.
2011-12-26 17:50:47 -05:00
Davis King
ffa0ae4cfb
Made the randomly_sample_image_features() routine a little more general.
...
Also improved its spec.
2011-12-26 12:33:42 -05:00
Davis King
06dc489cc5
Added some more tests and also fixed the existing ones to work
...
given the recent changes to the object detection tools.
2011-12-26 12:23:10 -05:00
Davis King
c2ad96983c
Added the setup_hashed_features() helper routine for configuring
...
a scan_image_pyramid when it is used with a hashed_feature_image
and projection_function.
2011-12-26 12:13:10 -05:00
Davis King
1fe548f32f
Added some useful typedefs to this object.
2011-12-26 10:28:08 -05:00
Davis King
2dcc0253ac
Added the randomly_sample_image_features() routine.
2011-12-26 10:17:18 -05:00
Davis King
63e17485c1
Fixed constness bug
2011-12-26 10:02:30 -05:00
Davis King
7a6ec2f162
Clarified spec
2011-12-26 10:02:08 -05:00
Davis King
2e98a785bc
Removed constness from the operator() member functions of the object_detector
...
since they logically modify the state of the object detector now that
we are exposing the state of the underlying image scanner.
2011-12-26 09:34:24 -05:00
Davis King
bf0ed361d7
Refactored code into a cleaner form.
2011-12-26 09:27:31 -05:00
Davis King
1bb12d6a08
Made the object_detector's interface a little more complete and flexible.
2011-12-26 08:59:11 -05:00
Davis King
806c637259
Made this trainer automatically determine decent parameters
...
for the test_box_overlap object when it is used and the user
hasn't specifically assigned an overlap tester.
2011-12-26 00:11:17 -05:00
Davis King
9027f84ceb
Fixed grammar
2011-12-25 23:14:03 -05:00
Davis King
c0d38e4d6d
The word "overlap" was used to describe the concept of a rectangle
...
matching with a truth rectangle as well as overlap in the context of
non-max suppression of results. Since these are two very separate
ideas I renamed some things to avoid any confusion.
2011-12-25 22:46:56 -05:00
Davis King
87366f5171
Refactored this object so it uses a hashing function supplied
...
by a template argument rather than its own method. By default,
this object will use the projection_hash.
2011-12-25 14:21:37 -05:00
Davis King
cfd0c9941b
Added asserts and filled out the spec files.
2011-12-25 13:27:12 -05:00
Davis King
5f19180473
Moved create_random_projection_hash() into its own file.
2011-12-25 12:14:17 -05:00