Commit Graph

133 Commits

Author SHA1 Message Date
Johannes Schönberger 6c67738808 Miscellaneous fixes and improvements 2013-10-12 14:13:10 +02:00
François Boulogne df2ee4d636 remove heapq 2013-10-12 14:09:52 +02:00
François Boulogne e27b798ffa FIX: handle correctly main axis def 2013-10-12 14:09:51 +02:00
François Boulogne 1a9d5bb4ca TEST: revert precision 2013-10-12 14:09:51 +02:00
François Boulogne 594a228a06 TEST: fix bad subs 2013-10-12 14:09:51 +02:00
François Boulogne 742699c570 TEST: fix precision 2013-10-12 14:09:51 +02:00
François Boulogne debd4d54d6 ENH: use heapq to select the best match 2013-10-12 14:09:51 +02:00
François Boulogne 7e970b18cd MAINT change HT return API 2013-10-12 14:09:51 +02:00
François Boulogne 7a1b1c28de FIX: fix angle convention 2013-10-12 14:09:51 +02:00
François Boulogne e9f3bd66ac TEST: fix mistake 2013-10-12 14:09:51 +02:00
cgohlke 4d46bc0912 TST: Fix ValueError: Buffer dtype mismatch, expected 'intp_t' but got 'long' 2013-10-10 21:51:56 -07:00
Johannes Schönberger 40f5e78353 Add support for matrix as inverse_map 2013-10-02 17:33:17 +02:00
Stefan van der Walt be14f0b28c Merge pull request #654 from josteinbf/radon-square-center
Define rotation axis center for Radon transforms with inverses.
2013-08-06 02:04:32 -07:00
Josh Warner a3bb1098d1 Merge pull request #632 from ahojnnes/local-blocks
Refactor N-dimensial array resampling and add additional functionality
2013-07-31 14:10:18 -07: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
Josh Warner 6edd707a1b Merge pull request #637 from sciunto/minorfix
STYLE : PEP8 + import fix in hough_transform tests
2013-07-06 11:06:48 -07:00
François Boulogne cf3efba3c1 use previous import 2013-07-06 16:12:09 +02:00
François Boulogne 2dfeab83df PEP8 + import 2013-07-06 13:49:01 +02:00
Johannes Schönberger c0a019eb12 Update test cases for block functions 2013-07-05 17:34:38 +02:00
Johannes Schönberger 04b14b42c9 Refactor local block functions and add additional functionality. 2013-07-05 17:34:38 +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
Johannes Schönberger 24c0c40977 Merge pull request #511 from ankit-maverick/resample
Resampling of nD arrays
2013-07-04 22:47:09 -07:00
Ankit Agrawal 6f9d7c5d1a Cleaning up downsampling for integer factors 2013-07-04 17:34:55 +08:00
Ankit Agrawal 7282f561d4 Added docs, tests for downsample() in skimage.transform._warps 2013-07-04 17:31:27 +08: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
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 73f6585d28 Hough transform for ellipses 2013-06-20 16:08:53 +02:00