Steven Silvester
542cd4fabe
Fix some doctest warnings
...
Fix doctest errors
Suppress warnings when importing scipy.ndimage for the first time
2014-12-23 16:49:01 -06:00
Steven Silvester
2756358f3c
Clean up PIL plugin and handle more warnings
...
Use the pil plugin to load data files
Fix install_requires string formatting
Dead end commit
Make all tools executable
Remove debug print
Suppress PIL resourcewarnings
Handle a few more warnings
2014-12-23 16:48:38 -06:00
Steven Silvester
0debedd82c
Handle more warnings and reset io plugins as needed
...
Reset plugins prior to running collections test
Handle warnings in morphology pkg
Add __init__ for morpohology tests
Handle warnings for novice pkg
Handle warnings for restoration pkg
Handle warnings for segmentation pkg
Handle warnings for _shared pkg
Handle warnings for transform pkg
Handle warnings for util pkg
Handle warnings in viewer module
2014-12-23 16:48:16 -06:00
Johannes Schönberger
e38ed91c24
Add missing return value description
2014-12-23 15:22:22 +01:00
Johannes Schönberger
e070274355
Add more description to doc string of helper function
2014-12-23 15:20:46 +01:00
Johannes Schönberger
0d2c5def06
Use in-place operation for clipping
2014-12-23 13:51:25 +01:00
Johannes Schönberger
515ec9fe98
Rename keep_range to preserve_range, fix test cases
2014-12-22 20:28:00 +01:00
Johannes Schönberger
e35f9c303e
Remove test for invalid shape
2014-12-22 20:28:00 +01:00
Johannes Schönberger
313032d487
Make sure 1x1 images are 2-D
2014-12-22 20:28:00 +01:00
Johannes Schönberger
3e881fe35c
Create helper function for image conversion
2014-12-22 20:28:00 +01:00
Johannes Schönberger
dedcee6543
Fix keep_range and add test cases
2014-12-22 20:28:00 +01:00
Johannes Schönberger
0779167477
Introduce parameter to keep range of values
2014-12-22 20:28:00 +01:00
Johannes Schönberger
0ae8c4a74b
Clip to min and max range of input image, add missing clip parameter to other functions
2014-12-22 20:28:00 +01:00
François Boulogne
f8fba67dbb
DOC remplace iff by if and only if
2014-12-21 08:57:08 -05:00
Stefan van der Walt
a2a8696ee9
Merge pull request #1051 from ahojnnes/bicubic-interp
...
Bicubic interpolation fix and reference
2014-12-15 23:15:13 +02:00
Johannes Schönberger
3a1079a180
Misc PEP8 fixes
2014-12-14 02:56:14 +01:00
Johannes Schönberger
00c3a978aa
Remove broken test case
2014-12-13 14:51:19 +01:00
Johannes Schönberger
dcc021c903
Use SciPy for second order interpolation, add warnings to buggy functions
2014-12-13 14:45:43 +01:00
Johannes Schönberger
84871a6d6f
Fix bug in get_pixel3d
2014-12-13 13:32:16 +01:00
Johannes Schönberger
5e3d805cf0
Fix broken test case, which used black image
2014-12-13 13:32:16 +01:00
Johannes Schönberger
c63c5e3239
Fix bug in bicubic interpolation and extend test cases to higher orders
2014-12-13 13:31:06 +01:00
emmanuelle
873a2bab4f
Modified a few docstrings that made doctesting fail
2014-12-07 16:58:36 +01:00
Rebecca
1b217f971e
replacing lena in examples and most tests
2014-11-07 16:01:23 +02:00
Stefan van der Walt
97e4599e1c
Merge pull request #1168 from ahojnnes/rot-center
...
Add option to rotate around specific center. Closes gh-1166.
2014-09-22 16:03:37 +02:00
Johannes Schönberger
8432b90eb8
Add option to rotate around specific center
2014-09-22 08:56:14 -04:00
Johannes Schönberger
f846320d78
Add option to combine tform with inverse tform
2014-09-22 08:45:51 -04:00
Johannes Schönberger
d367ff479b
Use for mgrid for Py26 compatibility
2014-09-19 13:34:00 -04:00
Johannes Schönberger
877a7ba109
Add test for N-D warping
2014-09-18 21:03:56 -04:00
Johannes Schönberger
f5c627493e
Extend description of clipping behavior
2014-09-18 20:52:55 -04:00
Johannes Schönberger
fdf0908ab7
Add option to skip clipping of output, and detect if input float image has negative values
2014-09-18 20:49:25 -04:00
Johannes Schönberger
46305eeeec
Remove legacy parameter
2014-09-18 20:36:34 -04:00
Johannes Schönberger
6e26f3a7c7
Fix indendation of parameter description
2014-09-18 20:27:38 -04:00
Johannes Schönberger
6ff1bf26ee
Move comments into if scope
2014-09-18 20:22:35 -04:00
Johannes Schönberger
da36750d55
Make row, col ordering clearer in doc string
2014-09-16 08:19:48 -04:00
Johannes Schönberger
9b4f2d9032
Add support for 2(+1)D images and given output_shape for 2D images
2014-09-15 23:54:40 -04:00
Johannes Schönberger
f9009410ba
Add comments to different conditional paths
2014-09-15 23:54:40 -04:00
Johannes Schönberger
1b49b494ce
Make error message for wrong input dim more explicit
2014-09-15 23:54:40 -04:00
Johannes Schönberger
27d765abd5
Highlight fact that warp_coords is only meant for 2(+1)-D images
2014-09-15 23:54:40 -04:00
Johannes Schönberger
9b5b5b8cc5
Remove deprecated parameter of warp
2014-09-15 23:54:40 -04:00
Johannes Schönberger
1a31968b54
Make warp function N-D compatible, and add example to doc string
2014-09-15 23:54:40 -04:00
Johannes Schönberger
ca9a155cf2
Improve inverse_map description
2014-09-15 23:54:40 -04:00
Johannes Schönberger
15ffd52299
Improve desciption of inverse_map and add option to direclty pass coordinates
2014-09-15 23:54:40 -04:00
Steven Silvester
c85e08b0ed
Rename (x, y) -> (row, col) in _geometric.py.
2014-09-15 05:58:00 -05:00
Steven Silvester
02a6e210ea
Remove extra space
2014-09-12 06:15:28 -05:00
Steven Silvester
82578234b5
Fix swirl docstring to use (row, column) nomenclature
2014-09-12 06:14:45 -05:00
Jasper St. Pierre
acbee6b516
transform: Remove some leftovers in __all__
...
5c9d7af removed a bunch of deprecated functions, but forgot to remove
two more names from __all__.
Yes, I know * imports are a bad idea, but we have an internal app that
uses them. I've removed the * imports, but figured I might as well fix
upstream.
2014-09-03 17:54:19 -07:00
blink1073
5677dafe41
Move away from random.random in favor of random.rand
2014-07-19 18:18:23 -05:00
blink1073
35dcdd5315
Move random seed prior to first random() call
2014-07-06 07:49:36 -05:00
blink1073
5ef3f95d71
Add random seeds to tests per #1044
2014-07-05 12:49:42 -05:00
Johannes L. Schönberger
6546b9dba4
Merge pull request #1007 from stefanv/label_refactor
...
Move `morphology.label` to `measure.label` and prepare for 0-label transition
2014-05-25 21:56:42 -04:00