Davis King
91dbcb33af
filled out spec
2011-09-08 19:14:26 -04:00
Davis King
cf8e0529ac
improved the spec
2011-09-08 18:48:28 -04:00
Davis King
12e6f8eeec
Added some comments. Still need to complete the spec.
2011-09-07 23:45:14 -04:00
Davis King
651df561c1
filled in the spec
2011-09-07 23:32:09 -04:00
Davis King
d607a8e5de
Added a functor for testing if two rectangles overlap.
2011-09-07 23:12:50 -04:00
Davis King
a57744ac6e
Added the structural_svm_object_detection_problem object.
2011-09-07 22:59:21 -04:00
Davis King
c81c5e2f39
Added the object_detector object.
2011-09-07 22:33:40 -04:00
Davis King
290de9b449
Added some functions for creating detection templates.
2011-09-07 22:22:53 -04:00
Davis King
51c0c14845
Added the scan_image_pyramid object.
2011-09-07 22:09:35 -04:00
Davis King
0aac284498
Added the hashed_feature_image object.
2011-09-07 21:59:23 -04:00
Davis King
e5014f0d72
Fixed typos in spec.
2011-09-07 20:16:18 -04:00
Davis King
ca30fd7609
Added missing requirement.
2011-09-07 20:07:21 -04:00
Davis King
e30b58a96c
Added some optimized serialization overloads for std::vectors of
...
characters to take advantage of the fact that you can just write
the contents of memory out in this case.
2011-09-07 18:56:28 -04:00
Davis King
e400a74bca
Fixed typo
2011-09-07 18:40:48 -04:00
Davis King
35d93ab1c2
Fixed grammar in comment.
2011-09-05 11:27:20 -04:00
Davis King
40579234b6
Added a copy_configuration() routine to the hog_image.
2011-09-04 10:27:57 -04:00
Davis King
0a516b25ad
Added a get_num_dimensions() method to the hog_image.
2011-09-04 10:05:34 -04:00
Davis@potato-xp.localnet
2c4a44398b
Changed the set_current_dir() implementation so that it compiles in visual studio
...
even when compiling with unicode strings enabled.
2011-09-02 22:00:22 -04:00
Davis King
5a5ec05153
Updated same so it compiles with the current version of the krr_trainer.
2011-09-02 18:08:38 -04:00
Davis King
ccfe3dc0fa
Added cast to avoid compiler warning in visual studio 2010
2011-09-01 17:49:33 -04:00
Davis King
26681283c4
updated docs
2011-08-31 19:18:13 -04:00
Davis King
98579975c1
Added the scan_image() routine. It is a tool for sliding a set of rectangles
...
over an image space and finding the locations where the sum of pixels in
the rectangles exceeds a threshold.
2011-08-31 19:07:48 -04:00
Davis King
f9b1aa3502
clarified spec
2011-08-30 18:36:43 -04:00
Davis King
23604f38c4
Added a missing requires clause
2011-08-29 20:13:53 -04:00
Davis King
7c95a2ac63
Gave the sparse vectors their own block in the documentation. This
...
way it is obvious what file to #include to get them.
2011-08-29 19:49:10 -04:00
Davis King
bb59a32527
clarified the spec
2011-08-29 19:44:23 -04:00
Davis King
6cac033ccd
updated the spec
2011-08-28 22:27:47 -04:00
Davis King
7249a275c7
Added some unit tests for the find_map_nmplp() routine.
2011-08-28 21:58:50 -04:00
Davis King
f36c76ccd3
clarified spec
2011-08-28 20:55:57 -04:00
Davis King
0b16a78579
updated docs
2011-08-28 20:55:48 -04:00
Davis King
4686489056
Added the find_map_nmplp() function for performing approximate
...
MAP inference.
2011-08-28 18:37:00 -04:00
Davis King
f7c9763ab0
Fixed a bug in the png_loader. If you loaded an image with an
...
alpha channel into something without an alpha channel there were
uninitialized values being alpha blended into the image.
2011-08-25 20:30:54 -04:00
Davis King
ba08e28386
Added some overloads of serialize/deserialize for array2d objects
...
which contain simple 8bit POD pixel types. This makes the serialize
routines much faster in these cases.
2011-08-25 20:20:17 -04:00
Davis King
ec09a0400e
- Formally defined how array2d objects must lay their components out in memory
...
- Added width_step() to array2d to help define the memory layout. Also added
it to cv_image to keep the interfaces compatible.
- Fixed a typo in the deserialize for array2d objects. The template wasn't
declared properly.
2011-08-25 20:19:08 -04:00
Davis King
c7103ce3d5
Changed the serialization routine for bgr_pixels to store the pixels
...
in BGR order rather than RGB.
2011-08-25 19:50:13 -04:00
Davis King
d983412935
Added a mem_manager_type typedef so the interface better matches array2d.
2011-08-25 18:36:17 -04:00
Davis King
fd0de230cf
Fixing incorrect print statement.
2011-08-24 21:45:19 -04:00
Davis King
69839d403f
updated docs
2011-08-24 21:38:43 -04:00
Davis King
8d6cec1d36
Updated examples to work with new ridge regression interface.
2011-08-24 21:36:50 -04:00
Davis King
068bf89d34
Moved the docs for some functions to the top so that htmlify links to them right.
2011-08-24 21:35:55 -04:00
Davis King
82a3e62577
Changed the interface to the ridge regression trainer objects so that
...
they report the entire set of LOO prediction values rather than a
summary statistic like mean squared error.
2011-08-24 21:34:28 -04:00
Davis King
9b863dc9d0
Added the following functions for computing statistics on vectors:
...
mean_sign_agreement(), correlation(), covariance(), r_squared(),
and mean_squared_error()
2011-08-24 21:26:54 -04:00
Davis King
14b6eed58c
Fixed typo in spec
2011-08-24 19:41:06 -04:00
Davis King
c010a053e5
updated docs
2011-08-24 19:39:05 -04:00
Davis King
13d7eaaf68
Cleaned up the interface to draw_line()
2011-08-24 19:38:59 -04:00
Davis King
32f9ab2240
Added missing inline to avoid compiler errors.
2011-08-24 19:27:02 -04:00
Davis King
0e1d875694
Added a function for computing the center of a rectangle.
2011-08-24 19:24:38 -04:00
Davis King
20a7948108
Added a test that the pyramid down objects do the coordinate mapping correctly.
2011-08-23 22:52:51 -04:00
Davis King
ffad02d411
Fixed a minor bug in the list_box. It's behavior was a little awkward
...
when using the multiple selection feature.
2011-08-22 22:33:25 -04:00
Davis King
7c88acb8cc
Changed the pyramid down objects so that they make better use of the
...
available image data. Previously, more pixels on the right and bottom
of the image were cropped than was necessary.
2011-08-21 01:40:43 -04:00