Paul Ivanov
e05c029a7e
complete singularization of scikit-image
...
I've updated references in the code and documentation to the new name.
2012-10-13 23:28:28 -07:00
Tony S Yu
2a672cf00d
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-13 23:28:28 -07:00
Nicolas Pinto
96d90438d8
BUG: fix side-effect in util.montage()
2012-10-13 23:28:12 -07:00
Johannes Schönberger
8de13dc2b1
Remove unused fopenmp compile args
2012-10-13 23:24:54 -07:00
Andreas Mueller
488df4e32a
COSMIT some pep8
2012-10-13 23:24:54 -07:00
cgohlke
14b6a55ade
Document correct parameter types
2012-10-13 23:24:54 -07:00
cgohlke
15ebe7d8b5
Fix: 'inline' not permitted on data declarations
2012-10-13 23:24:53 -07:00
cgohlke
1f237325a1
Fix: 'inline' not permitted on data declarations
2012-10-13 23:24:53 -07:00
cgohlke
415306b1ae
Fix: round function is not provided by libc.math on all platforms
2012-10-13 23:24:53 -07:00
cgohlke
ebf04ba0d0
Fix: round function is not provided by libc.math on all platforms
2012-10-13 23:24:53 -07:00
cgohlke
3817088b37
Fix ValueError: Buffer dtype mismatch on 64 bit platforms
2012-10-13 23:24:53 -07:00
cgohlke
d94da9ae47
Open image files in default binary write mode
...
Fixes test failure on Windows
2012-10-13 23:24:53 -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
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
Tony S Yu
0504392fd5
DOC: Fix doctests in io collection module
2012-09-11 23:36:12 -04:00
Tony S Yu
24f3b7d260
DOC: Fix block-formatting in doctest
2012-09-11 23:35:09 -04:00
Tony S Yu
2614853a92
DOC: suppress plot display in doctests
...
Plot display interrupts the doctest run.
2012-09-11 23:33:15 -04:00
Stefan van der Walt
db87b93108
Merge pull request #310 from ahojnnes/morph
...
BUG: Fix bug in grey erosion and dilation.
2012-09-11 11:30:20 -07:00
Johannes Schönberger
56b1476789
Add test case for non-square images
2012-09-11 20:27:18 +02:00
Johannes Schönberger
f478b6a397
Fix bug in binary dilation and test case
2012-09-11 20:11:55 +02:00
Stefan van der Walt
378357d24e
Merge pull request #301 from tonysyu/viewer-user-guide
...
DOC: Add Viewer Quickstart to User Guide.
2012-09-11 11:05:03 -07:00
Johannes Schönberger
b1d99be735
Fix bug in grey erosion and dilation
2012-09-11 09:09:10 +02:00
Johannes Schönberger
1fc7729f9a
Merge pull request #307 from kuantkid/inlinedisplay
...
FIX issue #263 : Inline display for binary image (range problem when converted from bool type)
2012-09-09 22:59:21 -07:00
kuantkid
554487f9de
FIX: issue sign loss warning only for signed type
2012-09-10 13:22:38 +08:00
kuantkid
07b258e208
FIX: multiply by the maximum value may change dtype
2012-09-10 13:11:27 +08:00
kuantkid
61be60cace
FIX: early fix for dtype conversion from bool to other type PR #306 , Issue #263
2012-09-10 13:00:32 +08:00
Tony S Yu
a218b6c883
Merge pull request #302 from ahojnnes/pyramids
...
Add function to build image pyramids
2012-09-09 15:22:54 -07:00
Johannes Schönberger
a080624c7d
Move comment to correct code
2012-09-09 22:14:42 +02:00