Commit Graph

3807 Commits

Author SHA1 Message Date
Davis King cd5147b200 Made both versions of load_image_dataset() support the skip_empty_images option 2013-04-13 21:18:21 -04:00
Davis King 8bde794c64 fixed linker error 2013-04-13 18:48:52 -04:00
Davis King d0e9239c02 updated docs 2013-04-13 18:24:53 -04:00
Davis King ec8d586d1a minor cleanup 2013-04-13 18:22:49 -04:00
Davis King ea7ece206e fixed grammar 2013-04-13 18:21:17 -04:00
Davis King 1f4997f5d3 Added remove_unobtainable_rectangles() 2013-04-13 18:15:46 -04:00
Davis King d0da1ada22 Made the serialization formats for scan_image_boxes and scan_image_pyramid
include some extra data to validate the state of the object.
2013-04-13 12:53:11 -04:00
Davis King 3711b2784a Added unit tests for scan_image_boxes 2013-04-13 12:52:45 -04:00
Davis King 18c305fc0f Changed the serialization formats for the matrix and array2d objects so that
they are compatible.  This was done in a way that is backwards compatible with
previous versions of dlib.  That is, we can still load data serialized by
previous dlib versions.  However, older versions of dlib can't load the new
serialization format.
2013-04-12 21:47:57 -04:00
Davis King adf0bc4f0a clarified examples 2013-04-12 20:52:05 -04:00
Davis King 6d7b0358ce Fixed the hash_similar_angles_* hash functions so they also work on
matrices of float values.
2013-04-12 20:28:25 -04:00
Davis King 9bf9b7be3c Gave array a constructor that takes an initial size parameter 2013-04-12 20:25:14 -04:00
Davis King 31765e6b53 Added documentation for the other overload of is_graph_labeling_problem(). 2013-04-12 19:51:24 -04:00
Davis King 30caa8013f Added additional documentation to the code block timing tools. 2013-04-12 19:48:55 -04:00
Davis King 3a51de8361 Clarified some requires clauses 2013-04-12 19:44:00 -04:00
Davis King 31ae7d58fe Gave point_transform_affine member functions so the user can find
out what the transformation matrix is.
2013-04-12 19:35:20 -04:00
Davis King fc6d6744d8 updated comments 2013-04-09 17:45:42 -04:00
Davis King bbefbc17b1 Fixed the ranking test functions so they correctly compute the MAP values
for ranking functions which output constant values.
2013-04-09 17:44:24 -04:00
Davis King 0c0e744d9c updated docs 2013-04-07 22:53:18 -04:00
Davis King ca9fd21a6f made spec more accurate 2013-04-07 22:53:14 -04:00
Davis King 1a95799671 made test more robust 2013-03-03 17:41:25 -05:00
Davis King b939beb199 made test more robust 2013-03-03 17:30:10 -05:00
Davis King c82e003eb2 Added serialization unit tests to cover the new format 2013-04-06 20:47:39 -04:00
Davis King 5c81b598ab added more tests 2013-04-06 20:22:32 -04:00
Davis King dd9804dc4b Added some unit tests for the new floating point DNG formats 2013-04-06 20:16:55 -04:00
Davis King b4f74bd964 updated docs 2013-04-06 19:56:15 -04:00
Davis King 0107417734 Upgraded the dng image format so it can natively store floating point
pixel types without any information loss.
2013-04-06 19:50:49 -04:00
Davis King 90668383f5 Another minor refinement 2013-04-06 18:16:14 -04:00
Davis King bbfec3b2df refined a little 2013-04-06 18:15:57 -04:00
Davis King 6af02c8824 Fixed a bug in save_dng() that happened sometimes when saving
images with unsigned char pixels.
2013-04-06 15:54:02 -04:00
Davis King 24757e2147 Changed the format dlib uses when it serializes a floating point value.
Previously, we used an ASCII based format.  It now uses a much more efficient
binary format.  The deserialization routines have been made backwards
compatible with the previous format.  So dlib can still deserialize older data
but older software won't be able to read the new format.
2013-04-06 14:43:54 -04:00
Davis King b82d5c270f bolded includes 2013-04-03 22:56:53 -04:00
Davis King f349d7cf9f Updated term list to also show the include file for each component. 2013-04-03 22:54:04 -04:00
Davis King 1256d929f0 Made stylesheet display right in chrome 2013-04-03 22:52:49 -04:00
Davis King 0b2a23170f Added the include argument to the term list elements. 2013-04-03 22:23:19 -04:00
Davis King e3aeab5293 Changed the scan_image_pyramid serialization version number since the
recent changes make its feature representation incompatible with
previous versions.
2013-04-02 21:45:46 -04:00
Davis King eca9345fe3 Fixed a bug I just introduced into the scan_image_pyramid. 2013-04-02 21:43:28 -04:00
Davis King c943eb23a2 Added an additional threshold for each detection template. This is useful
since some detection templates may be larger than others and therefore
naturally accumulate larger scores, therefore necessitating larger threshold
values.
2013-04-02 20:32:31 -04:00
Davis King 5ca5ced275 Fixed a bug which was introduced a few days ago. The problem was that the
validation routines set the detection threshold to negative infinity in an
attempt to elicit all the possible detections for the purpose of computing mean
average precision scores.  This works fine when using the scan_image_boxes
object but causes the detection quality to degrade when the scan_image_pyramid
is used since this object performs random subsampling to avoid producing an
excessive number of detections.  The fix is to allow the user to set the
adjust_threshold parameter themselves to whatever value they feel is reasonable
rather than hard coding it to negative infinity.
2013-04-02 20:04:59 -04:00
Davis King a1a0e782a1 Upgraded the object_detector so that you can use the adjust_threshold
argument for all versions of the operator() method.
2013-04-02 19:54:53 -04:00
Davis King 6133b6141d clarified spec 2013-04-02 19:44:29 -04:00
Davis King 40717110d7 Made separable_3x3_filter_block_grayscale() a little more general. 2013-04-02 18:03:25 -04:00
Davis King a874c461fa fixed compiler error in clang 2013-04-01 23:09:14 -04:00
Davis King 2bbecc510f updated docs 2013-04-01 23:05:23 -04:00
Davis King 5b3859a14e Added the binned_vector_feature_image. 2013-04-01 22:59:33 -04:00
Davis King 7fd5d6bf45 Fixed typo in spec 2013-04-01 22:03:03 -04:00
Davis King 50b636c131 Added notes that the object detector validation methods also output MAP values. 2013-03-31 15:45:56 -04:00
Davis King 77ce277518 updated unit test to work with new object detector validation interface 2013-03-31 15:37:26 -04:00
Davis King a73e76592d Made the object detector validation functions also output the mean average
precision measure.
2013-03-31 15:33:51 -04:00
Davis King 230dc7546e clarified spec 2013-03-31 15:21:00 -04:00