Commit Graph

2832 Commits

Author SHA1 Message Date
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
Johannes Schönberger c53e98a3c6 Fix bug in inverse warping and add test case 2013-11-22 12:07:36 +01:00
Johannes Schönberger 396b686bab Add test case for invalid image dimensions 2013-11-22 11:59:07 +01:00
Johannes Schönberger d659cdc6b0 Deprecate reverse_map parameter and add to future removal list 2013-11-22 11:55:18 +01:00
Johannes Schönberger da42c46ab4 Add matrix_transform function to namespace 2013-11-22 11:51:15 +01:00
Johannes Schönberger e159fa0e9d Add test case for estimate_transform 2013-11-22 11:48:32 +01:00
Johannes Schönberger 62f51e35a1 Add missing test coverage of polynomial tform 2013-11-22 11:45:51 +01:00
Johannes Schönberger bd240d9f92 Test scale determination for 0 rotation 2013-11-22 11:43:08 +01:00
Johannes Schönberger 4ba9eaa98b Test invalid input 2013-11-22 11:42:41 +01:00
Johannes Schönberger 0fb48a6153 Add test cases for abstract geometric base class 2013-11-22 11:38:25 +01:00
Johannes Schönberger 06a9c5da8a Add test case for union of heterogenous tform types 2013-11-22 11:34:32 +01:00
Jostein Bø Fløystad ccbd3bfced unwrap: Do not include debug symbols in extension builds. 2013-11-22 10:45:07 +01:00
Jostein Bø Fløystad 37b5a946c8 unwrap tests: PEP8 fixes. 2013-11-22 10:45:07 +01:00
Jostein Bø Fløystad 8ad3d1df17 unwrap: Simplify code after completing float->double. 2013-11-22 10:45:07 +01:00
Jostein Bø Fløystad 593a7d63ce unwrap: Change 1D unwrapper from float to double. 2013-11-22 10:45:07 +01:00
Jostein Bø Fløystad cd5cc84aa9 unwrap: Change 3D wrapper code from float to double. 2013-11-22 10:45:07 +01:00
Jostein Bø Fløystad d0ccbe71c1 unwrap: Change 3D C code from float to double. 2013-11-22 10:45:07 +01:00
Jostein Bø Fløystad 9091d2759a unwrap: Change 2D wrapper code from float to double. 2013-11-22 10:45:07 +01:00
Jostein Bø Fløystad 9bacb0d54a unwrap: Use UNIX line endings. 2013-11-22 10:45:07 +01:00
Jostein Bø Fløystad ebf457cea8 unwrap: Convert 2D C code from float to double. 2013-11-22 10:45:07 +01:00
Jostein Bø Fløystad a6e7bd4a00 unwrap: Use constants from math.h in C code. 2013-11-22 10:45:07 +01:00
Jostein Bø Fløystad f53a4e0764 unwrap: Add naive 1D unwrapper.
The naive 1D unwrapper does not support masked arrays because the
1D unwrapping problem has an infite number of solutions when faced with
missing data. Wrap around is not implemented because 1D phase unwrapping
must start at a certain pixel, and there will always be a risk of a
discontinuity there, wrap around or not.
2013-11-22 10:45:07 +01:00