Commit Graph

153 Commits

Author SHA1 Message Date
Johannes Schönberger ec64872fd5 Some doc string fixes for recently merged code 2015-08-20 19:08:54 -04:00
Gregory R. Lee 1303317512 BUG: fix one additional location where ndimage mode conversion was needed 2015-08-14 09:38:02 -04: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
Gregory R. Lee 9e9c65b97c ENH: add mode 'mirror' to interpolation.pxd and dependent functions 2015-08-13 23:39:54 -04:00
Juan Nunez-Iglesias 56d62b39be Split scipy.ndimage & spatial into different lines
This improves the readability of the import code and is in line with
PEP8 recommendations.
2015-06-11 11:36:48 +10:00
Juan Nunez-Iglesias 0d134987f9 Harmonize all ndimage usage across the library
Only two forms remain in use:

- `from scipy import ndimage as ndi`
- `from scipy.ndimage import function`
2015-06-09 15:18:37 +10:00
Johannes Schönberger eb6c3ede38 Fix RANSAC for invalid model estimation and confidence corner case
Previously, estimators did not return whether the model estimation
was successful. RANSAC now tests whether the estimation was
successful and skips invalid models.

When the confidence/stop_probability of RANSAC was set to 1,
the iteration was falsely terminated early instead of running for
the maximum number of iterations.
2015-03-06 23:47:08 -05:00
Steven Silvester 5ccdd36bc3 Remove imshow from PIL plugin
Do not provide imshow, show in PIL plugin to prevent conflicts

Make the sphinx install quiet

Fix local linka

Fix literal blocks

Fix another local link

Fix richardson-lucy link

Assert world dominance
2015-02-07 16:40:44 -06:00
Johannes Schönberger 4c781cf5c0 Fix doc string 2015-01-22 07:23:54 -05:00
Johannes Schönberger ad85dfabd5 Disable catch of all warnings, return nan params instead 2015-01-22 06:49:16 -05:00
Johannes Schönberger 5dbb6e3257 Improve conditioning of silimarity transform design matrix 2015-01-21 14:10:09 -05:00
Johannes Schönberger 983919404f Improve conditioning of homography design matrix 2015-01-21 14:10:09 -05:00
Johannes Schönberger 2f60de7362 Create function to center and normalize image points 2015-01-21 14:10:09 -05:00
Johannes Schönberger e38ed91c24 Add missing return value description 2014-12-23 15:22:22 +01:00
Johannes Schönberger e070274355 Add more description to doc string of helper function 2014-12-23 15:20:46 +01:00
Johannes Schönberger 0d2c5def06 Use in-place operation for clipping 2014-12-23 13:51:25 +01:00
Johannes Schönberger 515ec9fe98 Rename keep_range to preserve_range, fix test cases 2014-12-22 20:28:00 +01:00
Johannes Schönberger 313032d487 Make sure 1x1 images are 2-D 2014-12-22 20:28:00 +01:00
Johannes Schönberger 3e881fe35c Create helper function for image conversion 2014-12-22 20:28:00 +01:00
Johannes Schönberger dedcee6543 Fix keep_range and add test cases 2014-12-22 20:28:00 +01:00
Johannes Schönberger 0779167477 Introduce parameter to keep range of values 2014-12-22 20:28:00 +01:00
Johannes Schönberger 0ae8c4a74b Clip to min and max range of input image, add missing clip parameter to other functions 2014-12-22 20:28:00 +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
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
Johannes Schönberger f846320d78 Add option to combine tform with inverse tform 2014-09-22 08:45:51 -04:00
Johannes Schönberger f5c627493e Extend description of clipping behavior 2014-09-18 20:52:55 -04:00
Johannes Schönberger fdf0908ab7 Add option to skip clipping of output, and detect if input float image has negative values 2014-09-18 20:49:25 -04:00
Johannes Schönberger 46305eeeec Remove legacy parameter 2014-09-18 20:36:34 -04:00
Johannes Schönberger 6e26f3a7c7 Fix indendation of parameter description 2014-09-18 20:27:38 -04:00
Johannes Schönberger 6ff1bf26ee Move comments into if scope 2014-09-18 20:22:35 -04:00
Johannes Schönberger da36750d55 Make row, col ordering clearer in doc string 2014-09-16 08:19:48 -04:00
Johannes Schönberger 9b4f2d9032 Add support for 2(+1)D images and given output_shape for 2D images 2014-09-15 23:54:40 -04:00
Johannes Schönberger f9009410ba Add comments to different conditional paths 2014-09-15 23:54:40 -04:00
Johannes Schönberger 1b49b494ce Make error message for wrong input dim more explicit 2014-09-15 23:54:40 -04:00
Johannes Schönberger 27d765abd5 Highlight fact that warp_coords is only meant for 2(+1)-D images 2014-09-15 23:54:40 -04:00
Johannes Schönberger 9b5b5b8cc5 Remove deprecated parameter of warp 2014-09-15 23:54:40 -04:00
Johannes Schönberger 1a31968b54 Make warp function N-D compatible, and add example to doc string 2014-09-15 23:54:40 -04:00
Johannes Schönberger ca9a155cf2 Improve inverse_map description 2014-09-15 23:54:40 -04:00
Johannes Schönberger 15ffd52299 Improve desciption of inverse_map and add option to direclty pass coordinates 2014-09-15 23:54:40 -04:00
Steven Silvester c85e08b0ed Rename (x, y) -> (row, col) in _geometric.py. 2014-09-15 05:58:00 -05:00
Stefan van der Walt 5b07567973 Merge pull request #1005 from JDWarner/int_idx_patch
Fix NumPy non-integer indexing deprecation warnings
2014-05-13 17:48:11 +02:00
Johannes Schönberger 02e6ad6b71 Test 90deg rotation for similarity transform 2014-05-10 10:22:55 -04:00
Josh Warner (Mac) 8bcdfb8325 Remove unnecessary double import. 2014-05-08 20:12:31 -05:00
Josh Warner (Mac) 77b036eb89 Merge branch 'master' of git://github.com/scikit-image/scikit-image into int_idx_patch 2014-05-08 19:57:06 -05:00
Josh Warner (Mac) 375e406f64 Use safe_as_int for input checking. 2014-05-08 19:56:47 -05:00
Stefan van der Walt a9dcdc3713 Use safe_as_int to check provided output shape 2014-05-08 19:28:29 +02:00
Josh Warner (Mac) 1ca0eef825 FIX: Non-integer indexing deprecation warnings 2014-05-08 00:39:54 -05:00
Stefan van der Walt 4c7cd9bd65 Add unit test to catch non-integer output shape bug 2014-05-06 01:35:23 +02:00
Stefan van der Walt 00b4fa45e7 Always interpret provided shapes as int. Add a note on using output_shape for color images. 2014-05-06 01:35:23 +02:00