Alexey Buzmakov
2a1f368bcf
Remove endpoints from theta
...
Adding endpoint to theta make iradon (FBP) reсonstraction worse (adding 2 vertical lines at the edge of phantom).
This is misleading, that the iradon (FBP) is much worse than iradon_sart (SART) , and it is not.
2014-07-19 13:48:40 +04:00
Juan Nunez-Iglesias
6aa0b9e0b9
Merge pull request #1073 from tonysyu/feature/adapt_rgb
...
Add `adapt_rgb` decorator and helpers
2014-07-18 08:27:57 -05:00
Juan Nunez-Iglesias
0c31487fd9
Merge pull request #1072 from blink1073/add-viewer-tests
...
Add Viewer Tests
2014-07-18 06:05:08 -05:00
Tony S Yu
ee3b9f2d66
Remove orphaned import
2014-07-17 20:50:39 -05:00
blink1073
243d550537
Make skip condition cleaner
2014-07-17 19:52:45 -05:00
blink1073
acbac35616
Skip tests if matplotlib is not present
2014-07-17 12:33:59 -05:00
Juan Nunez-Iglesias
a2e28955b4
Merge pull request #1063 from nlsn/3d-fallback
...
Add fallback decorator for 3D images
When an image is 3D or higher, our morphology functions will now call out to scipy.
2014-07-17 00:55:29 -05:00
Tony S Yu
34d7fdb138
Fix docstring for wrapped functions
2014-07-16 23:45:55 -05:00
Tony S Yu
d9a39d44eb
Remove cast and rescale and adjust test values to match
2014-07-16 23:24:03 -05:00
Tony S Yu
c24adec714
Add adapt_rgb decorator and helpers.
...
This applies `adapt_rgb` to `equalize_adapthist` and removes the
special-casing of RGB images in that function. Note that tests of
`adapt_rgb` fail because some type conversion and intensity scaling
were added to pass tests for `equalize_adapthist`.
2014-07-16 23:13:04 -05:00
Nelson Brown
6e8ae37f07
Change ndimage test image to fit uint8 range
2014-07-16 20:03:37 -07:00
Nelson Brown
eb4725826d
Change test of ndimage equivalence to use uint8 test image
2014-07-16 19:57:25 -07:00
Tony S Yu
938955c971
Merge pull request #1071 from blink1073/cleanup-adapthist
...
Minor cleanup of adapthist module
2014-07-16 21:37:28 -05:00
blink1073
97d920cc6b
Another travis fix
2014-07-16 21:04:13 -05:00
blink1073
0b73d69144
Address travis failures
2014-07-16 20:39:37 -05:00
blink1073
1a01f1a83b
Fix failing tests
2014-07-16 19:58:13 -05:00
blink1073
9576df45f8
Add tests for all of viewer subpackage, with necessary file mods
2014-07-16 19:38:23 -05:00
blink1073
736de2c403
Rename module to be more explicit
2014-07-16 14:10:10 -05:00
blink1073
94bbb58274
Minor cleanup of adapthist module
2014-07-16 14:06:08 -05:00
Tony S Yu
7cf80e6ae5
Merge pull request #893 from blink1073/fix-adapthist-757
...
Add option for Adaptive Histogram border pixel handling.
2014-07-15 22:50:50 -05:00
Juan Nunez-Iglesias
74988b88d5
Merge pull request #1068 from vighneshbirodkar/rag_fix
...
Fix threshold in RAG example
2014-07-15 19:11:21 -05:00
Josh Warner
9e8875790f
Merge pull request #1069 from jni/nx-depends
...
Document NetworkX dependency in DEPENDS.txt
2014-07-15 11:19:16 -05:00
Nelson Brown
4449c77884
Fix calls to ndimage to use footprint argument
2014-07-15 08:39:34 -07:00
Nelson Brown
7976520e7a
Add test that the 2D results correspond to scipy's
...
Remove trailing whitespace
2014-07-15 08:25:17 -07:00
Nelson Brown
8c2b9b1784
Updated docstrings
2014-07-15 08:07:30 -07:00
Nelson Brown
001a63bd21
Remove repeated comments
2014-07-15 08:03:31 -07:00
Juan Nunez-Iglesias
f262a71dc5
Document NetworkX dependency in DEPENDS.txt
2014-07-15 03:46:26 -05:00
Vighnesh Birodkar
21364e8741
Fixed threshold in example
2014-07-14 23:06:54 +05:30
Nelson Brown
a1519a015e
Change binary morphology functions to output numpy.bool dtype
2014-07-13 19:59:43 -07:00
Nelson Brown
b677c400df
Add whitespace following comma
2014-07-13 16:55:06 -07:00
Nelson Brown
042d85ad43
Adjust hanging indentation whitespace in dict comprehension
2014-07-13 16:31:58 -07:00
Nelson Brown
d9909c4db9
Add tests for ndimage fallback for 3D white_tophat & black_tophat
2014-07-13 12:36:05 -07:00
Nelson Brown
f1a8132fbf
Add doctrings and comments in response to reviewers
2014-07-13 11:28:27 -07:00
blink1073
70a3760bca
Remove unused deprecation import.
2014-07-12 19:43:57 -05:00
blink1073
0392299fae
Refactor to use np.pad, naming changes, update test.
2014-07-12 19:12:53 -05:00
blink1073
a924e55b52
Fix handling of border pixels and update tests
2014-07-12 19:12:53 -05:00
Tony S Yu
5cafbd95e6
Add tests for intensity_range and rename parameter
2014-07-12 19:12:53 -05:00
blink1073
cc68b0c392
Start removing optional edge pixel handling
2014-07-12 19:10:32 -05:00
blink1073
2bdfcc7d5e
Fix failing tests and turn module level testing back ony
2014-07-12 19:10:32 -05:00
blink1073
ba010a3191
Update adapthist tests, add test for alpha channel and rgb mode handling.
2014-07-12 19:10:32 -05:00
blink1073
909f23baab
Switch to HSV, refactor equalize_adapthist, fix #757 , cleanup docstring
2014-07-12 19:10:31 -05:00
blink1073
95a208eec5
Add test for adapthist modes
2014-07-12 19:10:31 -05:00
blink1073
9f7119b1c0
Change 'trim' to 'crop'
2014-07-12 19:10:31 -05:00
blink1073
9fa39e564a
Update docstring
2014-07-12 19:10:31 -05:00
blink1073
61fb831d31
Implement a mode enum
2014-07-12 19:10:31 -05:00
blink1073
196205956e
Set the unused portion of the image to 0
2014-07-12 19:10:31 -05:00
Nelson Brown
ea3e65f25a
Add 3d-fallback tests for binary functions
2014-07-12 16:54:35 -07:00
Nelson Brown
2b91c259d6
Add fallback decorator for 3D images
...
We don't support images greater than 2D, so fall back on ndimage
2014-07-12 15:22:48 -07:00
Juan Nunez-Iglesias
9cd276f754
Merge pull request #1058 from nlsn/default-selem
...
Default structuring element (selem)
2014-07-12 10:06:11 -05:00
Nelson Brown
3518e65ab4
Add newline at EOF of selem.py
2014-07-11 23:39:07 -07:00