Commit Graph

485 Commits

Author SHA1 Message Date
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 e3585ad17a ENH: renamed and docd _build_coords -> warp_coords 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 c22a176e8d ENH: moved code generating coords out of warp() to _warp_coords 2012-08-24 00:16:30 +02:00
James Bergstra e710fac03e Added test case for warp() when cval out of clipping range 2012-08-24 00:16:30 +02:00
James Bergstra 0749f8d9f0 FIX: transform.warp supports cval outside 0-1 range 2012-08-24 00:14:50 +02:00
James Bergstra 1ac289c588 FIX: corrected docstring for transform.warp 2012-08-24 00:14:50 +02:00
Johannes Schönberger 9731d4c21b Simplify code by removing duplicate loops 2012-08-23 17:29:23 +02:00
Johannes Schönberger a08779e06a Use predefined header files from Cython 2012-08-21 15:15:27 +02:00
Johannes Schönberger 3b227e226d Add nearest neighbour interpolation 2012-08-21 09:20:59 +02:00
Johannes Schönberger 824997af0a Move bilinear interpolation code to shared package 2012-08-21 08:32:20 +02:00
Johannes Schönberger 53472b8e07 Rename matrix transform function and remove from pxd 2012-08-20 22:48:35 +02:00
Johannes Schönberger b5e2b01620 Add doc string to bilinear_interpolation 2012-08-20 22:48:35 +02:00
Johannes Schönberger 6cefa4ad62 Wrap column 2012-08-20 22:48:35 +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 195bdc8c00 complete default matrix initialization of geometric transforms 2012-08-19 13:02:03 +02:00
James Bergstra 2724f50b4c FIX: added default identity matrix to SimilarityTransform to match AffineTransform 2012-08-18 10:12:22 -04:00
James Bergstra d0870c6d68 ENH: initialize AffineTransform to identity when no args are provided 2012-08-17 17:55:26 -04:00
Johannes Schönberger 4541146561 raise exception if matrix and implicit parameter arguments provided 2012-08-12 10:13:29 +02:00
Johannes Schönberger 08f4379e0e add information about unit of angles to doc strings 2012-08-10 08:19:48 +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 8ab0c9a329 add test for shape of transformation matrix 2012-08-10 08:15:06 +02:00
Johannes Schönberger a3ec8e0482 change inverse_map parameter handling of warp function 2012-08-10 07:35:16 +02:00
Johannes Schönberger ff1c8c4376 fix typo 2012-08-09 10:30:40 +02:00
Johannes Schönberger 8e242d0436 add mathematical description of estimation in doc strings 2012-08-09 10:28: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 1bb896e487 remove confusing comment 2012-08-09 08:19:37 +02:00
Johannes Schönberger e5ed1882d3 fix and improve comments, doc strings, variable names for consistency reasons 2012-08-09 07:51:58 +02:00
Johannes Schönberger 54452550f1 fix incorrect comment 2012-08-08 19:19:18 +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 d9a88c95b5 add doc for and restructure polynomial coefficients 2012-07-22 16:52:54 +02:00
Johannes Schönberger 2ae4dd4551 fix scale initialization in implicit composition of similarity 2012-07-22 16:41:58 +02:00
Johannes Schönberger be6bb0c809 combination of two transformations of the same type result in this type again 2012-07-22 16:38:25 +02:00
Johannes Schönberger 87c57770ba reimplement implicit parameter functionality of transformations 2012-07-22 16:24:58 +02:00
Johannes Schönberger 0f5d6153d2 fix bug in estimation of similarity transformation 2012-07-22 08:58:37 +02:00
Johannes Schönberger f971c25a0b remove some blank lines 2012-07-22 08:21:31 +02:00
Stefan van der Walt a130b8d2d9 Refactor geometric transforms. 2012-07-20 17:57:15 -04:00
Johannes Schönberger afb479d766 geometric_transform can transform single coordinate tuple 2012-07-15 17:51:34 +02:00
Johannes Schönberger d7b2c5b51b add missing doc string for polynomial forward transformation 2012-07-15 15:47:12 +02: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 234810be10 fix inconsistent doc strings 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 640edc2a62 fix doc string formatting of function estimate_transformation 2012-07-15 15:47:12 +02:00
Johannes Schönberger ec5c339c68 fix wrong exception type 2012-07-15 15:47:12 +02:00