Commit Graph

106 Commits

Author SHA1 Message Date
Josh Warner a3bb1098d1 Merge pull request #632 from ahojnnes/local-blocks
Refactor N-dimensial array resampling and add additional functionality
2013-07-31 14:10:18 -07:00
Josh Warner b5d09bcd1c Merge pull request #603 from TheChymera/master
ENH: User-specified output aspect ratio in skimage.util.montage.montage2d function
2013-07-20 22:33:32 -07:00
Horea Christian 35a65aeef3 Resolved faulty montage2d import. 2013-07-21 05:55:02 +02:00
Horea Christian 2d33bf7622 Added test case for grid_shape parameter. 2013-07-21 03:55:16 +02:00
Horea Christian 228bf8f7ba Adapted if statement to grid_shape=None 2013-07-19 00:32:38 +02:00
Horea Christian 90f3a5d685 Syntax and default variable.
From (0,0) to None.
2013-07-18 17:54:03 +02:00
Johannes Schönberger dc27babee2 Merge pull request #546 from jni/3d-slic
Add support for 3D images in SLIC segmentation
2013-07-14 23:50:38 -07:00
Horea Christian 1c7947fad1 Renamed parameter 2013-07-14 22:21:51 +02:00
Juan Nunez-Iglesias 858f7411d7 Complete test_regular_grid coverage 2013-07-13 01:34:51 +02:00
Juan Nunez-Iglesias f0ecc4d00d Rename regular_grid.py 2013-07-12 18:28:11 +02:00
Juan Nunez-Iglesias e80dd18d7e Add tests for 'regular_grid()' 2013-07-12 18:26:11 +02:00
Horea Christian 70aedc4556 Removed blank lines in between parameters. 2013-07-10 22:18:09 +02:00
Horea Christian 633dca7c97 Refined syntax. 2013-07-09 00:28:57 +02:00
Juan Nunez-Iglesias 48d78c09d9 Improve doc for regular_grid.py 2013-07-08 14:41:42 +02:00
Johannes Schönberger 06aaf93e63 Use pad function and add option to define cval 2013-07-05 17:59:27 +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
Johannes Schönberger 24c0c40977 Merge pull request #511 from ankit-maverick/resample
Resampling of nD arrays
2013-07-04 22:47:09 -07:00
Ankit Agrawal 7282f561d4 Added docs, tests for downsample() in skimage.transform._warps 2013-07-04 17:31:27 +08:00
Juan Nunez-Iglesias 7f1b9ea4c6 Fix automerge bug 2013-07-02 19:42:24 +02:00
Juan Nunez-Iglesias 441f4029f6 PEP8 2013-07-02 13:22:13 +02:00
Juan Nunez-Iglesias 332ab0449b Improve PEP8 and Python 3 compliance
Thanks to @JDWarner and @ahojnnes for the input.
2013-07-02 13:22:13 +02:00
Juan Nunez-Iglesias bb8cfea8c6 Add function to calculate regularly-spaced grid in nD 2013-07-02 13:22:12 +02:00
Josh Warner (Mac) 5f7fc52830 FEAT: generator to add various types of random noise to images 2013-06-29 18:00:26 -05:00
Tony S Yu 6cef8727a0 Minor fixes
- Use absolute imports so __main__ examples work
- PEP8: 2 blank lines
2013-06-29 10:56:03 -05:00
Adam Wisniewski 81519b7863 adding main to run tests 2013-06-29 10:17:41 -05:00
Adam Wisniewski 227b209720 fix arraypad 2013-06-29 10:17:41 -05:00
Horea Christian 9583072271 Added usage example. 2013-06-28 20:20:39 +02:00
Horea Christian 9e415a096a Corrected indents Again. 2013-06-28 13:21:55 +02:00
Horea Christian 03623a3028 Corrected indents (4space instead tab). 2013-06-28 05:28:15 +02:00
Horea Christian 8367542a20 Corrected indentation and spacing. 2013-06-28 01:25:13 +02:00
Horea Christian 45d960d64f User-specified output ratio
Added a keyword argument which enables the user to select other ratios for the output image rather than
just 1:1.
2013-06-27 08:15:49 +02:00
Stefan van der Walt 113267bd4d Merge pull request #577 from JDWarner/add_pad
ENH: Generalized N-dimensional array padding.
2013-06-22 20:51:51 -07:00
Josh Warner (Mac) 20ae0a1ca2 FEAT: Generalized n-dimensional array padding
This PR exposes NumPy 1.8+ padding functionality to all
users of scikit-image, regardless of their personal NumPy
version.

The improved (much better scaling with dimensionality)
version introduced in NumPy 1.8 is used.
2013-06-19 09:10:06 -05:00
François Boulogne eb9de1d7eb MIN: use print() instead of print 2013-06-12 21:16:23 +02:00
Johannes Schönberger c10f8d300b Add __all__ to util package 2013-04-28 23:20:01 +02:00
Josh Warner (Mac) 4b43e9f33e workaround: convert dtype(image) to image.astype(dtype) 2013-03-21 00:17:56 -05:00
Tony S Yu 1724fb2351 Change dtype_limits clipping behavior. 2013-03-02 17:40:17 -06:00
Tony S Yu 9c88dd8644 ENH: Let CannyPlugin adapt to input image
Add `dtype_limits` helper function.
2012-12-16 22:15:11 -05:00
Nicolas Pinto b16ba3daf2 BUG: fix side-effect in util.montage() 2012-10-07 13:30:07 -07:00
Andreas Mueller 6c59e04714 MISC remove unused imports, some pep8 corrections. 2012-09-27 20:01:45 +01:00
JDWarner c54d8d31f3 Docfix for img_as_float; appended myself to CONTRIBUTORS
img_as_float() had a legacy note stating conversion would force
negative values to the positive domain; this no longer described
its functionality. Note changed to reflect the retention of negative
values when converting from signed datatypes.

When submitting my multichannel improvement to the random walker
segmentation algorithm, I neglected to append my name to the
CONTRIBUTORS file. Now fixed.
2012-09-24 11:30:45 -05:00
Tony S Yu 81e49b6686 DOC: Fix docstring note about conversion range 2012-09-13 21:37:52 -04:00
Stefan van der Walt 8494a18882 Conversion to bool: threshold on half dtype max. 2012-09-13 18:07:52 -07:00
Stefan van der Walt 56b4ba67e6 ENH: Bool dtype conversion speed improvements. 2012-09-13 18:07:52 -07:00
kuantkid 554487f9de FIX: issue sign loss warning only for signed type 2012-09-10 13:22:38 +08:00
kuantkid 07b258e208 FIX: multiply by the maximum value may change dtype 2012-09-10 13:11:27 +08:00
kuantkid 61be60cace FIX: early fix for dtype conversion from bool to other type PR #306, Issue #263 2012-09-10 13:00:32 +08:00
kuantkid 38f0ca3dbc FIX convert to (unsigned) integer from bool type 2012-09-09 23:20:21 +08:00
Tony S Yu 27cac73e16 DOC: Fix section titles to match numpy doc standard 2012-09-02 18:33:38 -04:00
Tony S Yu 1d91ed98ff DOC: Fix Sphinx warning.
Trailing underscores are used to mark links. Wrap in name in backticks to prevent Sphinx for confusing this as a link.
2012-09-02 17:53:22 -04:00