salvatore
ad96b911ab
... added in indented code
2014-12-22 20:49:44 +01:00
Johannes Schönberger
a1a2f9c988
Remove __init__.py from tests folder, remove unnecessary load of test image
2014-12-22 20:39:18 +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
salvatore
5401d00b62
deleted ">>>" in body of print_the_rect function
2014-12-22 12:13:10 +01:00
salvatore
04b998199a
try to format properly a function in examples of RectTool
2014-12-22 11:25:00 +01:00
François Boulogne
f8fba67dbb
DOC remplace iff by if and only if
2014-12-21 08:57:08 -05:00
salvatore
a01a5ed023
Added an example of use of CanvasTools.RectTool to allow generation of docs.
...
RectTool is used to write rectangles over an image (lena).
This example also can be useful for set_color explanation using both [RGB] and single value color setting
from previous commit indented code in examples is formatted properly.
2014-12-20 23:54:06 +01:00
salvatore
5b71cd9481
Added an example of use of CanvasTools.RectTool to allow generation of docs.
...
RectTool is used to write rectangles over an image (lena).
This example also can be useful for set_color explanation using both [RGB] and single value color setting
2014-12-20 00:39:33 +01:00
Johannes Schönberger
03be934e6d
Set seed for test cases
2014-12-16 16:38:01 +01:00
Johannes Schönberger
3b0651c202
Expose seed parameter, fix doc string
2014-12-16 16:36:30 +01:00
Johannes Schönberger
cd21181b63
Merge pull request #1298 from pratapvardhan/morph-selem
...
Morph selem ellipse structuring element
2014-12-16 12:21:10 +01:00
Pratap Vardhan
b15f55c3b4
DOC: Revert to old
2014-12-16 12:31:28 +05:30
Pratap Vardhan
b72a960670
DOC: Misc spell corrections
2014-12-16 11:41:24 +05:30
Pratap Vardhan
2d4a77d94e
DOC: Change selem.ellipse params
2014-12-16 10:40:01 +05:30
Johannes Schönberger
1da86def59
Make the initialization deterministic
2014-12-16 00:54:32 +01:00
Johannes Schönberger
8a790bf884
Improve code style
2014-12-16 00:52:42 +01: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
Pratap Vardhan
db7b43199d
BUG: Change dtype
2014-12-15 18:13:39 +05:30
Stefan van der Walt
ea95835017
Merge pull request #1299 from ahojnnes/block
...
Avoid using `block_reduce` for upsampling
2014-12-15 11:48:32 +02:00
Pratap Vardhan
65c6b773ce
DOC: Clean up doc strings
2014-12-15 14:49:26 +05:30
Johannes Schönberger
7fe31b280d
Merge pull request #1295 from stefanv/doc_build_fixes
...
Doc build fixes
2014-12-15 10:04:42 +01:00
Johannes Schönberger
125d53ba52
Add test cases for invalid block sizes
2014-12-15 09:50:10 +01:00
Johannes Schönberger
813142baf8
Check for invalid upsampling block sizes
2014-12-15 09:50:07 +01:00
Pratap Vardhan
8d50561d18
TST: Test for ellipse structuring element
2014-12-15 13:21:15 +05:30
Pratap Vardhan
4c68a5ad44
ENH: ellipse structuring element
2014-12-15 13:10:06 +05:30
Juan Nunez-Iglesias
b0a822a9ac
Use integer bins when histeq'ing int images
2014-12-15 12:54:22 +11:00
Stefan van der Walt
655aca6fed
Raise an error that was suppressed to please Travis-CI
2014-12-15 02:22:22 +02:00
Stefan van der Walt
7f8cd65675
Fix docstring markup errors
2014-12-15 02:21:34 +02:00
Stefan van der Walt
a38b1c1257
Fix integer division in CLAHE
2014-12-15 02:20:42 +02:00
Juan Nunez-Iglesias
53bb6f9369
Merge pull request #1290 from pratapvardhan/morph-selem
...
TST: Test for selem.cube
2014-12-14 18:13:04 +11:00
Josh Warner
1213a3ea1a
Merge pull request #1289 from ahojnnes/random
...
STY: Misc PEP8 fixes
2014-12-13 23:25:37 -06:00
Pratap Vardhan
073f28e90e
TST: Test for selem.cube
2014-12-14 10:52:53 +05:30
Johannes Schönberger
3a1079a180
Misc PEP8 fixes
2014-12-14 02:56:14 +01:00
Pratap Vardhan
9d6516903d
DOC: Add test functions docstrings
2014-12-14 01:28:09 +05:30
Pratap Vardhan
2058fe23cb
CLN: Minor cleanup - unused imports, pep8
2014-12-14 01:17:27 +05:30
Steven Silvester
bc78bf8544
Create a new figure for imshow if there is already data
2014-12-13 08:57:14 -06: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
Juan Nunez-Iglesias
57533c8cc7
Merge pull request #1272 from blink1073/fix-tifffile-warning
...
Do not use importlib in `tifffile_local` to avoid warnings
2014-12-13 23:44:52 +11:00
Johannes Schönberger
8753979fd2
Fix quadratic interpolation
2014-12-13 13:32:16 +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
fd16d9a3fc
Fix reference syntax
2014-12-13 13:31:06 +01:00
Johannes Schönberger
6321b4211c
Make code PEP8 compliant
2014-12-13 13:31:06 +01:00