Commit Graph

2554 Commits

Author SHA1 Message Date
Davis King
90bc0180c0 clarified spec 2012-01-01 17:46:26 -05:00
Davis King
007161f09d Added a static const long copy of downsample so you can obtain its value
given only a poly_image type.
2012-01-01 17:17:11 -05:00
Davis King
8a2ff553f0 Added more unit tests 2012-01-01 17:12:38 -05:00
Davis King
9d97186d61 fixed linker error 2012-01-01 17:12:24 -05:00
Davis King
f85cd73ed2 minor cleanup 2012-01-01 16:28:53 -05:00
Davis King
226f5af1e2 Added the poly_image local feature extractor. 2012-01-01 16:09:31 -05:00
Davis King
2b4e363fd0 Added the nearest_neighbor_feature_image object. 2012-01-01 14:15:38 -05:00
Davis King
f03906fae9 Fixed formatting 2012-01-01 14:15:14 -05:00
Davis King
0a23f5f9ac clarified docs 2012-01-01 13:40:11 -05:00
Davis King
867146564f clarified spec 2012-01-01 13:40:03 -05:00
Davis King
acb215d61e updated docs 2012-01-01 11:11:02 -05:00
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