Commit Graph

4556 Commits

Author SHA1 Message Date
Davis King
ae9546cbdc Made svd3 faster when working on small matrices. 2014-08-11 19:51:05 -04:00
Davis King
f9fac06e16 Made inv() handle singular matrices in a more reasonable way. Now it will make
some effort to detect them and output an identity matrix in that case.
2014-08-02 18:56:01 -04:00
Davis King
f5c7248b20 Added assignment operator for scalar float assignments. 2014-07-24 21:38:26 -04:00
Davis King
679e75ae34 updated docs 2014-07-20 19:19:58 -04:00
Davis King
aa1ccfcdfb clarified spec 2014-07-20 19:18:40 -04:00
Davis King
43f37209e3 Added links to the generic image definition in all the relevant abstract files. 2014-07-20 17:18:34 -04:00
Davis King
a6dc296219 Fixed a bug where the imglab tool would sometimes start out with an annoyingly
small window when the first image was bigger than the screen.
2014-07-20 14:47:05 -04:00
Davis King
6d55fcc260 Made the disabled version of pyramid_down support the new image interface.
Also added an overload of operator() for pyramid_down that takes just
a single image and downsamples it.
2014-07-20 08:07:59 -04:00
Davis King
0eb725fc4f Clarified the exact size of the HOG feature maps produced by
extract_fhog_features().  Also fixed a minor bug where empty planar HOG feature
maps had 0 planes in them rather than 31 empty planes as the spec says they
should.
2014-07-19 12:09:55 -04:00
Davis King
98602c332a Fixed a color space handling bug in resize_image() 2014-07-18 22:44:11 -04:00
Davis King
d75e747a1d Added a typedef to the object_detector that allows you to find out
what scanner type it is using.
2014-07-18 22:22:31 -04:00
Davis King
ac2f95505d removed more double __ 2014-07-18 22:05:06 -04:00
Davis King
ca498ac2d2 Just removed double __ from the inclusion guard names. 2014-07-18 21:46:24 -04:00
Davis King
7ce265f538 Just fixed some funny typos in some comments. 2014-07-18 21:31:55 -04:00
Davis King
ec67e23372 Removed Ohloh link because it was slowing down the page loading. 2014-07-18 20:34:53 -04:00
Davis King
64bf558373 Fixed a few things so they work with the new image generic interface. 2014-07-17 22:29:06 -04:00
Davis King
fa2499d8e2 Added a file that defines a new generic image interface for images in dlib.
This is the dlib/image_processing/generic_image.h file.  Then I changed all the
image processing functions so that they use this interface.  All the changes
are very minor, but there are just a lot of them.

