Commit Graph

2606 Commits

Author SHA1 Message Date
Steven Silvester 73d9ee9b61 Lazily import nose for testing, makes skimge load in 1/3 time.
STY: Fixed indent on docstring.

STY: Added newline at the end of file

STY: Use original indention
2012-12-15 07:43:59 -06:00
Stefan van der Walt 56ddd129e3 Merge pull request #388 from ahojnnes/umfpack-warning
ENH: Suppress UMFpack warning on random walker import.
2012-12-10 19:10:34 -08:00
Johannes Schönberger 33c58ad854 Fix some doc string formatting issues of random walker 2012-12-09 23:19:42 +01:00
Johannes Schönberger a410f1c47e UmfPack warning is now only raised if random walker is explicitly called 2012-12-09 23:17:06 +01:00
Tony S Yu a6042bb0f3 Merge pull request #387 from ahojnnes/peak-det
Fix confused parameters in doc string of peak_local_max
2012-12-09 09:37:33 -08:00
Tony S Yu bd9dab0092 Merge pull request #386 from ahojnnes/dependecy-check
Fix dependency check in setup
2012-12-09 09:35:48 -08:00
Johannes Schönberger 81c01eac0f Fix confused parameters in doc string of peak_local_max 2012-12-09 17:39:15 +01:00
Johannes Schönberger fbf51a9508 Fix dependency check in setup
Previous version failed when there were characters other than digits or dots.
2012-12-09 16:33:17 +01:00
Stefan van der Walt 95f7177708 Merge pull request #376 from JDWarner/unify_peak_finder_backend
ENH: Unify peak finder backend.
2012-12-08 20:36:18 -08:00
Josh Warner (Mac) 5cba69a4fa test: add additional tests for 100% coverage of new peak_local_max
Also fix minor bug in label reordering.
2012-12-08 21:12:26 -06:00
Josh Warner (Mac) 4f68f1cd36 doc: fix and clarify peak_local_max docstring 2012-12-03 20:23:01 -06:00
Johannes Schönberger 50c0399aa7 Merge pull request #379 from cpsaltis/fix_rotate
Fix resize argument handling in rotate.
2012-12-03 14:48:52 -08:00
Tony S Yu 55b4a1e70e Merge pull request #383 from stefanv/windowserror
BUG: WindowsError not defined under Linux.
2012-12-03 10:01:08 -08:00
Stefan van der Walt 68c2ab205e BUG: WindowsError not defined under Linux. 2012-12-03 08:49:35 -08:00
Tony S Yu 099b94efa1 Merge pull request #375 from ahojnnes/hough-peak-example
Add example for hough_peaks function
2012-12-03 06:35:47 -08:00
Christos Psaltis 298abe1ac0 Add test for resize option in rotate 2012-12-03 15:54:26 +02:00
Johannes Schönberger 49e06c9755 Add title to hough peak detection example plot 2012-12-03 14:37:26 +01:00
Johannes Schönberger 989d1de598 Merge pull request #380 from tonysyu/mark-boundaries-regression
Make black the default boundary color for mark_boundaries.
2012-12-02 23:20:01 -08:00
Tony S Yu bf28a38f6e ENH: Make black the default boundary color for mark_boundaries.
This improves visibility in light-colored image regions. Note also that the new behavior matches the behavior from the 0.7 release.
2012-12-02 16:02:27 -05:00
Christos Psaltis 22f94d8707 Fix resize argument handling in rotate.
It used to have exactly the opposite effect that it supposed to.
2012-12-01 12:30:40 +02:00
Josh Warner (Mac) 98ce475113 style: initialize out at beginning of function
* remove API compatibility comment
* remove unnecessary `del maskim`
2012-11-25 23:09:06 -06:00
Josh Warner (Mac) 45a91aa9c5 doc: deprecated string and docstring formatting fixes in is_local_maximum 2012-11-25 22:56:45 -06:00
Josh Warner (Mac) d2262227d9 BUG - rank_order now imported.
Also changed (peak.py):
  * Standardized documentation as requested.
  * Removed `threshold` as an optional kwarg.
  * Removed extra line break incorrect by PEP8 standards.

Also changed (watershed.py):
  * Added @deprecated decorator and import statement
