Commit Graph
5691 Commits
Author SHA1 Message Date
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
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 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 Yuandblink1073 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
Nelson Brown c2bbca6113 Add a newline at EOF 2014-07-11 23:32:36 -07:00
Stefan van der Walt 2c9d22c5e1 Merge pull request #1032 from tonysyu/better-rescale-intensity
Tweak range definition in `rescale_intensity`
2014-07-12 00:56:06 +02:00
Stefan van der Walt f587b5318b Merge pull request #1059 from nlsn/exclude-win-libs
Add gitignore for *.pyd Windows libraries
2014-07-12 00:53:00 +02:00
Nelson Brown 7c53880f06 Add gitignore for *.pyd Windows libraries 2014-07-11 15:26:31 -07:00
Nelson Brown 9cd9a1372a Address reviewer comments
Add newline at EOF of selem.py
Add "optional" to grey.py and binary.py
2014-07-11 15:19:33 -07:00
Tony S Yu 4c000c4d89 Use normal deprecation warning 2014-07-11 17:01:54 -05:00
Nelson Brown 1ef556b710 Remove unnecessary whitespace 2014-07-11 14:51:57 -07:00
Tony S Yu 879c2c7f36 Add tests for intensity_range and rename parameter 2014-07-11 16:30:18 -05:00
Nelson Brown 54aff88bd0 Add docstring for default structuring element 2014-07-11 14:10:18 -07:00
Nelson Brown bb732c9225 Add default structuring element to morphology 2014-07-11 13:50:55 -07:00
Juan Nunez-Iglesias 1c27a97d26 Merge pull request #1052 from charris/numpy-1.9.0-fix
BUG: Fix slicing error revealed by numpy 1.9.0.
2014-07-04 19:40:27 -07:00
Charles Harris 7a074d5dd1 BUG: Fix slicing error revealed by numpy 1.9.0.
Numpy 1.9.0 no longer allows oversize data to be assigned to a
boolean indexed 1-d array by discarding excess elements.

Closes #1050.
2014-07-04 20:12:46 -06:00
Juan Nunez-Iglesias 6887f2cb90 Merge pull request #1031 from vighneshbirodkar/rag
Add region adjacency graphs (RAGs)

This PR introduces a dependency to the NetworkX library.
2014-07-02 22:24:09 -07:00
Vighnesh Birodkar df1d61e461 Spelling correction. 2014-07-03 09:55:17 +05:30