Commit Graph

2325 Commits

Author SHA1 Message Date
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
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