Commit Graph

3708 Commits

Author SHA1 Message Date
Andreas Mueller e0034e384a Minor fixes addressing @tonysyu's comments. 2012-08-05 20:30:43 +01:00
Andreas Mueller 530f2c31c4 pep8 2012-08-05 20:25:34 +01:00
Andreas Mueller 8098718036 Fixup tests, add test for slic. 2012-08-05 14:33:30 +01:00
Andreas Mueller b1eb4265ed Post-processing for felzenszwalbs algorithm. 2012-08-05 13:52:15 +01:00
Andreas Mueller e65d6f6635 Added smoothing option to quickshift 2012-08-04 20:27:31 +01:00
Andreas Mueller 10934cfaff Fixed bug in SLIC smoothing 2012-08-04 20:27:18 +01:00
Andreas Mueller d770fc714d quickshift: convert to lab in function, some comments in code. 2012-08-04 19:56:22 +01:00
Andreas Mueller 1746d2c38c Some scaling issues to be closer to reference implementation 2012-08-04 18:03:03 +01:00
Johannes Schönberger 8e28e39887 add test case for correct quadrant determination 2012-08-04 10:54:15 +02:00
Tony S Yu cfd0b84a9b STY: Tweak button sizes. 2012-08-03 23:04:51 -04:00
Tony S Yu e96aca5637 ENH: Add OK/Cancel buttons 2012-08-03 22:27:05 -04:00
Tony S Yu 398b320477 BUG: reset image when plugin is closed. 2012-08-03 22:21:59 -04:00
Tony S Yu 4ab583ba31 ENH: Add SaveButtons widget. 2012-08-03 21:50:28 -04:00
Tony S Yu 9ac42728c6 DOC: Clean up docstring for Slider 2012-08-03 20:47:42 -04:00
Tony S Yu 54af4176dd ENH: Add RequiredAttr to raise warnings when attr not set. 2012-08-03 20:45:01 -04: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