Commit Graph

31 Commits

Author SHA1 Message Date
Egor Panfilov 66102ad91a Merge pull request #1895 from OrkoHunter/denoise_bilateral
Raise warning for 3D images in denoise_bilateral
2016-02-05 17:22:04 +03:00
Himanshu Mishra 7014d04327 Remove useless multichannel=True kwarg from tests 2016-02-05 14:38:13 +05:30
Himanshu Mishra b40d028550 Add tests for warnings in denoise_bilateral 2016-02-05 08:05:58 +05:30
Johannes Schönberger 5e780bb27f Fix unknown Example section warning 2016-02-01 08:47:36 +01:00
Himanshu Mishra 63b893d4c6 Fix test and doctest for multichannel kwarg in denoise_bilateral 2016-01-29 17:47:31 +05:30
Himanshu Mishra b1e0597ee1 Raise warning for 3D images in denoise_bilateral 2016-01-29 17:47:31 +05:30
Gregory R. Lee 53742be9c6 fix axis bug in multichannel case and add a corresponding test 2016-01-24 02:24:37 -05:00
Gregory R. Lee a30592a22a MAINT: explicitly specify axis argument 2016-01-23 11:23:21 -05:00
Gregory R. Lee e6a1a19337 update default weight to reflect the bugfix from hardcoded 0.5 to 1/(2*ndim)
use the default weight in all the tests as well.
2016-01-23 11:01:48 -05:00
Gregory R. Lee dd5a708a33 minor bugfix so that weight gives a consistent amount of smoothing regardless of the number of dimensions.
As in the original reference, the stepsize should be in both the numerator and denominator of p.
2016-01-23 11:01:15 -05:00
Gregory R. Lee 9f419024ad Switch _denoise_tv_chambolle to use C-ordering 2016-01-23 10:59:33 -05:00
Gregory R. Lee 4a8a2189f2 use Fortran order for g and p in _denoise_chambolle_nd to avoid a performance regression 2016-01-23 10:59:32 -05:00
Gregory R. Lee 4bc4f0a169 remove try/except in _denoise_chambolle_nd. just use the numpy 1.6 compatible case 2016-01-23 10:59:32 -05:00
Gregory R. Lee c2b86d8a02 fix numpy 1.6 compatibility 2016-01-23 10:59:32 -05:00
Gregory R. Lee 2d326a464e ENH: n-dimensional refactor of TV denoising.
_denoise_tv_chambolle_2d and _denoise_tv_chambolle_3d are replaced by _denoise_tv_chambolle_nd

The restriction to 2D and 3D in denoies_tv_chambolle was removed.
2016-01-23 10:59:32 -05:00
Emmanuelle Gouillart 6740ef9849 Merge pull request #1842 from jni/1840
Specify 2D images in denoise bilateral docstring
2015-12-24 09:59:11 +01:00
Gregory R. Lee f143f4b39e Change default weight for denoise_tv_chambolle to a value that is reasonable for float images scaled to the [0, 1] range 2015-12-23 12:29:37 -05:00
Juan Nunez-Iglesias e102011098 Specify 2D images in denoise bilateral docstring
Addresses #1840
2015-12-23 23:57:22 +11:00
Johannes Schönberger a664043197 Merge pull request #1667 from odebeir/sprint_euroscipy2015_denoise
Sprint euroscipy2015 denoise
2015-09-04 08:49:09 -04:00
Olivier Debeir f5e4a5e44d remove import/blank lines 2015-09-02 16:01:13 +02:00
odebeir 544fb95f76 typo 2015-08-28 21:35:18 +02:00
odebeir 76285f5986 add exemple to denoise_bilateral() in docstring 2015-08-28 21:33:58 +02:00
Arnaud De Bruecker 50804d1e9b Correct documentation to denoise_bilateral for sigma_range
Closes #1630
2015-08-28 19:43:14 +01:00
Arnaud De Bruecker 955b1761f1 Add documantation to denoise_bilateral for sigma_range
closes #1630
2015-08-28 19:10:09 +01:00
Gregory R. Lee 81ea7a6e34 MAINT: All modes in _shared.interpolation.pxd were changed to be consistent with numpy.pad naming conventions. Specifically 'nearest' was changed to 'edge' and 'mirror' was changed to 'reflect'. All functions with a mode argument that rely on these functions had their inputs changed accordingly. For now there is a deprecation warning if the user supplies mode 'nearest'. Mode 'mirror' never appeared in an official release of skimage and so has no corresponding deprecation warning. 2015-08-13 23:39:55 -04:00
Johannes Schönberger ee5c6fbeb2 Use relative imports in skimage files 2015-01-22 07:36:48 -05:00
Johannes Schönberger 3a1079a180 Misc PEP8 fixes 2014-12-14 02:56:14 +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 343d1d2ec3 Fix incorrectly documented non-optional argument 2014-09-22 17:54:56 +02:00
Johannes Schönberger ef63523ab0 Move denoise functions to restoration submodule 2014-03-13 19:39:54 -04:00