Commit Graph

2260 Commits

Author SHA1 Message Date
Davis King 551a882ce3 Improved the layout of the FAQ page 2011-06-01 22:13:18 -04:00
Davis King f1ce94705a Improved how code blocks are displayed. 2011-06-01 21:43:30 -04:00
Davis King 2952abbf7a Setup the XSLT for a FAQ page 2011-05-31 23:17:01 -04:00
Davis King e0f98d92ba Changed code so that an error message is always printed if we run out of memory while
cross_validate_trainer_threaded() is executing.
2011-05-31 17:46:31 -04:00
Davis King daf47c0e8d Fixed incorrect docs 2011-05-30 11:05:46 -04:00
Davis King d277dc912e Increased the hysteresis_threshold() recursion depth a bit. 2011-05-30 10:59:58 -04:00
Davis King b13bb3642c Made threshold_image() handle signed pixels properly. 2011-05-30 10:58:53 -04:00
Davis King 2dd28ac0fe Changed hysteresis_threshold() so it properly handles signed pixel types. 2011-05-30 10:51:20 -04:00
Davis King fe69a6e8c6 updated release notes 2011-05-29 19:26:36 -04:00
Davis King 19426ea429 updated docs 2011-05-29 19:02:19 -04:00
Davis King fa7745007f Fixed grammar. 2011-05-29 19:00:07 -04:00
Davis King 8b55807fe6 Updated the docs to discuss pixel formats and what happens during the
various save_*() calls for saving images.
2011-05-29 18:52:16 -04:00
Davis King e76aadb232 Added comments explaining the conversion that might happen when images
are saved to disk by the various save_*() functions.
2011-05-29 18:51:41 -04:00
Davis King 2f7196db7c Fixed a bug in assign_pixel_intensity() that happened when
the target pixel was an RGB pixel with an alpha channel.
2011-05-29 17:44:33 -04:00
Davis King 32e1d0b66c Added more tests 2011-05-29 16:14:37 -04:00
Davis King ed3c252206 Made get_pixel_intensity() more efficient. 2011-05-29 16:13:51 -04:00
Davis King 02bf1190ae Changed [A-Z] bar size a little so that it looks right in firefox. 2011-05-29 15:17:30 -04:00
Davis King cbea47728b Made the links at the top of the term index page a little bigger. 2011-05-28 20:40:49 -04:00
davis@blarg-a324a5a3e.localnet 18513aa625 merged 2011-05-28 20:22:38 -04:00
davis@blarg-a324a5a3e.localnet a9fd134843 Minor change to avoid a compiler error in visual studio 2010 2011-05-28 20:20:34 -04:00
Davis King dbd4ca21db Added to the term index 2011-05-28 20:13:30 -04:00
Davis King 05f299f5ea Fixed grammar. 2011-05-28 20:02:04 -04:00
Davis King 5bdf93eff7 Switched the default hash function for std::strings (when used with hash tables)
to dlib::hash().
2011-05-28 19:55:06 -04:00
Davis King 6335f1104f minor cleanup 2011-05-28 19:46:48 -04:00
Davis King cd3819da20 Added another test 2011-05-28 19:36:18 -04:00
Davis King 40fd24b8d3 updated docs 2011-05-28 19:03:08 -04:00
Davis King 884fca7ac6 Improved hashing tests and clarified spec. 2011-05-28 18:42:57 -04:00
Davis King 5c94f1003d Clarified spec 2011-05-28 18:14:05 -04:00
Davis King 3785d3202d Added comments regarding endianness and hashing. 2011-05-28 18:06:32 -04:00
Davis King a68c27be8f Added a hash() for matrices. 2011-05-28 17:59:58 -04:00
Davis King f338f6b7ca Fixed a linker error that happens on gcc. 2011-05-28 17:59:15 -04:00
Davis King 2d0df035ea Added a unit test for the new hashing functions.
--HG--
rename : dlib/test/bridge.cpp => dlib/test/hash.cpp
2011-05-28 17:44:52 -04:00
Davis King ebbb1b68f1 Added Austin Appleby's excellent MurmurHash3 hashing code and setup some
additional convenience functions.
2011-05-28 17:33:07 -04:00
Davis King 4369c68376 updated docs 2011-05-28 17:24:30 -04:00
Davis King 5b2228e07c Changed comment so htmlify will put an anchor on it. 2011-05-28 17:23:09 -04:00
Davis King 2fcc1b30c7 Changed code to use the new DLIB_ASSERT_HAS_STANDARD_LAYOUT to check
if a type can be swapped rather than the explicit union trick.
2011-05-28 17:19:20 -04:00
Davis King 7257589a46 Moved DLIB_ASSERT_HAS_STANDARD_LAYOUT into assert.h. 2011-05-28 17:07:06 -04:00
Davis King 3b9fbda0e1 Added a macro to assert on a type being a POD or a standard layout type.
This way I can change just this one macro to use the better C++0x
method of doing this check once C++0x becomes available.
2011-05-28 17:00:56 -04:00
Davis King ecfa04941d updated docs 2011-05-28 15:52:27 -04:00
Davis King 715e19dd21 Added some unit tests for the save_png() and load_png() functions. 2011-05-28 12:00:57 -04:00
Davis King eaa0b45c15 Cleaned up this example a little. 2011-05-28 11:18:17 -04:00
Davis King a0e44acc17 Switched all the uses of array2d to not use the array2d<type>::kernel_1a
syntax but to use the array2d<type> syntax.
2011-05-28 11:10:50 -04:00
Davis King 8dfde0fe9e updated docs 2011-05-28 10:28:49 -04:00
Davis King 5e384614be Changed the array2d object so you don't have to say array2d<type>::kernel_1a
anymore to declare it.  Now you just say array2d<type>.
2011-05-28 10:26:29 -04:00
Davis King 35a6408f8e Simplified examples by using load_image() instead of load_bmp() 2011-05-28 09:52:27 -04:00
Davis King 739c68adf6 Removed debugging cout statement. 2011-05-28 09:44:52 -04:00
Davis King 959ac1fee7 Fixed incorrect exception being thrown. 2011-05-28 09:43:01 -04:00
Davis King 275410af43 updated docs 2011-05-28 09:38:29 -04:00
Davis King dc1cafe846 Fixed compile time test 2011-05-28 09:18:09 -04:00
Davis King d3a73bdbae Added the load_image() function which just looks at a file's extension and
then calls the appropriate image loading function.
2011-05-27 19:19:11 -04:00