Commit Graph

123 Commits

Author SHA1 Message Date
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
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
François Boulogne 0586046d59 fix travis complaint 2013-04-22 21:27:54 +02:00
Stefan van der Walt e6277b1ba4 Merge pull request #488 from sciunto/minor_docfix
ENH: Allow `hough_circle` to detect circles with centres outside the image.
2013-04-19 04:04:26 -07:00
François Boulogne 1780a8d2e7 add option full_output to hough_circ 2013-04-16 15:01:02 +02:00
Chris Beaumont 469b41b020 vectorized transform.integral.integrate 2013-04-08 14:10:17 -04:00
François Boulogne 96d0e677dd cosmectics (flake8) 2013-03-24 15:52:14 +01:00