Commit Graph

913 Commits

Author SHA1 Message Date
Davis King 46401b0641 Changed the image_window so that it doesn't resize itself if you keep
giving it images that are the same size.  This way if you are sending
video data to it will allow the user to change the size of the window
without having it snap right back.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403181
2009-09-03 21:29:40 +00:00
Davis King 49f2050c9a Fixed grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403180
2009-09-01 00:22:04 +00:00
Davis King 8df2338af5 Fixed a bug in the get_filesystem_roots() roots function that
prevented it from compiling.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403179
2009-08-31 22:23:29 +00:00
Davis King 97905301cb updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403178
2009-08-30 18:49:33 +00:00
Davis King c21adb981f Made a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403176
2009-08-30 18:33:03 +00:00
Davis King ed82f0ac50 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403175
2009-08-30 14:26:02 +00:00
Davis King e1fef7b968 Fixed typo in comment.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403174
2009-08-30 14:10:42 +00:00
Davis King 3b7a193425 Changed code to avoid compiler warning.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403173
2009-08-29 23:26:46 +00:00
Davis King 17e5172d53 Changed the display size of the boxes in this example so that each
box is the same size as the SURF window.  I thought the smaller boxes
were easier on the eyes but not using the SURF window size is probably
confusing.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403172
2009-08-29 23:26:24 +00:00
Davis King e60bfc7bde Minor changes to avoid compiler warnings in mingw.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403171
2009-08-29 18:00:06 +00:00
Davis King 867756ca17 In addition to minor code cleanup I also changed the following:
- The zoomable_region widget now uses exponential rather than linear
     zoom scaling since this is much more pleasing to use.  There is now
     a new requirement on the zoom increment that it must be between 0
     and 1.
   - I added a few missing requires clauses.
   - I changed the set_zoom_scale() function so that it actually changes
     the zoom scale even if the user requests a zoom value outside the
     allowed range.  It just uses the max or min allowed value rather than
     doing nothing.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403170
2009-08-29 15:01:58 +00:00
Davis King d511810723 Added a check to the deserialization code for vector_normalizer objects that
will detect if the user is trying to deserialize a vector_normalizer_pca object
into a vector_normalizer.  If so it throws serialization_error.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403169
2009-08-29 14:21:56 +00:00
Davis King 12599d072f Added a get_rect() for array2d objects.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403168
2009-08-29 14:20:26 +00:00
Davis King c00e52255d updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403167
2009-08-29 13:40:30 +00:00
Davis King 0d4281087b Added the bgr_pixel and cv_image objects.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403166
2009-08-29 13:24:29 +00:00
Davis King 6db661300f updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403165
2009-08-29 12:16:39 +00:00
Davis King 41687ecb51 Added some typedefs for signed fixed width integers.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403164
2009-08-29 12:07:08 +00:00
Davis King bb75e2daed Switched the batch mode kernel cache to use whatever floating point
type the rest of the code is using because otherwise it can negatively
impact the results of training.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403163
2009-08-24 22:59:50 +00:00
Davis King 388441ee75 Added a version of clamp that can take runtime determined values.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403162
2009-08-22 00:48:14 +00:00
Davis King 2d900ec714 Fixed broken link
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403161
2009-08-21 13:37:35 +00:00
Davis King 7ecde3b814 Fixed a minor bug in the zoomable_region::set_min_zoom_scale() function.
It didn't always end up zooming in a smooth sensible manner after this
function was called.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403160
2009-08-18 22:33:39 +00:00
Davis King 276599fe1a updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403159
2009-08-14 16:58:11 +00:00
Davis King 2f257cb00e Added a dot() function for matrix objects.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403158
2009-08-14 16:54:52 +00:00
Davis King 36a8b0dcfd updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403157
2009-08-14 14:19:56 +00:00
Davis King b08282e268 Added the reciprocal_max() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403156
2009-08-14 14:16:48 +00:00
Davis King ac5b18a49e updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403155
2009-08-12 00:49:44 +00:00
Davis King 4370a5f7ef Split the vector_normalizer into a normal normalizer and a pca normalizer
version.  I did this mostly so that the normal version can return
matrix_type objects and thus avoid any reallocation of matrix objects
in client code.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403154
2009-08-12 00:45:21 +00:00
Davis King 23243adfce Fixed incorrect comments.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403153
2009-08-11 22:26:29 +00:00
Davis King 213cd1d2ea Fixed the serialization functions for the normalized_function object. They will
now work with custom normalizer function objects.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403152
2009-08-11 22:08:08 +00:00
Davis King 958b9b5b91 Fixed an inclusion order bug between the shared_ptr_thread_safe and thread_pool files.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403151
2009-08-06 15:26:59 +00:00
Davis King e421c1fc0c Removed cruft from spec.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403150
2009-08-05 01:19:55 +00:00
Davis King f8534f9988 Modified the svm_pegasos class so that the user can set independent lambda
parameters for each class.  This also breaks backwards compatibility with
the previous interface slightly and changes the serialization format
of this class.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403149
2009-08-05 01:13:34 +00:00
Davis King 3b6f3f2014 Upped the number of sample vectors to 10000.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403148
2009-08-05 00:11:50 +00:00
Davis King 381230a58f Changed this example program so it used the cached version of the
batch_trainer object.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403147
2009-08-05 00:10:23 +00:00
Davis King a23e5f6224 Fixed some compiler warnings and also a bug in the cached version of the
batch_trainer.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403146
2009-07-31 00:12:27 +00:00
Davis King 3f1a7f5c05 Fixed broken link.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403145
2009-07-30 23:45:58 +00:00
Davis King 27683bef4b updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403144
2009-07-30 03:40:09 +00:00
Davis King 8d2243b051 Added the ability to use a kernel cache to the batch_trainer object. I also
changed it so that it always calls clear() on the trainer it uses before it
begins training.  This way it always forgets the results of previous trainings.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403143
2009-07-30 03:29:01 +00:00
Davis King 644bc76826 Switched the known users link over to mediawiki
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403142
2009-07-30 01:19:34 +00:00
Davis King 3d3ab90cd4 Fixed incorrect ensures clause in the pegasos clear() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403141
2009-07-26 19:18:30 +00:00
Davis King 6e88b1570c Refined the comments in this example program a little.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403140
2009-07-24 20:39:54 +00:00
Davis King 6f0feb2d5e Fixed a spelling error.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403139
2009-07-20 01:56:05 +00:00
Davis King 6c65527410 Changed the thread_pool and future classes so that any mixture of
destruction orders between the two is legal.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403138
2009-07-19 15:06:05 +00:00
Davis King af20cb9f36 Fixed a bug in the cross_validate_trainer_threaded() function. It could deadlock if
more than about 10 folds were requested.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403137
2009-07-15 23:33:06 +00:00
Davis King 2e66a59d16 Fixed grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403136
2009-07-15 22:33:45 +00:00
Davis King 000d7f5bb4 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403135
2009-07-12 18:31:38 +00:00
Davis King 3275e58fea Upgraded the thread_function object so that it is more general. It
can now call arbitrary function objects with up to 4 arguments.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403134
2009-07-12 18:28:13 +00:00
Davis King 8c10dd9af3 Added some comments to clarify why I put a COMPILE_TIME_ASSERT
on function references.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403133
2009-07-12 15:48:11 +00:00
Davis King 82ab1e0da8 Made a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403128
2009-07-11 20:04:39 +00:00
Davis King 70d07e6aa4 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403127
2009-07-11 19:58:13 +00:00