Commit Graph

177 Commits

Author SHA1 Message Date
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
Jostein Bø Fløystad f87fadf0f0 unwrap: Rename C files. 2013-11-22 10:45:07 +01:00
Jostein Bø Fløystad b2ac1a5872 unwrap: Add docstring example. 2013-11-22 10:45:07 +01:00
Jostein Bø Fløystad 27c13a1193 unwrap: Warn about singleton dimensions in 3D arrays. 2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad 781ead2c9f unwrap: Rename function unwrap() -> unwrap_phase(). 2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad 4cfec880b6 unwrap: Small style-like fixes.
Based on comments by ahojnnes.
2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad e0b7fe32a1 unwrap: PEP8 fixes. 2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad 9e50686c8f unwrap: Add test for unwrapping masked images. 2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad 8a93677db0 unwrap: Delete "example" from the test file. 2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad c0d0984049 unwrap: Make sure test data wraps along all dimensions. 2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad 619da811d8 unwrap: Reduce code duplication.
Use the yield functionality in nose to minimize setup.
2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad b0c21ea972 unwrap: Reduce duplication in tests. 2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad 43d110627b unwrap: PEP8 fixes. 2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad b9f119a428 unwrap: Python 3 compatibility. 2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad 9644ed5655 unwrap: rename variables in cython extensions 2013-11-22 10:42:29 +01:00
Jostein Bø Fløystad 5022cfb699 unwrap: PEP8 fixes for cython extensions. 2013-11-22 10:42:29 +01:00
Jostein Bø Fløystad 676ba5a07e unwrap: rename cython functions. 2013-11-22 10:42:29 +01:00
Jostein Bø Fløystad e8fa4998ad unwrap: Whitespace fixes and comment removal. 2013-11-22 10:42:29 +01:00
Jostein Bø Fløystad 12268ff555 unwrap: Refactor and fix wrap around functionality. 2013-11-22 10:42:29 +01:00
Jostein Bø Fløystad 6dbe6965e6 unwrap: Test wrap_around functionality.
This test is currently failing. Most likely, the axes are swapped.
2013-11-22 10:42:29 +01:00
Jostein Bø Fløystad 0e8be31ba6 unwrap: Simplify handling of masked arrays. 2013-11-22 10:42:29 +01:00
Jostein Bø Fløystad ac330662b9 unwrap: Remove unused imports 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad 54865ecb23 unwrap: reformat references 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad ebef821a70 unwrap: Add citation for 3D. 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad 0e56ee9577 unwrap: Remove plotting code. 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad 8a81624ba8 unwrap: Format references correctly. 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad 2f784366b7 unwrap: Correct use of relative imports. 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad a2a6f8d4b5 unwrap: Use relative imports 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad 37f36cd98b unwrap: Add docstring. 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad 26138fbeb6 unwrap: Refactor to skimage-style variable names. 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad b29dd83eea unwrap: Refactor wrap_around argument. 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad 933e2c77f3 unwrap: Add unfinished docstrings.
Conflicts:
	skimage/exposure/unwrap.py
2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad f67b03643a unwrap: Fix whitespace in c code. 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad e72e5de06e unwrap: Move imports to module level. 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad d2fb06fa3b unwrap: Whitespace fixes. 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad e780bd7a5a unwrap: refactor tests.
Update imports to skimage
Use simple test functions, do not wrap in a class
Whitespace fixes
2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad 05419e49c4 Make unwrap visible in the exposure package. 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad 0df05f6048 unwrap: Use new imports in python module. 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad 011ea024c9 unwrap: Add setup script to build extensions. 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad 3bd60446a2 unwrap: Rename cython files to skimage conventions. 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad 4c84106b26 unwrap: Remove executable bit. 2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad 5692989a11 unwrap: Move files to skimage directory tree. 2013-11-22 10:42:28 +01:00
Johannes Schönberger ad3464701a Fix doc string syntax errors 2013-11-09 23:13:43 +01:00
Johannes Schönberger 411de753bd Remove plotter from doctest and use comparison to np.histogram instead 2013-11-03 10:30:31 +01:00
François Boulogne eb4c5c9ee4 PEP8 2013-10-14 16:14:30 +02:00
Ankit Agrawal 3e544d7fac Adding author and name of the paper in reference section of adjust_sigmoid 2013-06-12 18:11:40 +08:00
Ankit Agrawal 2c0e20f972 Correcting typo in the reference section of adjust_sigmoid. 2013-06-12 16:32:15 +08:00