Commit Graph

28 Commits

Author SHA1 Message Date
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 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 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 da423931b5 test_radon_transform: Add helper functions. 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 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
François Boulogne 77d7b25b52 fix import testing 2013-06-20 23:26:10 +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
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 2118f1d97d Tests for reconstruction circle mode in 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
Stefan van der Walt 1dcc172f60 TST: Check number of input angles in radon tf. 2012-07-09 11:29:37 -07:00
Andreas Mueller 46e959a9d9 COSMIT some manual pep8, removed unused imports, removed unused variables and fixed a bug in a ValueError statement. 2012-06-29 11:27:23 +02:00
Andreas Mueller f7b3d8062c COSMIT pep8 2012-06-29 11:27:23 +02:00
Stefan van der Walt feb3e920b1 TST: Increase radon transform threshold to make test more robust. 2012-05-07 14:14:31 -07:00
Stefan van der Walt a8e96f9b57 BUG: Fix Python 3 syntax error. 2012-05-03 18:13:55 -07:00
Pieter Holtzhausen 31e3ab52b3 Fixed padding in radon, iradon. Tests for small images. 2012-05-03 16:36:35 +02:00
Emmanuelle Gouillart 3c9ab47677 BUG: division by zero for small arrays in iradon 2012-04-09 18:00:37 +02:00
Nelle Varoquaux 114cf44c77 Renamed scikits.image to skimage 2011-10-18 21:12:27 +02:00