Commit Graph

978 Commits

Author SHA1 Message Date
Olivier Debeir 007e13609c add other rank filters 2012-10-05 14:46:48 +02:00
Olivier Debeir 5e14bf201b add percentile mean 2012-10-05 12:09:03 +02:00
Olivier Debeir d9efa0bc6c update setup to be compatible with scikits-image 2012-10-05 11:28:27 +02:00
Olivier Debeir 4661dfb0e6 fix bitdepth in rank.py 2012-10-05 11:26:14 +02:00
Olivier Debeir db3803fd72 add py wrappers 2012-10-05 10:56:05 +02:00
Olivier Debeir 806bbbcb65 add readme 2012-10-04 18:23:33 +02:00
Olivier Debeir be4d866a9b add demo all (cont.) 2012-10-04 18:03:08 +02:00
Olivier Debeir 8f0a207866 add demo all (cont.) 2012-10-04 18:02:54 +02:00
Olivier Debeir 6c19054aba add demo all 2012-10-04 17:59:03 +02:00
Olivier Debeir b2c413dad0 rename some test to demo 2012-10-04 17:30:21 +02:00
Olivier Debeir 483507f4df try to fix rank setup 2012-10-04 17:15:10 +02:00
Olivier Debeir 5a5cdfca15 rename using scikits naming conventions 2012-10-04 16:35:06 +02:00
Olivier Debeir f8f11ab837 mv test to tests 2012-10-04 16:12:08 +02:00
Olivier Debeir cbd1ec0c5f add test/ 2012-10-04 16:09:56 +02:00
Olivier Debeir f3c89c5364 fix. gitignore 2012-10-04 11:32:33 +02:00
odebeir 413db93d09 adjust code for new project 2012-10-04 09:13:33 +02:00
odebeir 26f9186bc9 paste code 2012-10-03 19:57:30 +02:00
odebeir 0e1cc75a73 initial commit 2012-10-03 19:43:41 +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