Johannes Schönberger
6ee96054c9
Append percentile, bilateral function name part
2013-07-12 23:16:50 +02:00
Johannes Schönberger
ed21622caf
Use consistent description of output image
2013-07-12 23:16:50 +02:00
Johannes Schönberger
658201f8f6
Rename mean_subtraction, morph_contr_enh to subtract_mean and enhance_contrast
2013-07-12 23:16:50 +02:00
Johannes Schönberger
54c73fae06
Replace log warning with UserWarning
2013-07-12 23:16:50 +02:00
Johannes Schönberger
43feb4bf78
Update bitdepth warning
2013-07-12 23:16:50 +02:00
Johannes Schönberger
4de4053a9f
Refactor rank filter package as combined implementation for 8- and 16-bit
2013-07-12 23:16:49 +02:00
Johannes Schönberger
9a36e3b270
Log warning when bitdepth > 10
2013-07-12 23:16:49 +02:00
Johannes Schönberger
6c5eb12df8
Cast to int for python 3
2013-07-12 23:16:09 +02:00
Johannes Schönberger
663092aca0
Improve indentation
2013-07-12 23:16:09 +02:00
Johannes Schönberger
f74c073da1
Add test case for bilateral filters
2013-07-12 23:16:09 +02:00
Johannes Schönberger
ce792d5e1a
Improve description of bilateral filter
2013-07-12 23:16:08 +02:00
Johannes Schönberger
984e542425
Use missing memoryviews for bilateral kernels
2013-07-12 23:16:08 +02:00
Johannes Schönberger
7fa8e70495
Fix README for full 16bit support
2013-07-12 23:16:08 +02:00
Johannes Schönberger
d1fb013788
Fix test cases for full 16bit support
2013-07-12 23:16:08 +02:00
Johannes Schönberger
e9fcdc4a56
Fix attack-release border initialization
2013-07-12 23:16:08 +02:00
Johannes Schönberger
ccd902fcb4
Extend bitdepth from 12bit to full 16bit
2013-07-12 23:16:08 +02:00
Johannes Schönberger
c9e81053f7
Capitalize parameter description in doc string
2013-07-12 23:16:08 +02:00
Johannes Schönberger
aa973aeff2
Fix wrong module name
2013-07-12 23:16:08 +02:00
Johannes Schönberger
cd7959dd08
Fix styling of some comments
2013-07-12 23:16:08 +02:00
Johannes Schönberger
ea8111d0e3
Use typed memoryviews for diff array
2013-07-12 23:16:08 +02:00
Johannes Schönberger
d251fd8891
Improve code layout and styling
2013-07-12 23:16:08 +02:00
Johannes Schönberger
2641df3497
Use typed memoryviews in rank filter package
2013-07-12 23:16:08 +02:00
Johannes Schönberger
9a17db19da
Refactor rank filter package for consistent naming
2013-07-12 23:16:07 +02:00
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
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
François Boulogne
cf3efba3c1
use previous import
2013-07-06 16:12:09 +02: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
François Boulogne
e74b971335
erode & dilate -> private functions
2013-07-06 14:30:17 +02:00
François Boulogne
2dfeab83df
PEP8 + import
2013-07-06 13:49:01 +02: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
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
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
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