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
cgohlke
5153c97b21
Fix numpy 1.7dev casting
2012-05-23 00:16:00 -07:00
cgohlke
31d341c0cb
Fix uniform conversion to signed int
2012-05-22 18:23:35 -07:00
cgohlke
7e51e519b1
Fix whitespace
2012-05-22 12:21:58 -07:00
cgohlke
85670d60b6
Update docstring
2012-05-22 12:13:51 -07:00
cgohlke
8e67dd901f
Fix spelling
2012-05-22 11:49:17 -07:00
cgohlke
754f0e5d39
Docstring additions
2012-05-22 11:39:38 -07:00
cgohlke
64da74c91a
Fix grammar
2012-05-22 11:12:47 -07:00
cgohlke
e4b49239c4
Adjust tests for new type conversion rules
2012-05-22 00:25:42 -07:00
cgohlke
3ff1ebf526
Rewrite convert function
2012-05-22 00:21:32 -07:00
Stefan van der Walt
b9289123f7
Explicitly use float64 instead of float.
2012-03-11 16:02:20 -07:00
Stefan van der Walt
ea15eb7647
ENH: Allow forced copy of data upon type conversion.
2012-03-10 17:27:54 -08:00
Stefan van der Walt
7419c682de
BUG: Fix typo in montage--xrange is no longer supported.
2012-03-03 11:25:37 -08:00
Tony S Yu
92f3c580d8
Clarify difference between view_as_blocks and view_as_windows.
2012-02-19 16:34:19 -05:00
Stefan van der Walt
0c304d5acd
Merge pull request #138 from poilvert/array_views
...
ENH: Add window views and montage.
2012-02-19 00:27:09 -08:00
Nicolas Pinto
0a9522d4ea
FIX: montage2d should not use rescale_intensity's out_range kwarg
2012-02-14 21:56:48 -05:00
Nicolas Pinto
c61fe51d2f
DOC: remove <BLANKLINE> nastiness, replace with appropriate doctest directive
2012-02-14 20:08:25 -05:00
Nicolas Pinto
68f8c68c3f
FIX: util.montage2d 'normalize' becomes 'rescale_intensity' and defaults to False
2012-02-14 19:36:07 -05:00