François Boulogne
d7b8f37309
add example HT for ellipse
2013-07-07 00:38:49 +02:00
François Boulogne
4f0c4f0306
add coffee picture from flickr
2013-07-07 00:38:06 +02:00
Emmanuelle Gouillart
f3b1b39158
Merge pull request #635 from josteinbf/radon-cleanup
...
Clean up radon and iradon to improve readability
2013-07-06 12:14:25 -07: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
643a1bc1f5
iradon: Add test for cubic interpolation.
2013-07-06 20:55:53 +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
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
Emmanuelle Gouillart
15ed7bdf59
Merge pull request #584 from josteinbf/iradon-algebraic
...
SART algorithm for tomography reconstruction
2013-07-06 10:24:24 -07:00
Josh Warner
bf26ce7fae
Merge pull request #640 from sciunto/missingdoc
...
DOCFIX: add docstrings to Cython grayscale dilate/erode & make them private funcs
2013-07-06 07:16:09 -07:00
François Boulogne
cf3efba3c1
use previous import
2013-07-06 16:12:09 +02:00
Ankit Agrawal
f932db666e
Added more detailed example in docstrings
2013-07-06 20:51:01 +08:00
François Boulogne
de9d2662b1
MIN: fix pep8
2013-07-06 14:45:54 +02:00
François Boulogne
f316abbfbe
DOC: add doctrings
2013-07-06 14:34:55 +02:00
Ankit Agrawal
50ac1e89af
Fixing bug in _remove_border_keypoints
2013-07-06 20:34:32 +08:00
François Boulogne
e74b971335
erode & dilate -> private functions
2013-07-06 14:30:17 +02:00
Ankit Agrawal
71c0c2ce58
Added an example in skimage.feature._brief
2013-07-06 20:11:44 +08:00
François Boulogne
73a39c8e2e
activate travis for a fork
2013-07-06 14:02:16 +02:00
François Boulogne
2dfeab83df
PEP8 + import
2013-07-06 13:49:01 +02:00
Tony S Yu
516d6efa5d
Fix Python 3 incompatibility (also, some wording tweaks)
2013-07-06 00:55:51 -05:00
Johannes Schönberger
06aaf93e63
Use pad function and add option to define cval
2013-07-05 17:59:27 +02:00
Johannes Schönberger
b7f72ff15f
Fix deprecated function name referneces in doc strings
2013-07-05 17:34:38 +02:00
Johannes Schönberger
4f6b39dcd3
Rename block_* functions to local_*
2013-07-05 17:34:38 +02:00
Johannes Schönberger
9d806eb413
Update doc string for new functionality
2013-07-05 17:34:38 +02:00
Johannes Schönberger
c0a019eb12
Update test cases for block functions
2013-07-05 17:34:38 +02:00
Johannes Schönberger
5579aa2298
Fix doc string examples
2013-07-05 17:34:38 +02:00
Johannes Schönberger
f9546d0d14
Fix import namespace
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
Josh Warner
e5e0c73755
Merge pull request #634 from josteinbf/arraypad-zeros
...
arraypad: allow padding with zero entries (i.e. no padding).
2013-07-05 07:33:10 -07:00
Jostein Bø Fløystad
794a4d7dae
arraypad: allow padding with zero entries (i.e. no padding).
2013-07-05 14:29:09 +02:00
Jostein Bø Fløystad
553767122b
Add SART to contributors.
2013-07-05 13:36:55 +02:00
Jostein Bø Fløystad
3cdfeccc7a
iradon_sart: flip signs to reflect changes to radon.
...
The changes to radon were introduced in gh-596.
2013-07-05 13:14:39 +02:00
Jostein Bø Fløystad
af47941435
iradon_sart: fix comment spelling.
2013-07-05 13:14:39 +02:00
Jostein Bø Fløystad
f2790d658c
iradon_sart: redefine projection center.
...
This reflects the bugfixes related to issue gh-592 implemented in
gh-596.
2013-07-05 13:14:39 +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
e2a0f7fff8
Radon example: Declare UTF-8 encoding.
...
This is needed for non-ASCII characters in the references to papers
cited in the text.
2013-07-05 13:14:39 +02:00
Jostein Bø Fløystad
789c19923d
Radon example: print RMS errors of the reconstructions.
2013-07-05 13:14:39 +02:00
Jostein Bø Fløystad
1d611878a6
Radon example: Style fixes.
2013-07-05 13:14:39 +02:00
Jostein Bø Fløystad
e5dfcb0ab4
Improve the text in and add references to the Radon example.
...
Based on comments from Emmanuelle.
2013-07-05 13:14:39 +02:00
Jostein Bø Fløystad
9e11e453b6
radon example: Display plots when run from command line.
...
Call to matplotlib's show() was missing.
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
a5df8d4630
Rewrite Radon example; include SART.
...
The old example had some flaws. The new example corrects these, expands
on the topic and adds content relating to the newly implemented SART
algorithm.
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
266b202226
iradon_sart: Style fixes.
2013-07-05 13:14:38 +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