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
Horea Christian
1c7947fad1
Renamed parameter
2013-07-14 22:21:51 +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
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
Johannes Schönberger
3e6a51cc2a
Add bool dtype range
2012-08-24 23:17:32 +02:00
Johannes Schönberger
4b303f36cc
Update test cases for boolean dtype conversion
2012-08-24 12:44:00 +02:00
Johannes Schönberger
7ad4b91d65
Add support for boolean dtype conversion
2012-08-24 12:42:35 +02:00
Andreas Mueller
f7c56202d0
COSMIT no spaces around power `**`. Fun: https://gist.github.com/1671995
2012-06-29 11:27:23 +02:00
Andreas Mueller
f7b3d8062c
COSMIT pep8
2012-06-29 11:27:23 +02:00
Stefan van der Walt
87739ed031
BUG Remove merge artefact.
2012-06-24 18:03:02 -07:00
Stefan van der Walt
635b836c08
PKG: Rename as_windows to view_as_windows.
2012-06-24 17:58:32 -07:00
Stefan van der Walt
fce9de633d
ENH: Promote as_windows to a utility function.
2012-06-24 17:57:51 -07:00
cgohlke
98245449cb
Fix test failures on Python 3
2012-06-11 09:36:29 -07:00
cgohlke
bde2831709
Add test_float_out_of_range
2012-06-06 18:53:44 -07:00
cgohlke
96bad2e4cf
Add range check against better judgment
2012-06-06 18:51:47 -07:00
cgohlke
bbc5b8e552
Remove range check test
2012-05-24 01:20:51 -07:00
cgohlke
6d997b9af7
Remove controversial range check
2012-05-24 01:18:49 -07:00
cgohlke
225cfca4e2
Use general format
2012-05-23 12:09:41 -07:00
cgohlke
15c0df33c9
Fix TypeError
2012-05-23 12:03:23 -07:00
cgohlke
11c4ca7f53
Add floating point range check
2012-05-23 11:37:07 -07:00
cgohlke
dad16f8a29
Restore test_float_out_of_range
2012-05-23 11:33:19 -07:00
cgohlke
4377c647f4
Code cleanup
2012-05-23 01:35:36 -07:00
cgohlke
c4552d294a
Return correct dtype
2012-05-23 00:57:26 -07:00
cgohlke
8575a46f42
Verify dtype
2012-05-23 00:55:28 -07:00