2012-11-24 17:24:14 -06:00
Stefan van der Walt a77923fe4c Merge pull request #373 from luispedro/imread_io_plugin
ENH: Add imread io plugin.
2012-11-24 11:07:52 -08:00
Luis Pedro Coelho 38f699471e TST Remove unneeded test
Per stefanv's comment on github, this was testing functionality higher
up in skimage.io
2012-11-24 19:04:55 +00:00
Luis Pedro Coelho 1f84c5e35f DOC Add myself to CONTRIBUTORS.txt 2012-11-24 19:04:43 +00:00
Luis Pedro Coelho 10ce9b89ab RFCT Use skimage.utils.convert for type conversion 2012-11-24 19:04:16 +00:00
Luis Pedro Coelho 6ebc43bad8 ENH Add imread io plugin
This relies on imread (https://github.com/luispedro/imread) which
supports a few microscopy formats otherwise hard to read (LSM and
MetaMorph STK) as well as basic ones.
2012-11-24 19:04:01 +00:00
Josh Warner (Mac) e7288f9140 BUG - Dtype conversion to Boolean in a new code path not included in current tests. 2012-11-20 01:17:42 -06:00
Josh Warner (Mac) da5a2a8221 BUG - Now parsing all unique labels != 0 properly, and set threshold_rel=0 in is_local_maximum() wrapper. 2012-11-20 01:11:31 -06:00
Josh Warner (Mac) 233b368195 BUG - Fixed a bug where the image was not properly masked for each unique label. 2012-11-20 00:45:01 -06:00
Josh Warner (Mac) 33c9514062 BUG - Fixed a bug where, when indices = False, output was not Boolean. 2012-11-20 00:36:12 -06:00
Josh Warner (Mac) 226eaaff92 FEAT - Unified peak finder backend
Detailed changelist:
  * Fully documented new API for peak_local_max()
  * Removed commented-out old code for is_local_maximum()
  * Added "See also" and "Notes" to is_local_maximum() redirecting to peak_local_max()
2012-11-20 00:12:47 -06:00
Josh Warner (Mac) 63b5c5a4a0 FEAT - combined API from is_local_maximum() into peak_local_max()
is_local_maximum() is a wrapper function for peak_local_max()
is_local_maximum() runs much faster (~20% of prior runtime, nearly = to peak_local_max())
All tests in .feature and .morphology subpackages pass as written with these changes.

Todo:
  * Fully document API
  * remove commented-out old algorithm in is_local_maximum()
  * add new tests for full coverage of new, more complex peak_local_max()
2012-11-19 23:38:58 -06:00
Johannes Schönberger a7527adf31 Add example for hough_peaks function 2012-11-17 22:27:11 +01:00
Tony S Yu 13c61b9694 Merge pull request #361 from ahojnnes/hough-peaks
Add hough transform peak detection
2012-11-17 07:30:08 -08:00
Johannes Schönberger 2df0cdb443 Merge pull request #374 from tonysyu/add-rank-to-bentoinfo
Add rank extensions to bento.info
2012-11-15 00:42:53 -08:00
Tony S Yu d6a0b08859 ENH: Add filter.rank extensions to bento.info 2012-11-14 20:46:47 -05:00
Tony S Yu 2a8466a549 ENH: Compare full paths of cython extensions.
If setup.py defined an extension in a subdirectory, the extension name in bento.info didn't match the one found in setup.py. Comparing the full extension path fixes the issue.
2012-11-14 20:43:52 -05:00
Tony S Yu 22a73fc0cb BUG: Adapt to whitespace in text search 2012-11-14 20:08:16 -05:00
Johannes Schönberger 80a9a5aba5 Apply numpy reference style to rank filter descriptions 2012-11-14 08:33:27 +01:00
Johannes Schönberger 2403bee27c Merge pull request #348 from odebeir/rank_filters
Rank filters
2012-11-13 23:30:12 -08:00
Olivier Debeir 70f2b67ef7 fix: ref and test_otsu doc 2012-11-14 08:00:59 +01:00
Olivier Debeir 698d6ae13f fix:< Py_ssize_t > 0 and & pop 2012-11-13 17:07:21 +01:00
Olivier Debeir 411d4686d5 fix:wrap lines in tests 2012-11-13 17:02:08 +01:00
Olivier Debeir f133158792 autopep8 for plot_* and rank sources 2012-11-13 09:37:58 +01:00
Olivier Debeir 114f3a84f3 Merge pull request #2 from ahojnnes/rank-filters 2012-11-12 22:25:27 -08:00
Johannes Schönberger af55d712ee PEP8 fixes for long rank filter example 2012-11-12 20:10:56 +01:00
Johannes Schönberger 4a0b22aff5 Use common spelling for greylevel 2012-11-12 20:07:02 +01:00
Johannes Schönberger d0d5df0d68 Improve description of long rank filter example 2012-11-12 20:04:42 +01:00