Commit Graph

973 Commits

Author SHA1 Message Date
Paul Ivanov b4b090271d complete singularization of scikit-image
I've updated references in the code and documentation to the new name.
2012-10-08 16:29:55 -07:00
Johannes Schönberger d43767bbba Merge pull request #353 from tonysyu/fix-test-setup
BUG: Pass package directory as positional argument to nose.run
2012-10-07 23:02:18 -07:00
Johannes Schönberger fb9de5143b Merge pull request #354 from tonysyu/highlight-boundaries
Highlight boundaries
2012-10-07 22:59:53 -07:00
Tony S Yu ad53159d60 STY: Rename highlight_boundaries to mark_boundaries 2012-10-07 19:23:38 -04:00
Nicolas Pinto b16ba3daf2 BUG: fix side-effect in util.montage() 2012-10-07 13:30:07 -07:00
Tony S Yu 694ac11f93 STY: Rename visualize_boundaries to highlight_boundaries
Add @deprecated decorator to ease the transition.
2012-10-07 15:43:28 -04:00
Tony S Yu 500b1c507c ENH: Add grayscale support and color adjustment to visualize_boundaries 2012-10-07 15:33:03 -04:00
Tony S Yu bc745e833a BUG: Pass package directory as positional argument to nose.run
When the package directory is passed to nosetest via the "where" argument (-w), that directory becomes the working directory. This causes problems because `skimage.io` will take precedence over the builtin `io` package.
2012-10-07 15:07:11 -04:00
Johannes Schönberger 1fa4bd3d9b Enhance short description of resize and rescale functions 2012-10-05 10:05:37 +02:00
Johannes Schönberger 17c7d10918 Rename scale function to rescale and scale variables 2012-10-05 10:05:06 +02:00
Johannes Schönberger 8ca068ed19 Add test case for separate scale factors 2012-10-05 06:21:28 +02:00
Johannes Schönberger c2d308c21a Add function to scale images 2012-10-05 06:18:58 +02:00
Johannes Schönberger 1494bc5600 Remove unused fopenmp compile args 2012-10-04 09:29:00 +02:00
Andreas Mueller 6546460f47 COSMIT some pep8 2012-09-30 15:53:33 +01:00
Stefan van der Walt c841314d99 Merge pull request #331 from cgohlke/patch-7
DOC: Document correct parameter types.
2012-09-29 18:08:49 -07:00
Stefan van der Walt 397484aa47 Merge pull request #330 from cgohlke/patch-5
BUG: Fix: 'inline' not permitted on data declarations.
2012-09-29 18:03:43 -07:00
Stefan van der Walt 08d8ff3f56 Merge pull request #329 from cgohlke/patch-4
BUG: round function is not provided by libc.math on all platforms.
2012-09-29 18:03:02 -07:00
Stefan van der Walt 55d7925e6d Merge pull request #328 from cgohlke/patch-3
BUG: Fix ValueError: Buffer dtype mismatch on 64 bit platforms.
2012-09-29 18:02:23 -07:00
Stefan van der Walt 3469f1f544 Merge pull request #327 from cgohlke/patch-1
BUG: Open image files in default binary write mode.
2012-09-29 18:01:04 -07:00
cgohlke cba654cbda Use io.BytesIO instead of StringIO
Fixes NameError: global name 'io' is not defined on Python 3
2012-09-29 17:00:59 -07:00
cgohlke 5184be85b1 Document correct parameter types 2012-09-29 16:01:11 -07:00
cgohlke 2695015b3a Fix: 'inline' not permitted on data declarations 2012-09-29 15:51:17 -07:00
cgohlke 97d595eb61 Fix: 'inline' not permitted on data declarations 2012-09-29 15:49:30 -07:00
cgohlke 0cf582865e Fix: round function is not provided by libc.math on all platforms 2012-09-29 15:45:53 -07:00
cgohlke e346d6b11b Fix: round function is not provided by libc.math on all platforms 2012-09-29 15:42:51 -07:00
cgohlke e9790800d3 Fix ValueError: Buffer dtype mismatch on 64 bit platforms 2012-09-29 15:36:55 -07:00
cgohlke 0477c9dfeb Open image files in default binary write mode
Fixes test failure on Windows
2012-09-29 14:20:11 -07:00
Andreas Mueller 6c59e04714 MISC remove unused imports, some pep8 corrections. 2012-09-27 20:01:45 +01:00
JDWarner c54d8d31f3 Docfix for img_as_float; appended myself to CONTRIBUTORS
img_as_float() had a legacy note stating conversion would force
negative values to the positive domain; this no longer described
its functionality. Note changed to reflect the retention of negative
values when converting from signed datatypes.

