Johannes Schönberger
f8a0fcbc2a
Reduce runtime of radon test cases
2013-11-09 23:31:15 +01:00
Jostein Bø Fløystad
60444ee4d3
Radon transform: PEP8 fixes.
2013-07-13 20:32:15 +02:00
Jostein Bø Fløystad
462173a53a
Radon transform: Include boundary in reconstruction circle.
...
A test criterion needed to be relaxed slightly to have tests still
passing. This is ok, as the reconstruction circle is now larger, meaning
larger errors should be expected. Moreover, the test in question uses
random data, and changing the seed causes greater changes in accuracy
than the amount the test criterion was relaxed by.
2013-07-13 20:32:15 +02:00
Jostein Bø Fløystad
643a1bc1f5
iradon: Add test for cubic interpolation.
2013-07-06 20:55:53 +02:00
Jostein Bø Fløystad
06857d3b92
Radon tests: Check the correct error metric.
2013-07-05 13:14:39 +02:00
Jostein Bø Fløystad
a4870242b6
iradon_sart: Test clip functionality and add a test for it.
2013-07-05 13:14:39 +02:00
Jostein Bø Fløystad
dde4288865
test_radon_transform: Style fixes.
2013-07-05 13:14:39 +02:00
Jostein Bø Fløystad
116e1dd571
iradon_sart: Also test accuracy with a missing wedge.
2013-07-05 13:14:38 +02:00
Jostein Bø Fløystad
ace07a0b18
iradon_sart: Add test for order_angles_golden_ratio.
2013-07-05 13:14:38 +02:00
Jostein Bø Fløystad
1b620a0a12
Tests for iradon_sart: Robust path handling.
2013-07-05 13:14:38 +02:00
Jostein Bø Fløystad
d5f323eec0
Tests for the projection_shifts functionality of iradon_sart.
2013-07-05 13:14:38 +02:00
Jostein Bø Fløystad
8e6468eef5
Add tests for transform.iradon_sart.
2013-07-05 13:14:38 +02: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
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