Commit Graph

3872 Commits

Author SHA1 Message Date
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
Davis King f2426231b9 Changed the object_detector interface slightly. In particular, it now handles
the adjust_threshold argument slightly differently in that it does not add it
to the output detection score anymore.
2013-03-31 15:18:24 -04:00
Davis King 238effb9c6 Changed average_precision() to use interpolated precision. So now it uses the
same metric as the one used by the Pascal VOC.
2013-03-31 11:12:43 -04:00
Davis King 7ff4f6f485 clarified example 2013-03-30 21:57:54 -04:00
Davis King e06d1e697e merged 2013-03-30 17:37:30 -04:00
Davis King 8a3689ff1b Added features to model different detection box sizes. 2013-03-30 17:35:16 -04:00
Davis King a41e00d823 Added missing template arguments. 2013-03-30 17:12:34 -04:00
Davis King cac51bfaa8 updated docs 2013-03-30 17:00:38 -04:00
Davis King b22e9f2fc8 Added linpiece() 2013-03-30 16:51:27 -04:00
Davis King 9d0f6796dc Added the --rmdiff option and also improved the formatting in the output of -h 2013-03-30 08:22:58 -04:00
Davis King 1e1f4efbaf Gave load_image_dataset() the ability to skip images that don't have
any ground truth boxes.
2013-03-28 19:21:52 -04:00
Davis King d1493c1a50 Refined this object's interface slightly. 2013-03-27 20:21:44 -04:00
Davis King a4e63d295c made code slightly more robust 2013-03-25 22:37:56 -04:00
Davis King db5171c4b5 updated docs 2013-03-25 19:02:07 -04:00
Davis King f528ae2814 merged 2013-03-25 17:56:41 -04:00
Davis King bb9708da23 added missing bug fix note 2013-03-25 17:56:13 -04:00
Davis King eb867dd0e3 Fixed spelling errors 2013-03-25 17:52:40 -04:00
Davis King 007a6794e8 Moved randomly_sample_image_features() from the algorithms page to the image
processing page.
2013-03-24 16:36:25 -04:00
Davis King 19608d43f0 updated docs 2013-03-24 16:31:53 -04:00
Davis King b95b2e14f9 Added a version of setup_hashed_features() for scan_image_boxes objects. 2013-03-24 16:29:39 -04:00
Davis King cd83f1cb6e updated docs 2013-03-24 16:18:44 -04:00
Davis King 85a226b0e3 Moved setup_hashed_features() into its own file. 2013-03-24 16:16:07 -04:00
Davis King 173a2b6190 updated docs 2013-03-24 15:44:34 -04:00
Davis King e9823c79d8 fixed another typo in spec 2013-03-24 15:40:07 -04:00
Davis King f027fc937f fixed typo in spec 2013-03-24 15:36:32 -04:00
Davis King 0104e4bd01 Updated specs to reference both the scan_image_pyramid and scan_image_boxes
objects.
2013-03-24 15:33:54 -04:00
Davis King 7847038b33 Simplified code slightly and filled out the spec 2013-03-24 15:18:12 -04:00
Davis King 94b0344532 clarified spec 2013-03-24 14:10:14 -04:00
Davis King 311075a74f Added initial version of scan_image_boxes object. 2013-03-24 12:13:39 -04:00
Davis King b6b3cf1f0b updated docs 2013-03-24 11:03:17 -04:00
Davis King a924bdad61 Filled out spec for find_candidate_object_locations() 2013-03-24 10:57:40 -04:00
Davis King b638145fb6 Moved the responsibility for automatically filling out a test_box_overlap
object from the structural_object_detection_trainer to the
structural_svm_object_detection_problem.  This allows us to use image scanners
which require an image be loaded before get_best_matching_rect() can be called.
I also made it so that the scanner loading (and therefore feature extraction)
is threaded.  Previously, it only used a single core.
2013-03-23 19:49:42 -04:00
Davis King d81641cd8e These templates ostensibly allowed a user to supply their own version of the
test_box_overlap object.  However, one place in the code assumed the
test_box_overlap object was used and so this feature has actually been broken
for some time.  Moreover, it's probably just confusing and excessively complex
to have this level of user modifiability so I removed the option and hard coded
everything to use the test_box_overlap object.  This makes the code
significantly clearer.
2013-03-23 18:08:17 -04:00
Davis King f4cc3c7128 fixed spelling in comment 2013-03-23 14:49:32 -04:00
Davis King 542f8b1cad Added a regularization parameter to cca() 2013-03-21 20:08:51 -04:00
Davis King 3c8db58597 updated docs 2013-03-19 23:04:07 -04:00