Commit Graph

2853 Commits

Author SHA1 Message Date
François Orieux 587ec48874 Better handle of non real case. Some docstring fix. 2013-12-10 22:45:15 +01:00
François Orieux 0fdb5b2e0a Change example scaling. Fix ref in doc. 2013-12-10 22:45:15 +01:00
François Orieux 9849d9d419 Add doctest to uft. 2013-12-10 22:45:15 +01:00
François Orieux 29f953d6a9 Fix iscomplex to iscomplexobj. Replace circshift with numpy roll. 2013-12-10 22:45:15 +01:00
François Orieux e67bdd3471 PR fixs. 2013-12-10 22:45:15 +01:00
François Orieux 8206695afd Remove import numpy from docstring doctest 2013-12-10 22:45:15 +01:00
François Orieux 6c0c4350b1 Docstring convention about "Input image". 2013-12-10 22:45:15 +01:00
François Orieux 5b2985976d Blank line remove 2013-12-10 22:45:15 +01:00
François Orieux 43cfff9328 PR review.
Copyrigth, dtype check and typo.
2013-12-10 22:45:15 +01:00
François Orieux cb687d1ac9 Small cleanup, keywords changes. 2013-12-10 22:45:15 +01:00
François Orieux fe684b845d Fix circshift. Rename wiener.py to deconvolution (no API change). 2013-12-10 22:45:15 +01:00
François Orieux 2c170ca0b1 Fix doctest 2013-12-10 22:45:15 +01:00
François Orieux 66372a2405 Typo and doc fixs. 2013-12-10 22:45:15 +01:00
François Orieux 7f910e3532 Fix skimage/setup.py 2013-12-10 22:45:14 +01:00
François Orieux a3b360f84a Fix test_restoration.py rename. 2013-12-10 22:45:14 +01:00
François Orieux def48f1909 Rename deconvolution to restoration 2013-12-10 22:45:14 +01:00
François Orieux 997ee1a1cc rtol to 1e-3 for travis-ci.
Maybe this time... travis-ci makes me crazy.
2013-12-10 22:45:13 +01:00
François Orieux 78df3d089d Diminish rtol to 1e-5 for travis-ci 2013-12-10 22:45:13 +01:00
François Orieux debce37a93 Use skimage.img_as_float for travis-ci test 2013-12-10 22:45:13 +01:00
François Orieux c4e1cf5ef4 You shall not pass ! 2013-12-10 22:45:11 +01:00
François Orieux e3cdd5785f Fix relative uft import for travis-ci pass 2013-12-10 22:45:11 +01:00
François Orieux 37ea62dedf Add the reference image for Richardson Lucy test. 2013-12-10 22:45:11 +01:00
François Orieux c84a3bab07 Add test for Richardson Lucy. 2013-12-10 22:45:10 +01:00
François Orieux 11599f772a Typo fix. 2013-12-10 22:45:10 +01:00
François Orieux 7042d778e6 Fix the bad results of unsupervised deconvolution.
The initial implementation was simplified to reduce the number of
local variable. Consequently the parameter data.size was wrong. It was
the size of the fourier spectrum, with hermitian property, instead of
the real space size. This should work.

In addition the PSF is now normalized.
2013-12-10 22:45:10 +01:00
François Orieux 4b233098e7 Whitespace... 2013-12-10 22:45:09 +01:00
François Orieux c942ad54c7 Inline crandn function. 2013-12-10 22:45:09 +01:00
François Orieux d2e04fde2e Add pdf paper 2013-12-10 22:45:09 +01:00
François Orieux 2112ec01e4 Add a small note explaining the wiener filter. 2013-12-10 22:45:09 +01:00
François Orieux b62bd9dfb6 Change copyright to scikit-image team 2013-12-10 22:45:09 +01:00
François Orieux beae90bbef Remove __author__ line and add in CONTRIBUTORS.txt 2013-12-10 22:45:09 +01:00
François Orieux ec123d7547 Use assert_allclose for testing. 2013-12-10 22:45:09 +01:00
François Orieux 4d1df18241 Remove anfft and fftw dependency 2013-12-10 22:45:09 +01:00
Christoph Deil e25ccf61f6 Some improvements to new deconvolution code 2013-12-10 22:45:09 +01:00
François Orieux 17cc22802c Rename test to tests 2013-12-10 22:45:09 +01:00
François Orieux 33aedfd9aa Add deconvolution module to skimage.
This module add three function to skimage. The `wiener` function is a
simple wiener deconvolution. The `unsupervised_wiener` is a more
sophisticated wiener deconvolution with automatic estimation of
regularisation parameters. The third function is a literal traduction
in python of the rychardson lucy deconvolution of wikipedia.
2013-12-10 22:45:07 +01:00
Stefan van der Walt 0d5b822110 Merge pull request #848 from ahojnnes/warps
Speed up warps by inlining interpolation functions
2013-12-08 19:03:16 -08:00
Johannes Schönberger 688778b572 Move inlined function definitions to header for actual inlining 2013-12-09 00:57:07 +01:00
Stefan van der Walt cff007827c Merge pull request #825 from ahojnnes/coverage
MRG: Increase test coverage
2013-12-03 00:29:15 -08:00
Raphael Ackermann 0c81e14bfa changing docstring to make clear that only 2-D images are currently supported 2013-12-01 23:11:33 +01:00
Johannes Schönberger 86c90a336f Merge pull request #821 from JDWarner/add_conditional_doctest_decorator
ENH: Add `doctest_skip_parser` allowing conditional skipping of doctests
2013-11-25 13:54:29 -08:00
Johannes Schönberger 4d6308c810 Fix error in line model test 2013-11-22 13:28:53 +01:00
Johannes Schönberger 43f6ae9a2c Add test case for explicit use of radii and sigmas parameters 2013-11-22 12:46:41 +01:00
Johannes Schönberger 5b3c21a4d4 Add test for neggative gamma parameter 2013-11-22 12:33:21 +01:00
Johannes Schönberger 0a2ed35253 Add test for negative input image 2013-11-22 12:30:49 +01:00
Johannes Schönberger e904454c2e Add test for mask output of corner_peaks 2013-11-22 12:26:41 +01:00
Johannes Schönberger 335a74e11f Add test case for eps corner_harris method 2013-11-22 12:25:06 +01:00
Johannes Schönberger 4033566ae6 Add test for invalid parameter combination 2013-11-22 12:22:10 +01:00
Johannes Schönberger 6e6505ecb6 Increase test coverage of regionprops 2013-11-22 12:16:44 +01:00
Johannes Schönberger 2e8a36a283 Rename test to enable hidden line model test 2013-11-22 12:11:47 +01:00