Commit Graph
2586 Commits
Author SHA1 Message Date
Tony S Yu e98476ea41 ENH: Handle redraw edge case.
You can call redraw before the first draw event so that the background never gets saved. In this case, skip blitting so we don't need the background image.
2012-12-13 19:11:08 -05:00
Tony S Yu 8e4f24af00 ENH: Add color histogram plugin 2012-12-13 18:02:40 -05:00
Tony S Yu cfe9e7def9 Fix typo 2012-12-13 17:58:08 -05:00
Tony S Yu 43fecd0cb8 BUG: Fix renamed parameter 2012-12-13 17:47:27 -05:00
Tony S Yu 70461b4bc9 STY: Rename parameters for clarity 2012-12-13 17:26:37 -05:00
Tony S Yu 6fee0fbcfe BUG: Fix line visibility
Line gets cleared when "enter" key is pressed. Make sure it's visible on a mouse press.
2012-12-13 14:30:02 -05:00
Tony S Yu 7dcb2df3fc STY: Switch order of callback parameters 2012-12-13 14:29:14 -05:00
Tony S Yu 19e86ed661 BUG: Fix matplotlib import for compatibility 2012-12-13 13:51:29 -05:00
Tony S Yu 04434b008f BUG: Fix image viewer for RGB images 2012-12-13 10:39:11 -05:00
Tony S Yu 1aafdeb7d4 ENH: Overhaul callback system.
Remove `on_update` callback and add `on_move` and `on_release` callbacks arguments. Also, prefix callback functions with `callback_` for clarity.
2012-12-13 00:23:30 -05:00
Tony S Yu 631e97d973 ENH: Add rectangle tool and crop plugin example 2012-12-12 23:59:40 -05:00
Tony S Yu 36bc6da757 STY: Refactors general parts of line tool to base tool 2012-12-12 23:42:15 -05:00
Tony S Yu cb30c24427 ENH: Add measure tool plugin 2012-12-12 21:46:08 -05:00
Tony S Yu d06c7bcb34 STY: Rename line_tool module to linetool 2012-12-12 16:01:06 -05:00
Tony S Yu 67aada9adc ENH: Increase default selection threshold for ease of use 2012-12-12 15:58:10 -05:00
Tony S Yu ece045790e STY: Remove reset functionality in line tool
Since a line can be draw without selecting handles, the reset functionality doesn't seem necessary.
2012-12-12 15:54:12 -05:00
Tony S Yu bacc12e00a ENH: Draw new line when click is far from handle 2012-12-12 15:50:49 -05:00
Tony S Yu 9f70148f08 STY: Minor code clean up 2012-12-12 15:48:45 -05:00
Tony S Yu 16a720770a STY: Clean up unused blitting-related code 2012-12-12 13:34:53 -05:00
Tony S Yu 866e7d7d60 BUG: Fix blitting behavior 2012-12-12 11:45:02 -05:00
Tony S Yu 15b1ad4929 STY: Remove commented out code 2012-12-10 21:30:25 -05:00
Tony S Yu 0428f821e5 BUG: Fix background update when canvas resized 2012-12-10 21:18:50 -05:00
Tony S Yu 211bba0195 ENH: Default to blitting
Since the Qt4 Agg backend is always used, it's always safe to use blitting.
2012-12-09 21:11:06 -05:00
Tony S Yu 588fe29b57 BUG: Allow slider to accept key press events 2012-12-09 20:54:10 -05:00
Tony S Yu ef2bb54c45 Fix figure canvas creation.
Avoid use of matplotlib's pyplot functions for creating figure canvases. In particular, key press events were ignored by the canvas.
2012-12-09 20:51:18 -05:00
Tony S Yu 9d653fec78 BUG: Clean up imports 2012-11-15 23:53:47 -05:00
Tony S Yu 0d411e21dc STY: Refactor parts of LineTool to CanvasToolBase 2012-11-15 22:04:02 -05:00
Tony S Yu d219a76f58 BUG: Fix blitting behavior in canvastools 2012-11-15 21:56:51 -05:00
Tony S Yu 5be5813070 STY: Reuse ThickLineTool in LineProfile 2012-11-15 00:16:19 -05:00
Tony S Yu 2ff3e78c52 BUG: Move callback connection to parent class 2012-11-15 00:16:19 -05:00
Tony S Yu 4f6f25efe9 ENH: Add canvastools subpckages with base class and line tools 2012-11-15 00:16:19 -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
Johannes Schönberger eaf48a71e9 Use numpy reference style 2012-11-12 19:31:06 +01:00
Johannes Schönberger a376a07c3b PEP8 fixes in doc string examples 2012-11-12 19:29:00 +01:00
Johannes Schönberger fce2ae3f5f Fix spelling of X-bit 2012-11-12 19:25:46 +01:00
Johannes Schönberger f724b97f90 Fix typos and spelling of readme 2012-11-12 19:24:02 +01:00
Olivier Debeir 542ec6fdc5 fix: local otsu doc 2012-11-12 14:57:08 +01:00
Olivier Debeir da391089cb add: local Otsu synthetic example 2012-11-12 14:48:38 +01:00
Olivier Debeir db2e066f4c add: test otsu 2012-11-12 14:40:49 +01:00
Olivier Debeir add437a9f2 add: test entropy 8- & 16-bit 2012-11-12 10:39:12 +01:00
Olivier Debeir c9f1b67c7b fix: check pop==0 for some kernels 2012-11-12 10:05:52 +01:00