Commit Graph

5928 Commits

Author SHA1 Message Date
Brian Holt d0bbb525a8 Initial implementation of Histograms of Oriented Gradients 2011-10-09 15:40:24 -07:00
Stefan van der Walt 9eb7ec940a Merge pull request #40 from emmanuelle/watershed
Integrate CellProfiler's watershed.
2011-10-09 15:40:05 -07:00
emmanuelle 724733f1d6 ENH: give a short definition of rank order in docstring 2011-10-08 19:31:25 +02:00
Emmanuelle Gouillart 7d420da594 Docstring for rank_order
TODO: write a graphical example using rank_order (reassigning labels
in segmented objects, for example)
2011-10-07 16:07:35 +02:00
Emmanuelle Gouillart 1c5e05442e Renamed fast_watershed to watershed. 2011-10-07 16:05:27 +02:00
emmanuelle 393bd94bca ENH: watershed docstring 2011-10-06 23:26:47 +02:00
emmanuelle a07fc6d172 New example for the gallery: watershed
Removed the See also part in watershed's docstrings, as it made the doc
compilation crash...
2011-10-06 23:15:27 +02:00
emmanuelle 738dcfde15 Import is_local_maximum in __init__.py 2011-10-06 09:12:17 +02:00
emmanuelle 2b4854a977 Added the is_local_maximum function, that is useful to determine
markers for the watershed.
2011-10-06 09:04:47 +02:00
emmanuelle f0702fb938 Removed unnneeded code to compute strides 2011-10-05 21:37:05 +02:00
emmanuelle 656962cbc9 Initial integration of CellProfiler's watershed module 2011-10-05 21:13:46 +02:00
Stefan van der Walt de38b5f93c PKG: Do not build Cython files on clean. 2011-10-05 10:58:09 -07:00
Brian Holt 130d8562f1 Merge pull request #1 from amueller/hog
Hog
2011-10-05 04:55:10 -07:00
Stefan van der Walt d7a33c9b6e PKG: Remove empty placeholder files. 2011-10-04 12:01:47 -07:00
Stefan van der Walt 9f898914a2 Merge Andy's plugin cleanups require to build the Debian package. 2011-10-04 11:56:49 -07:00
andy fc612a830e pep8 2011-10-04 11:56:23 -07:00
andy 7448ba2529 null_plugin gets imread as promised in __ini__.py of plugins 2011-10-04 11:56:17 -07:00
andy 79cde8df47 have preferrence list of plugins instead of just trying "null" and "pil" 2011-10-04 11:56:11 -07:00
Neil c53c8f3e00 Fix axes color order 2011-10-01 13:57:09 +02:00
Neil 5d2573af85 Remove as_grey from qt imread 2011-10-01 13:57:09 +02:00
Neil c266290b5d Don't return an alpha channel if it's not present. Fix return type of as_grey 2011-10-01 13:57:09 +02:00
Neil f260a47573 Try initialise multiple plugins, not just PIL 2011-10-01 13:57:09 +02:00
Neil 9b696cf34e Only enable imread for new enough sip versions. Warn user if sip is too old 2011-10-01 13:57:09 +02:00
Neil 47fba11c98 Add qt-based imread function 2011-10-01 13:57:09 +02:00
Neil 3f12aef7ed Fix bug with 2D images 2011-10-01 13:57:08 +02:00
Stefan van der Walt 0a71c9060e BUG: Fix default log-level. 2011-09-30 18:15:22 -07:00
Stefan van der Walt 2076876d47 Merge pull request #38 from amueller/dtype_minor
ENH: Avoid temporaries in dtype conversion.
2011-09-29 11:06:24 -07:00
Andreas Mueller d7761bae54 pep8 whitespace 2011-09-29 13:31:07 +02:00
Andreas Mueller 487f165622 slightly faster image conversion by creating less temporaries. 2011-09-29 13:30:53 +02:00
Stefan van der Walt fe4956049b BUG: Adopt lena example to use new data module. 2011-09-28 20:57:51 -07:00
Stefan van der Walt 9da0a6509b BUG: Add 'color' subpackage. 2011-09-28 10:41:05 -07:00
Stefan van der Walt 12066f8681 BUG: Make test file non-executable. 2011-09-28 01:40:01 -07:00
Stefan van der Walt 75d1688183 PKG: Remove both .so and .pyc files in find . -name "*.so" -o -name "*.pyc" | xargs rm -f. 2011-09-27 23:11:02 -07:00
Stefan van der Walt 13e21935ed PKG: Allow make clean to run twice in a row. 2011-09-27 23:05:05 -07:00
Stefan van der Walt d7c28fc731 Merge pull request #36 from amueller/dtype_minor
ENH: numpy 1.5 compat: Don't use dtype argument to np.empty.
2011-09-27 14:53:51 -07:00
Stefan van der Walt ee3e0e3084 Merge pull request #29 from amueller/canny_usability
ENH: Add sensible defaults for Canny.  Code cleanups.
2011-09-27 14:52:33 -07:00
andy 375079e82f don't use np.empty_like with dtype argument to be numpy 1.5 compatible. 2011-09-27 23:51:14 +02:00
Stefan van der Walt 584d20356a Merge pull request #35 from amueller/color_converters_dtype
ENH: Use dtype converters in color space manipulation.
2011-09-27 14:50:55 -07:00
andy b3759c8a2f bug: color convertion. make tests arrays float. 2011-09-27 23:38:57 +02:00
Stefan van der Walt 7404896730 BUG: Add 'util' subpackage. 2011-09-27 12:50:06 -07:00
Stefan van der Walt 339fbe7d1f Merge branch 'dtype_converters' 2011-09-27 12:48:07 -07:00
andy c1b72ea638 use dtype.img_as_float in _convert for colorspaces.
All conversions are done as matrix multiplications with floats, so this is the only
way not to lose precision.
2011-09-27 21:11:30 +02:00
andy 01723d7f66 pep8 2011-09-27 20:56:12 +02:00
andy 8f6d290e57 hog: uniform filter instead of integral image 2011-09-27 19:31:37 +02:00
Stefan van der Walt 0b7df2626a ENH: Add img_as_ubyte. 2011-09-27 01:16:35 -07:00
Stefan van der Walt e57dd71209 DOC: Update contributor howto. 2011-09-27 00:46:18 -07:00
Stefan van der Walt f8a0e9e6e7 BUG: Use local lena data file in tv_denoise test. 2011-09-26 21:50:48 -07:00
Stefan van der Walt 146bef59b3 BUG: Fix fast_homography test based on new lena. 2011-09-26 21:45:52 -07:00
Stefan van der Walt 41f75309fa BUG: fast_homography should ensure input data is contiguous. 2011-09-26 21:44:21 -07:00
Stefan van der Walt c4affd4078 BUG: Always return contiguous array from colour conversion. 2011-09-26 21:42:37 -07:00