Commit Graph

252 Commits

Author SHA1 Message Date
Andreas Mueller 1746d2c38c Some scaling issues to be closer to reference implementation 2012-08-04 18:03:03 +01:00
Andreas Mueller b6059b5672 Put RGB2Lab into slic as it seems to be essential. 2012-08-03 12:00:39 +01:00
Andreas Mueller cd1007a0bc Rename km_segmentation to slic. They have a PAMI paper now so I guess we should use their name. 2012-08-03 11:57:02 +01:00
Andreas Mueller 026b6b1df0 Fix initialization in km_segmentation, prettier examples 2012-08-03 11:43:03 +01:00
Andreas Mueller d9a22d867b Documentation, example for km_segmentation 2012-08-03 11:37:12 +01:00
Andreas Mueller 1c69adb817 MISC some simplifications, minor speedup 2012-08-03 11:37:11 +01:00
Andreas Mueller 501a6db8ad ENH speedup, means and image use pointers 2012-08-03 11:37:11 +01:00
Andreas Mueller 8f24366790 starting cython implementation of km_segmentation 2012-08-03 11:37:11 +01:00
Andreas Mueller 7b646ad7ea fix trying to make this implementation more like slic 2012-08-03 11:37:11 +01:00
Andreas Mueller 49bc44c6e9 FIXed test to work with the fixed "hashing" of colors 2012-08-03 11:37:11 +01:00
Andreas Mueller ccfb89b957 FIX Tried to address @stefanv's comments on the PR. 2012-08-03 11:37:11 +01:00
Andreas Mueller 05cc863f3f First draft for numpy based km_segmentation 2012-08-03 11:37:11 +01:00
Andreas Mueller d2e226fe59 ENH tests for Felzenszwalbs segmentation, fixed off-by-one error 2012-08-03 11:37:11 +01:00
Andreas Mueller a7c98cb67a Remove felzenszwalb_segmentation_gray again since it just complicates the interface. 2012-08-03 11:37:11 +01:00
Andreas Mueller f0a7212c4f ENH Rename parameters in quickshift, add "ratio" 2012-08-03 11:37:11 +01:00
Andreas Mueller 08df2a5103 enh: minor simplifications 2012-08-03 11:37:11 +01:00
Andreas Mueller 8fa5427afc FIX build problem and cython problem resolved. 2012-08-03 11:37:11 +01:00
Andreas Mueller ce26467ad4 ENH: make quickshift more tolerant to input type, just convert to float. Also keep track of random seed for reproducable tests.
Finally, do a unique on the output and add testing.
2012-08-03 11:37:11 +01:00
Andreas Mueller 4d10749a0e DOC document and export felzenszwalb_segmentation_grey, prettify plots for the web. 2012-08-03 11:37:11 +01:00
Andreas Mueller 9a8cb483c4 misc remove profiling outputs from quickshift 2012-08-03 11:37:11 +01:00
Andreas Mueller 83616f0254 DOC more docs.... 2012-08-03 11:37:10 +01:00
Andreas Mueller 07fb8d0c03 ENH felzenszwalb for color images 2012-08-03 11:37:10 +01:00
Andreas Mueller 7a5e7e49ea ENH reasonable speed for felzenszwalbs's segmentation 2012-08-03 11:37:10 +01:00
Andreas Mueller 0c19899825 enh cythonizing some arrays 2012-08-03 11:37:10 +01:00
Andreas Mueller 461d4be549 forgot a line :-/ 2012-08-03 11:37:10 +01:00
Andreas Mueller 888d176034 ENH much faster. 2012-08-03 11:37:10 +01:00
Andreas Mueller 58237a558a ENH dirty fix, works though. Starting profiling. 2012-08-03 11:37:10 +01:00
Andreas Mueller cb3dba7847 Bigger example 2012-08-03 11:37:10 +01:00
Andreas Mueller be4b44bc63 ENH CRAZY speedup 2012-08-03 11:37:10 +01:00
Andreas Mueller b977d59c1b Color example :) 2012-08-03 11:37:10 +01:00
Andreas Mueller 48fa3252be ENH reasonable speed. 2012-08-03 11:37:10 +01:00
Andreas Mueller de52692a9d misc Uncomment Felzenszwalb as it is not messing with quickshift. 2012-08-03 11:37:10 +01:00
Andreas Mueller 8c735b6470 ENH start cythonizing quickshift, get rid of hstack. 2012-08-03 11:37:10 +01:00
Andreas Mueller eb5c2fe5d4 ENH fixed stupid bug in quickshift, example 2012-08-03 11:37:10 +01:00
Andreas Mueller 40ecdd29db ENH naive pure python implementation of quickshift 2012-08-03 11:37:10 +01:00
Andreas Mueller b1b1c343b4 MISC remove debugging tracer, unnecessary variable. 2012-08-03 11:37:10 +01:00
Andreas Mueller e2d60f0135 ENH using union find from morphology module 2012-08-03 11:37:10 +01:00
Andreas Mueller 967eb5b50d ENH first draft of felzenszwalbs graph based image segmentation in Python 2012-08-03 11:36:42 +01:00
Andreas Mueller b8c0663332 Add segmentation setup.py for felsenzwalb algorithm 2012-08-03 11:36:42 +01:00
Emmanuelle Gouillart aa92d5f0bd Better handling of labeled pixels in random walker segmentation when we
return the whole probability.
2012-07-24 23:01:15 +02:00
Andreas Mueller f7c56202d0 COSMIT no spaces around power `**`. Fun: https://gist.github.com/1671995 2012-06-29 11:27:23 +02:00
Emmanuelle Gouillart 4ab7d0a4fa Modifications to random walker segmentation algorithm:
* returning the probability to belong to a label instead of only the most
  likely label is now possible

* fixing some type issues

* handling non-consecutive label values
2012-06-24 19:35:27 +02:00
Stefan van der Walt e99f18be5a BUG: Fix imports for Python 3.2. 2012-03-03 11:18:16 -08:00
cgohlke faf92e1a6d Fix TypeError on 64 bit platforms 2012-02-25 21:01:27 -08:00
Andreas Mueller 2b6208cf3e DOC some sphinx and rst fixes 2012-02-21 18:01:22 +01:00
emmanuelle 46d330591f ENH Tony's comments on random walker 2012-01-23 19:47:16 +01:00
emmanuelle 6559b8f31d ENH Removed unused argument in random_walker_segmentation 2012-01-21 12:34:34 +01:00
emmanuelle 528187c2b0 ENH: addressed Tony's comments (renaming of functions, doc) 2012-01-21 11:43:53 +01:00
emmanuelle b9d6090c5e Cross-See also in watershed and random walker 2012-01-17 22:17:15 +01:00
emmanuelle 09e3a43f58 More explanations about the algorithm
Also: removed copyright
      changed module name
2012-01-17 21:32:08 +01:00