When submitting my multichannel improvement to the random walker
segmentation algorithm, I neglected to append my name to the
CONTRIBUTORS file. Now fixed.
2012-09-24 11:30:45 -05:00
Stefan van der Walt 0dbb77a359 BUG: Fix homography. 2012-09-20 17:52:17 -07:00
Stefan van der Walt 03a701c831 Merge pull request #323 from emmanuelle/bug_rw
BUG: Correct a newly appeared bug in the random walker.
2012-09-19 17:53:25 -07:00
Emmanuelle Gouillart 6635cf16db [BUG] Corrected a bug in the random walker that appeared
* when returning the full probability instead of the segmentation
    * for three or more labels (two was OK)
2012-09-18 19:56:52 +02:00
Johannes Schönberger 9cc77d1138 Merge pull request #317 from tonysyu/testing-compatibility
Add `assert_greater` compatibility function.
2012-09-17 22:34:26 -07:00
JDWarner ee2092c6fa Documentation fix for labels input in random_walker.
This fix was needed because `labels` claimed it should be "of same
shape as `data`", but this is no longer always the case. When
multichannel=True, `labels` should be shaped like a SINGLE channel
of `data`, i.e. without the final dimension denoting channels.
2012-09-17 16:38:59 -05:00
Tony S Yu 2cbe2e1f20 DOC: Fix attribution for testing function
The testing functions taken from scikit-learn were in a file with a copyright assigned to Pietro, but Andreas was resposible for the specific lines that were copied.
2012-09-16 15:44:52 -04:00
Johannes Schönberger be7476b44f Add more detailed description for pyramid functions 2012-09-15 10:58:28 +02:00
Johannes Schönberger 6d88490657 Rename pyramid functions 2012-09-15 10:40:52 +02:00
Tony S Yu f2d5b109e9 Add assert_greater compatibility function.
Fix tests to work with nose < 1.1.3. Compatibility functions borrowed from scikit-learn.
2012-09-13 22:17:24 -04:00
Tony S Yu 81e49b6686 DOC: Fix docstring note about conversion range 2012-09-13 21:37:52 -04:00
Tony S Yu 051f73f2b6 Merge pull request #311 from stefanv/dtype_bool_fast
ENH: Bool dtype conversion speed improvements.
2012-09-13 18:35:27 -07:00
Stefan van der Walt 8494a18882 Conversion to bool: threshold on half dtype max. 2012-09-13 18:07:52 -07:00
Stefan van der Walt 56b4ba67e6 ENH: Bool dtype conversion speed improvements. 2012-09-13 18:07:52 -07:00
Tony S Yu b433e8ecef DOC: Remove plots from docstring examples
Plotting isn't really necessary in a docstring example. Both of these functions already have gallery examples.
2012-09-13 09:28:12 -04:00
Tony S Yu 1108727ed8 DOC: Replace doctest with literal code block 2012-09-12 21:38:00 -04:00
Tony S Yu 538ce329a5 DOC: fix numpy dtype print out.
This fix may be very dependent on numpy version since print out has change over time.
2012-09-11 23:47:18 -04:00
Tony S Yu ae429011cf DOC: rewrap docstring lines and remove unused import 2012-09-11 23:46:26 -04:00
Tony S Yu 7a9cb807d1 DOC: Fix doctests in lpi_filter 2012-09-11 23:45:51 -04:00
Tony S Yu a58ce5b571 DOC: Add missing import in doctest 2012-09-11 23:39:08 -04:00
Tony S Yu fcf2a9bc97 DOC: Fix doctests in viewer subpackage
The doctests in the viewer subpackage weren't originally written as proper doctests.
2012-09-11 23:38:00 -04:00
Tony S Yu 7134a2609f DOC: Fix array formatting in doctest 2012-09-11 23:37:07 -04:00