Commit Graph
47 Commits
Author SHA1 Message Date
Jostein Bø Fløystad 4d307f5315 iradon_sart: Fix docstring typo. 2013-07-09 11:44:28 +02:00
Jostein Bø Fløystad 1cc42bd943 iradon_sart: Reformat references. 2013-07-09 11:44:03 +02:00
Jostein Bø Fløystad 18a06a0add iradon_sart: Format docs correctly. 2013-07-08 14:50:06 +02:00
Jostein Bø Fløystad bea50aa608 iradon: use util.pad for sinogram padding. 2013-07-06 20:55:54 +02:00
Jostein Bø Fløystad b3746b9090 iradon: Cleanup by locating related code in one place. 2013-07-06 20:55:54 +02:00
Jostein Bø Fløystad b90ba783ef iradon: Only allow interpolation methods working well.
Of the interpolation methods provided by scipy.interpolate.interp1d,
only cubic has been found to work well with the tests in skimage (other
methods are either identical to linear or nearest, or they produce bad
reconstructions).
2013-07-06 20:55:53 +02:00
Jostein Bø Fløystad 2be327815e radon: Use numpy.interp/scipy.interpolate.
Scipy supports all interpolation kinds (nearest, linear) we need, while
numpy supports only linear interpolation. The numpy interpolation is
substantially faster, so this is used even though it complicates the
code slightly.
2013-07-06 20:55:53 +02:00
Jostein Bø Fløystad 5955e4e612 iradon: Reduce code duplication. 2013-07-06 20:55:53 +02:00
Jostein Bø Fløystad ac460a9777 iradon: Use util.pad for array padding.
This depends on util.pad accepting 0s in pad_width, which has a proposed
solution in gh-634.
2013-07-06 20:55:53 +02:00
Jostein Bø Fløystad 237fb989b0 radon: Use util.pad for array padding. 2013-07-06 20:55:53 +02:00
Jostein Bø Fløystad af47941435 iradon_sart: fix comment spelling. 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 266b202226 iradon_sart: Style fixes. 2013-07-05 13:14:38 +02:00
Jostein Bø Fløystad 2082b57e41 iradon_sart: Order angles using a golden ratio approach. 2013-07-05 13:14:38 +02:00
Jostein Bø Fløystad dcd31c1882 radon_transform: Declare encoding. 2013-07-05 13:14:38 +02:00
Jostein Bø Fløystad 8d4b1e6710 iradon_sart: Add Kaczmarz reference and reformat citations. 2013-07-05 13:14:38 +02:00
Jostein Bø Fløystad c977c5974d iradon_sart: Improve argument checking. 2013-07-05 13:14:38 +02:00
Jostein Bø Fløystad 94eba1c911 iradon_sart: Clarify how constants are chosen. 2013-07-05 13:14:38 +02:00
Jostein Bø Fløystad 496902145f iradon_sart: Add wikipedia reference to Kaczmarz method. 2013-07-05 13:14:38 +02:00
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 1e1dd180d2 Implement projection shifts. 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
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 b8a6b4fa00 radon_transform: Stylistic changes. 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 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 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 bec5a20441 Style improvements in docstrings in transform.radon_transform 2013-05-27 20:43:51 +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 8208293c93 Correct documentation and string formatting. 2013-05-26 21:21:33 +02:00
Jostein Bø Fløystad 5876d80414 Add reconstruction circle option to transform.iradon. 2013-05-26 19:48:16 +02:00
Jostein Bø Fløystad b872648441 Add reconstruction circle option to transform.radon. 2013-05-26 19:48:16 +02:00
Johannes Schönberger 772a1cb4b0 Update radon transform with new warp function 2012-08-27 13:31:33 +02:00
Johannes Schönberger 4fe9f39c45 Fix shape format of arrays in doc strings 2012-08-26 00:16:52 +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 f7c56202d0 COSMIT no spaces around power `**`. Fun: https://gist.github.com/1671995 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 4296597cdf BUG: Temporary workaround for shape offset parameter in radon transform. 2012-05-08 15:43:09 -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
Andreas Mueller 2b6208cf3e DOC some sphinx and rst fixes 2012-02-21 18:01:22 +01:00
Nelle Varoquaux 114cf44c77 Renamed scikits.image to skimage 2011-10-18 21:12:27 +02:00