Commit Graph

485 Commits

Author SHA1 Message Date
Jostein Bø Fløystad 372f0127f9 transform.iradon_sart: Clean up code for ordering projections. 2013-07-05 13:14:38 +02:00
Jostein Bø Fløystad b474804654 Fix docstrings for transform.iradon_sart with subroutines. 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 1e1dd180d2 Implement projection shifts. 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 d4b33059cb Make iradon_sart visible in the transform package. 2013-07-05 13:14:38 +02:00
Jostein Bø Fløystad 9484afeed1 Add SART tomography reconstruction to radon_transform. 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 971e7beec5 Correcting typos 2013-07-05 11:10:12 +08:00
Ankit Agrawal 8ac4427d9b Expanding the documentation in transform._warps 2013-07-05 00:21:11 +08:00
Stefan van der Walt bcc249263f Merge pull request #596 from josteinbf/radon-projection-center
Radon transform: Improve tests and address bugs in definition of image and projection center.
2013-07-04 07:24:05 -07:00
Ankit Agrawal 6f9d7c5d1a Cleaning up downsampling for integer factors 2013-07-04 17:34:55 +08:00
Ankit Agrawal c57c865196 Add _sum_blocks 2013-07-04 17:32:20 +08:00
Ankit Agrawal 2f817542b8 Making code compatible with Python 3 2013-07-04 17:31:28 +08:00
Ankit Agrawal 7282f561d4 Added docs, tests for downsample() in skimage.transform._warps 2013-07-04 17:31:27 +08:00
Ankit Agrawal 329cf37ca2 Padding ndarray with zeros to support downsampling by any integer factor 2013-07-04 17:24:14 +08:00
Ankit Agrawal bfc2aac3e5 Downsampling of nD arrays 2013-07-04 17:24:14 +08:00
Ankit Agrawal b5804214b0 Minor refactoring 2013-07-04 17:24:14 +08:00
Ankit Agrawal 8372b0b6aa Removing code repetition 2013-07-04 17:24:13 +08:00
Ankit Agrawal 19f0be9fbd PEP8 corrections 2013-07-04 17:24:13 +08:00
Ankit Agrawal b551a49708 First implementation of Integer Up/Downsampling 2013-07-04 17:24:13 +08:00
Stefan van der Walt 2566171929 Space code more readably in transform. 2013-06-29 10:55:34 -05:00
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