Commit Graph

3708 Commits

Author SHA1 Message Date
Stefan van der Walt 65457a95b6 Merge pull request #496 from ahojnnes/label-performance
ENH: Inline helper functions of label and add number of regions as an optional return.
2013-04-18 06:26:52 -07:00
Zach Pincus ab8b325ff4 Fix 64-bit multipage tiff writing segfault 2013-04-17 17:56:08 -04:00
François Boulogne 1780a8d2e7 add option full_output to hough_circ 2013-04-16 15:01:02 +02:00
Stefan van der Walt 474621c247 Merge pull request #503 from ahojnnes/exposure
STY: Remove duplicate import statement.
2013-04-15 15:24:57 -07:00
Stefan van der Walt 73e73c4bfb Merge pull request #500 from JDWarner/fix_preserve_rw_input_shape
BUG: Preserve input image shape upon executing `random_walker`.
2013-04-14 21:27:55 -07:00
Josh Warner (Mac) e3c3a69560 add assertion checks to ensure data shape is unchanged 2013-04-14 20:16:18 -05:00
Josh Warner (Mac) 8e0eb4a2b1 fix: remove unnecessary forced copy 2013-04-14 20:15:19 -05:00
Stefan van der Walt baae1d9a48 Merge pull request #501 from ahojnnes/skeletonize
BUG: Fix `skeletonize` return type.
2013-04-14 10:23:34 -07:00
Johannes Schönberger 16da3bc32a Remove duplicate import statement 2013-04-13 20:26:55 +02:00
Johannes Schönberger 9eabaf3cd9 Remove unnecessary conversion step to numpy array 2013-04-13 20:12:13 +02:00
Johannes Schönberger 3c038f8db3 Reformat code to comply with PEP8 2013-04-13 20:11:22 +02:00
Johannes Schönberger 0238e388ac Make return type of skeletonize function boolean 2013-04-13 20:09:36 +02:00
Josh Warner (Mac) 28c7d8afd3 Use force_copy argument of img_as_float
Also three PEP8 fixes
2013-04-12 10:02:33 -05:00
Josh Warner (Mac) f1ef7d5da2 PEP8 fixes; remove unneeded pyamg import; add data shape check 2013-04-11 14:02:10 -05:00
Josh Warner (Mac) 1edbf3e6f4 fix to preserve input image shape upon executing random_walker 2013-04-11 11:49:10 -05:00
Tony S Yu edfce92f30 Merge pull request #484 from almarklein/3d-selem
Adding predefined structuring elements for 3D morphology.
2013-04-09 22:29:19 -07:00
Josh Warner (Mac) cf264353c1 FIX use specific structuring element in Canny 2013-04-09 19:37:09 -05:00
Johannes Schönberger ecdfd518c6 Add test case for number of labels 2013-04-09 22:54:57 +02:00
Johannes Schönberger 9fc3f3d77f Add option to return number of labels 2013-04-09 22:50:30 +02:00
Johannes Schönberger 4e87f3f54e Inline helper functions of label 2013-04-09 19:49:14 +02:00
Chris Beaumont 469b41b020 vectorized transform.integral.integrate 2013-04-08 14:10:17 -04:00
Tony S Yu 2838b97261 Merge pull request #371 from ahojnnes/gabor
Gabor filter
2013-04-07 14:12:41 -07:00
Tony S Yu 0f2628c7db Add better test of gabor filter 2013-04-07 10:43:43 -05:00
Tony S Yu 67536c94f6 DOC: Tweak docstrings for Gabor filter 2013-04-06 21:30:50 -05:00
Tony S Yu 2bf178ceb2 Add bandwidth parameter to gabor_kernel
Note that this changes the API of `gabor_kernel` and `gabor_filter`: The input parameters are rearranged and positional arguments are changed to keyword args.
2013-04-06 21:18:53 -05:00
Tony S Yu 7d407fc778 Fix kernel-size calculation for non-zero theta. 2013-04-06 20:27:05 -05:00
Johannes Schönberger 95d1e627c6 Rename sigma parameters by adding an underscore as separator 2013-04-06 19:21:08 +02:00
yangzetian da055e7ca3 Add test for nD exclude_border option 2013-04-03 19:21:04 +08:00
Juan Nunez-Iglesias 6e4ec78de2 Use range instead of xrange 2013-04-03 18:09:21 +11:00
Juan Nunez-Iglesias d9e6b509c5 Make exclude_borders option in peak_local_max nD
Prior modifications to peak_local_max make it nd-aware, but this does
not extend to the exclude_borders option. This commit changes that.
2013-04-03 17:56:04 +11:00
François Boulogne 9f20e42031 Tony's comment on output format 2013-04-02 16:21:55 +02:00
yangzetian afde2b8ab8 change doc for indices and remove the unnecessarily tolist() operation 2013-04-02 12:35:11 +08:00
yangzetian f77def35d8 Fix peak_local_max's output for ndarray when indices is set to False 2013-04-01 20:34:47 +08:00
Johannes Schönberger 11a2f1ebcc Merge pull request #482 from thouis/master
fix rank filters for float structuring element
2013-03-28 11:13:48 -07:00
Almar 644ab324dd Added test for ball and octahedton selems.
Note that only the center slice (in each dimension is tested)
since there is no reference data available for these selems.
I did visualize the 3D shapes to see whether they look right.
2013-03-28 10:03:02 +01:00
Almar 77192b6e9a Adding octahedron selem (3D equivalent of diamond). 2013-03-28 09:48:25 +01:00
Johannes Schönberger 8299f471f2 Add test case for different dtypes of structuring element 2013-03-27 22:26:29 +01:00
Johannes Schönberger 23cf8b7dfb Make sure non-zero values are treated as True 2013-03-27 22:25:59 +01:00
Almar fa6a30198c Fix typo in docstring of disk(). 2013-03-27 21:54:49 +01:00
Almar 42c72ab106 Add ball selem. I verified in 2D that this usage of np.mgrid yields the exact same results as np.meshgrid (np.meshgrid is not available for 3D). 2013-03-27 21:52:07 +01:00
Almar cbf1657ee7 Add cube selem. 2013-03-27 21:50:08 +01:00
Almar e9ce0f60b9 Create dummy WindowsError that is an actual Exception instead of None. The previous solution prevented installation on py3.3 and OSX 10.6.1. 2013-03-27 21:12:42 +01:00
Thouis (Ray) Jones a784e28012 fix rank filters for float structuring element 2013-03-26 23:25:10 -04:00
François Boulogne 35d6973215 fix deprecated variable 2013-03-24 16:34:27 +01:00
François Boulogne 96d0e677dd cosmectics (flake8) 2013-03-24 15:52:14 +01:00
François Boulogne 0e4d107754 fix signature 2013-03-24 15:39:07 +01:00
François Boulogne 42e872f926 fix names 2013-03-24 15:22:42 +01:00
François Boulogne a68434b330 big clean-up! 2013-03-24 15:11:55 +01:00
François Boulogne caee53c83c doc, minor improv. 2013-03-22 23:31:06 +01:00
François Boulogne 29b91ca01d minor doc improv. 2013-03-22 23:16:13 +01:00