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
Johannes Schönberger
97fb67314d
Add reference to bicubic interpolation
2014-12-13 13:31:06 +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 Gouillart
82ee0b1b7f
Merge pull request #1244 from ahojnnes/rank-fix
...
Fix rank filter kernels
2014-12-13 12:12:39 +01:00
Johannes Schönberger
cf499bf844
Add tests for all rank filters and reformat code
2014-12-13 11:25:59 +01:00
Steven Silvester
1b38c17280
Beef up docstring
2014-12-12 21:18:48 -06:00
Steven Silvester
8f89852e05
Improved docstring
2014-12-12 19:44:40 -06:00
Steven Silvester
3756e7adbe
Do not use importlib in tifffile_local to avoid warnings
2014-12-12 15:59:44 -06:00
Steven Silvester
2966e262a3
Fix handling of singleton frames in pil_to_ndarray
2014-12-12 09:39:08 -06:00
Steven Silvester
a4a628b529
Fix file indexing in ImageCollection
2014-12-12 09:38:48 -06:00
Steven Silvester
ed8524961c
Reinstate run_module_suite in test_pil
2014-12-12 08:53:27 -06:00
Steven Silvester
296e492658
Fix handling of multi-image gifs and add test
2014-12-12 07:46:16 -06:00
Steven Silvester
f7e984662a
Fix handling of imgnum
2014-12-12 07:46:15 -06:00
Pratap Vardhan
8f7d9d69fe
CLN: Remove unused import and add module docstring
2014-12-11 20:17:29 +05:30
emmanuelle
873a2bab4f
Modified a few docstrings that made doctesting fail
2014-12-07 16:58:36 +01:00
emmanuelle
4004f048ef
Faster version of non-local means denoising for 2D greyscale images
2014-12-07 12:02:05 +01:00
Johannes Schönberger
bbd9828234
Wrap code at 80
2014-12-06 10:19:23 -05:00
emmanuelle
e26f9028eb
Modified import to be compatible with Python 3
2014-12-06 13:58:09 +01:00
emmanuelle
ecae7843e9
Removed test file that has been moved to restoration submodule
2014-12-06 13:46:13 +01:00
emmanuelle
2e91b0db95
Moved non-local means denoising to restoration submodule
2014-12-06 13:16:40 +01:00
Emmanuelle Gouillart
5f89395fcd
Modified indentation in places (PEP8)
2014-12-06 12:00:47 +01:00
Emmanuelle Gouillart
a5ed4acf86
Some improvements of non-local means denoising:
...
- denoising RGB is now possible, and "colored patches" are then compared
- the main function is now in a pure Python file so that default values
of kw arguments are visible in the help
- reduced the number of computations of patches bound (but this doesn't
change much the total speed).
- added an example for the gallery
I also played with functions that could replace the exponential by a
faster and less precise function, but it turns out that most of the time
is spent in additions and multiplications when computing the distance
between two patches.
2014-12-06 12:00:47 +01:00