Commit Graph

613 Commits

Author SHA1 Message Date
Stefan van der Walt 558298f426 Fix im_self access in Python 3. 2013-06-29 10:17:42 -05:00
Stefan van der Walt 9d1907a211 Fix im_class access in Python 3. 2013-06-29 10:17:42 -05:00
Jostein Bø Fløystad 6d2f082c11 test_radon_transform: Style fixes, PEP8. 2013-06-23 12:48:14 +02:00
Jostein Bø Fløystad 186a238e48 test_radon_transform: Clean up imports. 2013-06-23 12:48:14 +02:00
Jostein Bø Fløystad 4b25c48245 transform.iradon: Correct determination of center of projection. 2013-06-23 12:48:14 +02:00
Jostein Bø Fløystad cca66a04ef transform.radon: Robust determination of center of projection. 2013-06-23 12:48:14 +02:00
Jostein Bø Fløystad df0b060c69 test_radon_transform: Change test criterion for sinogram_circle. 2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad 934f1040ad test_radon_transform: Change test criterion for iradon_minimal. 2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad afaab4fea7 test_radon_transform: Refactor tests and make them stricter. 2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad b8a6b4fa00 radon_transform: Stylistic changes. 2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad e63a1fb341 test_radon_transform: debug option for test_iradon_minimal. 2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad cf51de6b37 test_radon_transform: Refactor and improve test_radon_iradon.
Aside from refactoring, the Shepp-Logan phantom is now used as it is a
more challenging test object.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad 1caafd4451 test_radon_transform: Test sinogram conversions. 2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad b61ff7513e transform.iradon: Refactoring for shorter functions.
Will facilitate testing.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad da423931b5 test_radon_transform: Add helper functions. 2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad 131cfc73ed transform.iradon: Redefine slice and projection center.
These changes should match those made to radon.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad 364e82176f radon tests: Refactor test for circle reconstructions. 2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad a44f1d4ef9 transform.radon: Consistent definition of center of array.
The center is now defined as shape[i] // 2.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad 380c916c92 transform.radon: Use correct padding for rectangular images. 2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad 28de2f978a transform.radon: Remove unneccesary matrix inverse. 2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad 1d64eb59eb transform.iradon: Add tests for center of projection.
This is a test designed for resolving gh-592.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad b8a20bcb59 transform.radon: Add testcases for rectangular input arrays. 2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad 4e0cbf97fe transform.radon: Add test to verify the projection center.
This test is designed for issue gh-592.
2013-06-23 12:48:13 +02:00
Johannes Schönberger 360f5b55e3 Merge pull request #597 from sciunto/hough_ellipse
Hough transform for ellipses
2013-06-21 12:47:50 -07:00
François Boulogne 77d7b25b52 fix import testing 2013-06-20 23:26:10 +02:00
François Boulogne 33bbda17c1 s/int/long memory view 2013-06-20 22:17:23 +02:00
François Boulogne d23469de80 use memoryview 2013-06-20 21:10:47 +02:00
François Boulogne 73f6585d28 Hough transform for ellipses 2013-06-20 16:08:53 +02:00
Johannes Schönberger 2ac42c4619 Merge pull request #587 from sciunto/import
MIN: fix unused import
2013-06-12 13:23:28 -07:00
François Boulogne 755ba9e605 MIN: remove unnecessary brackets 2013-06-12 22:08:43 +02:00
François Boulogne cf4b83b76f cast range to list for python3 2013-06-12 22:03:25 +02:00
François Boulogne e258e05468 MIN: fix unused import 2013-06-12 21:36:28 +02:00
Jostein Bø Fløystad f533f5351b PEP8 fixes for test_radon_transform 2013-06-02 20:08:34 +02:00
Jostein Bø Fløystad 1860fc4a3f Reduce code duplication in test_radon_transform
Although the line count is increased by these changes, future tests can
be written in fewer lines.
2013-06-02 20:07:13 +02:00
François Boulogne a48de8dea9 add optional + default in pyx docstring 2013-05-29 20:18:19 +02:00
Stefan van der Walt 7ced6625d8 Merge pull request #567 from josteinbf/radon-reconstruction-circle
ENH: Option to use a reconstruction circle in transform.radon/iradon.
2013-05-27 13:14:10 -07:00
Jostein Bø Fløystad bec5a20441 Style improvements in docstrings in transform.radon_transform 2013-05-27 20:43:51 +02:00
Jostein Bø Fløystad c9ae913d32 PEP8 style changes for transform.radon_transform and its tests 2013-05-27 20:42:59 +02:00
Jostein Bø Fløystad 8208293c93 Correct documentation and string formatting. 2013-05-26 21:21:33 +02:00
Jostein Bø Fløystad 2118f1d97d Tests for reconstruction circle mode in transform.iradon. 2013-05-26 19:48:16 +02:00
Jostein Bø Fløystad 5876d80414 Add reconstruction circle option to transform.iradon. 2013-05-26 19:48:16 +02:00
Jostein Bø Fløystad aa8f1b7c98 Tests for reconstruction circle option for transform.radon. 2013-05-26 19:48:16 +02:00
Jostein Bø Fløystad b872648441 Add reconstruction circle option to transform.radon. 2013-05-26 19:48:16 +02:00
Johannes Schönberger 6c4ed67fe8 Wrap lines 2013-05-26 10:51:42 +02:00
Johannes Schönberger e6a7238fab Fix incomplete options for mode of _warp_fast function 2013-05-26 10:50:00 +02:00
Johannes Schönberger 44ca1b9bcd Fix spelling error 2013-05-26 10:46:36 +02:00
Johannes Schönberger 071d4bfb68 Add examples to doc strings of resize, rotate and rescale functions 2013-05-26 10:45:39 +02:00
Johannes Schönberger b3c7d67ace Fix parameter descriptions of warp functions 2013-05-26 10:38:20 +02:00
Johannes Schönberger a569e76a4d Fix parameter description of warp function 2013-05-26 10:34:12 +02:00
Johannes Schönberger 09aad04d68 Add short example for transforms to warp function 2013-05-26 10:27:30 +02:00