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
This commit is contained in:
Johannes Schönberger
2012-08-27 13:31:33 +02:00
parent 77f1e0ba47
commit a6532a8dae
7 changed files with 245 additions and 214 deletions
+2 -2
View File
@@ -14,12 +14,12 @@ def configuration(parent_package='', top_path=None):
config.add_data_dir('tests')
cython(['_hough_transform.pyx'], working_path=base_path)
cython(['_project.pyx'], working_path=base_path)
cython(['_warps_cy.pyx'], working_path=base_path)
config.add_extension('_hough_transform', sources=['_hough_transform.c'],
include_dirs=[get_numpy_include_dirs()])
config.add_extension('_project', sources=['_project.c'],
config.add_extension('_warps_cy', sources=['_warps_cy.c'],
include_dirs=[get_numpy_include_dirs(), '../_shared'])
return config