Commit Graph

2309 Commits

Author SHA1 Message Date
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
Davis King 200ee39502 Updated the block spatial filtering functions so they can operate on
rectangular areas instead of just square areas.
2011-08-21 00:27:32 -04:00
Davis King 45fd6ea5a1 Fixed a bug pointed out by Martin Müllenhaupt which caused the windows socket
code to not compile when used with the mingw-cross-env project.
2011-08-20 22:55:14 -04:00
Davis King fe08f96266 Made the behavior of the image_window a little more convenient. Now it will
automatically size itself properly when a zoom is in effect and you place a new
image into it.
2011-08-20 21:38:25 -04:00
Davis King 9bae1b6cae The image_display didn't display overlay rectangles quite right. If you zoomed
in you could see that some of the pixels which are inside the rectangle were
outside the overlay.  Specifically, the right column and bottom row was outside
the overlay rectangle.  This has been fixed.  Now all pixels which are supposed
to be part of a rectangle are drawn as being inside the overlay rectangle.
2011-08-17 22:29:41 -04:00
Davis King 350d7bb554 updated docs 2011-08-17 18:09:51 -04:00
Davis King 9312125575 Made the integral_image more general by making it templated on the
type of scalar used to store the sums.
2011-08-17 18:04:10 -04:00
Davis King 2d0d3c9ed1 Added a global operator+ for rectangle+point to make this kind of operation
compile in more contexts.
2011-08-14 00:16:48 -04:00
Davis King d1dc0e1de7 fixed minor typo in comment 2011-08-13 15:50:38 -04:00
Davis King 27898a502f updated ignore list 2011-08-11 22:26:57 -04:00
Davis King 38b78800f7 Made hog_image clearable and serializable. 2011-08-11 22:26:51 -04:00
Davis King 259c32ec4d updated ignore list 2011-08-11 21:37:16 -04:00
Davis King d675d2e206 Made running_stats serializable. 2011-08-11 21:37:10 -04:00
Davis King 7a8dcf2f2f Clarified spec. 2011-08-09 22:37:42 -04:00
Davis King 46eb8d1c8d added more unit tests for hog coordinate transforms 2011-08-09 17:06:01 -04:00
Davis King 6acf4eac25 Removed unneeded code. 2011-08-09 16:48:55 -04:00
Davis King c1e03a2d28 Added a more complete set of functions for converting between image space and the downsampled hog
grid.  So now you can convert from image to hog instead of just hog to image.  Also added some
related unit tests.
2011-08-08 23:50:34 -04:00
Davis King 683f241a0d updated docs 2011-08-08 19:45:01 -04:00
Davis King 9aeda12743 Added fill_rect() for images. 2011-08-08 19:35:09 -04:00
Davis King 0ece9a014d Clarified spec 2011-07-18 12:54:22 -04:00
Davis King 2c9c546810 Added some tests for the new versions of pyramid_down. 2011-07-13 18:10:16 -04:00
Davis King 657b8cb974 updated docs 2011-07-13 17:13:34 -04:00
Davis King 8daab3a606 Updated image pyramid spec to include new pyramid functions. 2011-07-13 17:11:09 -04:00
Davis King 770067a0d1 Added a version of pyramid_down which scales at a ratio of 5:4 2011-07-13 17:01:49 -04:00
Davis King 59f6905284 Added a 4:3 pyramid down tool. 2011-07-13 15:32:45 -04:00
Davis King b3682d98bb Moved the /256 from the spatial filtering routine to it's proper place in the pyramid code. 2011-07-13 15:24:32 -04:00
Davis King b967f1f4cb Made code a little easier to read. 2011-07-13 14:47:32 -04:00
Davis King a5ecb1fad6 Adding initial version of a 3:2 pyramid 2011-07-13 14:33:14 -04:00
Davis King ff49869b24 updated docs 2011-07-13 11:36:31 -04:00
Davis King 0639831a21 Added some functions for running a 3x3 separable filter on part of an image. 2011-07-13 11:21:47 -04:00
Davis King 63ca672c77 Fixed grammar in comment. 2011-07-08 19:59:25 -04:00
Davis King 82f1731790 Added a missing period. 2011-07-08 18:34:05 -04:00
Davis King 7b9e4bf058 Fixed a bug in the IDL converter. 2011-07-08 17:29:45 -04:00
Davis King 04eaae25e0 Incremented version number. 2011-07-08 17:22:06 -04:00
Davis King 25b1540591 Added an option to convert IDL annotation files to imglab format. 2011-07-08 17:21:24 -04:00
Davis King af9071f996 Fixed a bug 2011-07-08 15:59:24 -04:00
Davis King a0bb4ea8df renamed a file
--HG--
rename : tools/imglab/src/convert_pascal_voc.h => tools/imglab/src/convert_pascal_xml.h
2011-07-08 15:48:48 -04:00
Davis King 8db64b686e just renamed voc to xml
--HG--
rename : tools/imglab/src/convert_pascal_voc.cpp => tools/imglab/src/convert_pascal_xml.cpp
2011-07-08 15:47:38 -04:00
Davis King dc3f420529 Added a converter for pascal v1.00 annotation files. 2011-07-08 15:43:07 -04:00
Davis King c98a4c4d7e updated docs 2011-07-08 15:41:18 -04:00