Juan Nunez-Iglesias
7935e51596
Clarify and fix docstrings
2015-01-22 11:38:37 +11:00
Juan Nunez-Iglesias
d538abdb97
Fix order kwarg for some versions of numpy.copy
...
It seems it isn't always a valid kwarg. This bypasses that problem
by calling `np.array` directly (which is just what `np.copy` does
under the hood anyway).
2015-01-22 11:38:36 +11:00
Juan Nunez-Iglesias
92433b2961
Fix and test 0-end bug in crop
2015-01-22 11:38:35 +11:00
Juan Nunez-Iglesias
c96fdb9338
Fix automatic copy even when copy=False in crop
2015-01-22 11:38:35 +11:00
Juan Nunez-Iglesias
fb7ed1d253
Add crop function, inverse to pad
2015-01-22 11:29:09 +11:00
Josh Warner (Mac)
aa2215ccfc
ENH: Fully cover pad and backports from NumPy 0.10dev
2015-01-16 21:54:02 -07:00
Johannes Schönberger
783c04baec
Fix bug in array padding, template matching
2013-12-08 18:54:02 +01:00
Johannes Schönberger
5038a0e958
Remove numpy prefix from pad function examples
2013-11-03 18:16:25 +01:00
Stefan van der Walt
eb6867cfe2
Make six an external dependency.
2013-10-27 14:06:26 +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
Adam Wisniewski
227b209720
fix arraypad
2013-06-29 10:17:41 -05: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