Commit Graph

61 Commits

Author SHA1 Message Date
Tony S Yu c17ffe6c32 Merge pull request #351 from ahojnnes/test-coverage
Test coverage
2012-10-09 14:51:23 -07:00
Johannes Schönberger 0856dad988 Split 3d resize test function 2012-10-09 11:32:54 +02:00
Johannes Schönberger 3b67c82042 Add support for 3-dimensional image resizing 2012-10-09 11:32:46 +02:00
Johannes Schönberger e47411ed4c Split tests for different channel numbers into separate functions 2012-10-09 08:02:43 +02:00
Johannes Schönberger 661d50ee20 Full test coverage for image pyramids 2012-10-06 15:23:23 +02:00
Johannes Schönberger 17c7d10918 Rename scale function to rescale and scale variables 2012-10-05 10:05:06 +02:00
Johannes Schönberger 8ca068ed19 Add test case for separate scale factors 2012-10-05 06:21:28 +02:00
Johannes Schönberger c2d308c21a Add function to scale images 2012-10-05 06:18:58 +02:00
Andreas Mueller 6c59e04714 MISC remove unused imports, some pep8 corrections. 2012-09-27 20:01:45 +01:00
Stefan van der Walt 0dbb77a359 BUG: Fix homography. 2012-09-20 17:52:17 -07:00
Johannes Schönberger 6d88490657 Rename pyramid functions 2012-09-15 10:40:52 +02:00
Johannes Schönberger 8e14f5f073 Add missing 0th layer of laplacian pyramid 2012-09-08 15:24:14 +02:00
Johannes Schönberger f078854197 Rename factor parameters for better comprehensibility 2012-09-07 18:57:36 +02:00
Johannes Schönberger bccbc36b91 Use consistent dtype for all levels of pyramid 2012-09-07 18:47:50 +02:00
Johannes Schönberger eaed3dff1e Add tests for pyramid functions 2012-09-05 15:18:08 +02:00
Johannes Schönberger 05ae17e0d5 Add test cases for piecewise affine 2012-09-03 22:05:12 +02:00
Johannes Schönberger b2036aee5c Add image resize function 2012-08-30 18:41:00 +02:00
Johannes Schönberger 4cd1f8798b Add nearest mode for positions outside image 2012-08-30 12:08:21 +02:00
Johannes Schönberger abe5dc3cec Add (bi-)cubic interpolation 2012-08-30 09:28:03 +02:00
Johannes Schönberger 501c401dda Move image transform functions to _geometric file 2012-08-27 18:05:18 +02:00
Johannes Schönberger 6f4c2ad268 Add function for image rotation 2012-08-27 13:31:33 +02:00
Johannes Schönberger cfea01b9ff Fix import error in geometric test cases 2012-08-27 13:31:33 +02:00
Johannes Schönberger a6532a8dae Refactor image warps
* Fix cval bug in interpolation which was ignored
* Remove fast_homography as standalone function and automatically include
  functionality in warp
* Fix bug in warp_coords for graylevel images
* move warp functions to warp file
2012-08-27 13:31:33 +02:00
Stefan van der Walt ce423e169e Merge pull request #257 from ahojnnes/shared
ENH: Add shared package.
2012-08-25 10:35:29 -07:00
Johannes Schönberger f750e633c8 Fix test cases of warps 2012-08-24 00:18:08 +02:00
James Bergstra 3e6a6e37b1 ENH: stricter check on test_const_cval_out_of_range 2012-08-24 00:17:43 +02:00
James Bergstra e859520872 FIX: doctest of warp_coords 2012-08-24 00:17:43 +02:00
James Bergstra c5dc55cd52 ENH: better docstring and test for warp_coords 2012-08-24 00:17:43 +02:00
James Bergstra 5cce39a44a ENH: remove call in tests to deprecated homography fn 2012-08-24 00:17:43 +02:00
James Bergstra 96c0225354 ENH: test warp with data.lena instead of scipy.misc.lena 2012-08-24 00:17:11 +02:00
James Bergstra ce200f570f ENH: test_warp test case to make sure _warp_coords works for grey and rgb images 2012-08-24 00:17:11 +02:00
James Bergstra e710fac03e Added test case for warp() when cval out of clipping range 2012-08-24 00:16:30 +02:00
Johannes Schönberger 3b227e226d Add nearest neighbour interpolation 2012-08-21 09:20:59 +02:00
Johannes Schönberger 0ca7933a7d Share bilinear interpolation function for other code
Make bilinear_interpolation function callable by other cython code and change
fast_homography to use this function. Also, improve performance of some
functions by making them inline and fix broken test of fast_homography.
2012-08-20 22:48:35 +02:00
Johannes Schönberger d511bd8429 fix comment 2012-08-19 13:06:27 +02:00
Johannes Schönberger 6ea4827f9d add test case for polynomial transform initialization 2012-08-19 13:04:58 +02:00
Johannes Schönberger c7cac1cb0f fix, improve and extend test cases related to geometric transformations 2012-08-10 08:16:05 +02:00
Johannes Schönberger 76931fa61b handle composition of transformations with implicit parameters with __init__ 2012-08-09 09:21:49 +02:00
Johannes Schönberger eb1e71114c fix and improve estimation of geometric transformation parameters
Design matrix was not composed correctly as functional model was incorrect.
Additionally estimation is now based on total least-squares method.
2012-08-08 19:13:45 +02:00
Johannes Schönberger 87c57770ba reimplement implicit parameter functionality of transformations 2012-07-22 16:24:58 +02:00
Stefan van der Walt a130b8d2d9 Refactor geometric transforms. 2012-07-20 17:57:15 -04:00
Johannes Schönberger 5feafee220 extend doc string example for geometric transformations 2012-07-15 15:47:12 +02:00
Johannes Schönberger 9dbad0023c add support for using transformation objects in warp function 2012-07-15 15:47:12 +02:00
Johannes Schönberger 4dcf8528bf change interface of transformation merging 2012-07-15 15:47:12 +02:00
Johannes Schönberger b2ca833509 fix transformation union and add test case 2012-07-15 15:47:12 +02:00
Johannes Schönberger e2ce1d63de redesign class interface 2012-07-15 15:47:12 +02:00
Johannes Schönberger cb3c93a110 change API design and rename some functions 2012-07-15 15:47:11 +02:00
Johannes Schönberger 8bde92b66c remove inconsistent numeric correction and fix test case 2012-07-15 15:47:11 +02:00
Johannes Schönberger 84e18de02d improve and restructure geomtric transformations 2012-07-15 15:47:11 +02:00
Stefan van der Walt 1dcc172f60 TST: Check number of input angles in radon tf. 2012-07-09 11:29:37 -07:00