Any user code that was using array2d objects to represent images will still
work.  However, this change makes it so that users can use their own custom
image objects with dlib by simply implementing a few global functions for their
image object.
2014-07-17 19:23:43 -04:00
Davis King
dc0fd24d89 Harmonized the array2d::set_size and matrix::set_size methods.
In particular, array2d::set_size() now simply allows any row and
column sizes so long as they are non-negative.
2014-07-12 14:47:52 -04:00
Michael Yee
c7d67d8e14 Removed another unused typedef to avoid a compiler warning in gcc 4.8.1. 2014-07-09 10:06:30 -07:00
Davis E. King
01e8e0fd06 Removed unused typedef to avoid compiler warnings. 2014-07-09 12:47:28 -04:00
Davis King
f3ce10594f Changed the serialization code for C-strings so that they don't save the null terminator
byte.  This makes their serialization format the same as the format for std::string.  I had
to revert the previous mod for this because it didn't work in visual studio.  This change
fixes that.  The code should still be able to read all previously serialized data correctly.
Moreover, any char arrays that aren't null terminated will still be read and written in
their entirety.
2014-07-08 21:50:50 -04:00
Davis King
06bf7e0e38 merged 2014-07-08 19:28:34 -04:00
Davis E. King
2e3d77f196 Changed the code so that literal strings "i.e. stuff like this" are
serialized using the same format as std::string.  Previously, the
trailing 0 was also saved so if you deserialized them into a std::string
you ended up with a trailing 0 in the std::string which isn't what you
want.
2014-07-07 15:22:36 -04:00
Davis King
0ad899c6f8 Added a Google custom search box to the web page. 2014-07-02 22:30:40 -04:00
Davis E. King
8f022c0042 Fixed a bug in find_min_single_variable() I introduced a few hours ago. 2014-07-02 16:16:41 -04:00
Davis E. King
cea4540740 Made find_min_single_variable() a little more efficient. 2014-07-02 12:41:31 -04:00
Davis E. King
fa43cde658 Fixed a bug, the initial step size wasn't being used in part of the
code.  Also made the initial bracketing step a little more efficient.
2014-07-02 10:31:55 -04:00
Davis King
3e9f7adbd9 Added a parameter to control the search radius to the
find_min_single_variable() and find_max_single_variable() routines.  Also made
these functions a little more robust to unusual objective functions.
2014-07-01 21:23:55 -04:00
Davis King
0bffe51175 updated docs 2014-07-01 20:32:08 -04:00
Davis King
1b0a7a925a Moved negate_function() to a different file to avoid an #include ordering bug
that happened when using find_max_single_variable().
2014-07-01 20:26:10 -04:00
Davis King
53aff1c821 updated docs 2014-06-26 19:05:35 -04:00
Davis King
52fdd2665f Renamed assert link check variable to be a little more informative. 2014-06-24 19:46:05 -04:00
Davis King
35de91015b Clarified the thread safety of evaluate_detectors(). 2014-06-23 16:11:21 -04:00
Davis King
dd3bf1f2c5 Changed the example to recommend using something like the f1-score when using
BOBYQA for model selection.
2014-06-23 16:06:23 -04:00
Davis King
505cc7b1d9 Added more member functions to the auto_mutex_readonly object that allows
you to convert between a readonly and write lock but still use RAII.
2014-06-23 15:20:16 -04:00
Davis King
964163c58d updated docs 2014-06-22 10:07:49 -04:00
Davis King
269ba90a6d Made cross_validate_trainer() and cross_validate_trainer_threaded() not make
duplicate copies of the training data since doing so uses a lot of RAM for
large datasets.
2014-06-22 10:02:03 -04:00
Davis King
3fe820cc78 Changed the murmur hash implementation to avoid any possibility of strict
aliasing violations in user code, even when things get inlined in unfavorable
ways.
2014-06-17 20:24:19 -04:00
Davis King
72cc93983a Renamed unit test program to avoid warnings from cmake 2014-06-17 20:03:19 -04:00
Davis King
082f05ea2c Moved Google Analytics stuff to the end of the head section. 2014-06-16 18:43:51 -04:00
Davis King
e1c2bdcbdb added link to the blog 2014-06-16 18:36:14 -04:00
Davis King
aab8f81c36 removed piwik stuff 2014-06-13 21:06:22 -04:00
Davis King
b9c84a6d23 setup google analytics 2014-06-13 20:49:11 -04:00
Davis King
8626f36d03 Fixed spelling errors in comments 2014-06-13 20:13:18 -04:00
Davis King
f9eed1232d Created release v18.9 2014-06-08 15:50:19 -04:00
Davis King
68996e8a22 Added tag v18.9 for changeset 4de62892e108 2014-06-08 15:50:19 -04:00
Davis King
811ee7501d updated docs 2014-06-08 15:44:04 -04:00
Davis King
9d00aa54cb The new serialization API that works like serialize("filename") << object; wasn't
opening files in binary mode.  Oops.  This is now fixed.
2014-06-08 15:35:12 -04:00
Davis King
165f9ef1f8 Fixed a minor interface usability flaw in the scan_fhog_pyramid. It wasn't
documented that you couldn't change the padding, cell size, or window size
parameters between calls to load() and detect().
2014-05-31 12:19:10 -04:00
Davis King
0631d6f546 updated docs 2014-05-31 12:05:17 -04:00