Commit Graph

3704 Commits

Author SHA1 Message Date
Steven Silvester c59cd1c496 Catch PIL imread problems early and generate error message 2014-09-19 18:50:42 -05:00
Steven Silvester bd5e2d60ff Merge pull request #1139 from grlee77/viewer_checkbox
Viewer: CheckBox Widget
2014-09-17 19:03:57 -05:00
Gregory R. Lee eb7cdb5a16 remove outdated comment line 2014-09-17 12:29:48 -04:00
Johannes Schönberger b67d46ab91 Merge pull request #1150 from blink1073/overlay-blit
Remove blit background when overlay changes
2014-09-16 17:41:44 -04:00
Gregory R. Lee bdd9fb0832 PEP8 formatting 2014-09-16 12:49:40 -04:00
Juan Nunez-Iglesias c913652fae Merge pull request #1146 from blink1073/master
Fix docstrings to be less confusing about pixel coordinates.
2014-09-15 21:30:28 +10:00
Steven Silvester c85e08b0ed Rename (x, y) -> (row, col) in _geometric.py. 2014-09-15 05:58:00 -05:00
Steven Silvester 1a1d665c0a Use functools.wraps in default_fallback dectorator 2014-09-13 08:10:14 -05:00
Steven Silvester 5877e2ee3d Remove blit background when overlay changes 2014-09-13 07:42:52 -05:00
Gregory Lee 3f1b8a4468 code formatting fixes 2014-09-12 19:37:09 -07:00
Steven Silvester 02a6e210ea Remove extra space 2014-09-12 06:15:28 -05:00
Steven Silvester 82578234b5 Fix swirl docstring to use (row, column) nomenclature 2014-09-12 06:14:45 -05:00
Juan Nunez-Iglesias c87d5567b4 Update find_contours docstring to use r/c notation
This update fixes #1140.

Other docstrings will probably need to be updated as well.
2014-09-12 14:08:07 +10:00
Steven Silvester 28a41eeb2b Clear the blit background when the image changes 2014-09-10 19:21:21 -05:00
Gregory R. Lee cfb913d8a8 add CheckBox widget to viewer. fix ComboBox widget docstring 2014-09-09 18:34:34 -04:00
Julian Taylor 87c72ae60f BUG: add signed flag to chars
Sign of char is undefined and there are numerous places where its sign
is important. Fixes tests with -funsigned-char.
Closes gh-1110
2014-09-05 23:51:39 +02:00
Stefan van der Walt 84f3835106 Fix Big Endian check 2014-09-04 22:32:02 +01:00
Stefan van der Walt 051c54c577 Fix indexing bug in freeimage plugin 2014-09-04 21:29:02 +01:00
Jasper St. Pierre acbee6b516 transform: Remove some leftovers in __all__
5c9d7af removed a bunch of deprecated functions, but forgot to remove
two more names from __all__.

Yes, I know * imports are a bad idea, but we have an internal app that
uses them. I've removed the * imports, but figured I might as well fix
upstream.
2014-09-03 17:54:19 -07:00
Johannes Schönberger 2bfa7b6f3c Merge pull request #1127 from Brittix1023/windowed_histogram
Windowed histogram
2014-09-02 19:00:09 -04:00
Geoffrey French c518f78ff7 Fixed mistake in generic.py 2014-09-02 20:17:43 +01:00
Geoffrey French 5342299572 PEP8 compliance and doc formatting fixes. 2014-09-02 19:16:41 +01:00
Tony S Yu 2b98d85cf9 Merge pull request #1065 from blink1073/multi_linetool_drawing
Multi linetool drawing
2014-09-01 21:06:50 -05:00
Stefan van der Walt 914afee076 Merge pull request #1113 from jucoste/move_canny
Move canny from filter to feature
2014-09-02 01:07:20 +01:00
Geoffrey French e6bda5accd Fix to skimage.filter.rank.windowed_histogram docstring.
Better explanation of technique in plot_windowed_histogram example, along with (hopefully correct) citations.
Relevant additions to release_dev.txt and CONTRIBUTORS.txt.
2014-09-01 23:41:03 +01:00
Geoffrey French bf02a92ee3 Small fix to windowed_histogram doctoring. 2014-09-01 23:04:24 +01:00
Geoffrey French a90096555b Docstring and comment improvements and fixes in plot_windowed_histogram.
Readability improvement to skimage/io/__init__.py
2014-09-01 22:59:59 +01:00
Geoffrey French b9ac11da3f Exchanged array output parameter for pointer and Py_ssize_t in kernel functions for slight speedup. 2014-09-01 22:39:41 +01:00
Steven Silvester 7ac6323210 Fix failing tests 2014-09-01 13:30:07 -05:00
Johannes Schönberger b8c58872a6 Merge pull request #1129 from stefanv/log_leftovers
Remove leftovers of old logger
2014-09-01 13:50:30 -04:00
Stefan van der Walt 85439b173a Merge pull request #1115 from JDWarner/enh_marching_cubes
ENH: Simplify `marching_cubes` for maintainability
2014-09-01 17:32:26 +01:00
Stefan van der Walt 1d99966804 Remove leftovers of old logger 2014-09-01 17:16:13 +01:00
Steven Silvester 1740392110 Add on_scroll behavior and allow line to change width. 2014-09-01 10:28:28 -05:00
blink1073 7864adbc0c Make other suggested style changes 2014-09-01 10:04:14 -05:00
blink1073 778f62de6a Updates to get all tools tested and working 2014-09-01 10:04:08 -05:00
blink1073 1775e959d6 Switch plugins to use new tool api 2014-09-01 09:59:03 -05:00
blink1073 2d9d8bb94c Refactor blit manager and event manager to viewer 2014-09-01 09:59:01 -05:00
blink1073 1799846be9 Remove unused parameter from docstring 2014-09-01 09:58:59 -05:00
blink1073 410f3926e4 Push handling of line tools to axes level for better coordination. 2014-09-01 09:58:57 -05:00
blink1073 d9a85a167e Move handling of blit behavior to axes object. 2014-09-01 09:58:55 -05:00
Juan Nunez-Iglesias 725c199018 Merge pull request #1096 from ahojnnes/regionprops-speedup
Speed up image moments and and central moments computation.
2014-08-31 23:48:11 -05:00
Johannes Schönberger 23083636fe Replace pow() with iterative multiplication 2014-08-31 22:51:32 -04:00
Johannes Schönberger 4f1adee2ec Make moments functions C functions and reuse centralized moments 2014-08-31 22:51:32 -04:00
Johannes Schönberger 8d2fdaa8f5 Speedup moments function 2014-08-31 22:51:32 -04:00
Johannes Schönberger cdf7ad12bc Speedup moments_central function 2014-08-31 22:51:32 -04:00
Steven Silvester 2355c17e3c Add mask option to exposure.equalize_hist with test.
Remove print and fix comparision to None

Update test to make it clear there is a difference

Fix mask logic and `equalize_hist` in `__all__`.

Fix handling of mask and tweak mask test

Another run at travis

Update travis to avoid conflict
2014-08-31 21:15:01 -05:00
Geoffrey French da93619e59 Fixed some issues with the new windowed_histogram function in filter.rank.
It used to be able to output uint8 histogram, whose max pixel counts of 255 could easily overflow. Addressed by limiting the output type to float.
Normalized histograms are now generated, otherwise behaviour is unpredictable at boundaries or when pixels are not permitted by a mask.
The new optional n_bins parameter allows the caller to specify the size of the histogram generated. Having it fixed to image.max()+1 could result in feature vectors being shorter than desired just due to a value not being used in an image.
An example has been added to the docs, that demonstrates the application of windows histograms in object matching; a single coin is extracted and found by chi squared histogram matching.
2014-08-31 22:25:45 +01:00
Geoffrey French 7ebb2388d2 Fixed some test failures and added a test for windowed_histogram. 2014-08-31 16:22:35 +01:00
Stefan van der Walt 997172d5ec Merge pull request #1124 from blink1073/master
Fix import when not built (closes gh-1108)
2014-08-31 16:07:25 +01:00
Geoffrey French d63d89497b Modified rank filters package so that the _core function in core.pyx outputs to a 3D image, permitting the generation of images with arbitrary size feature vector pixels. Implemented windowed_histogram that generates a windowed histogram of an image. 2014-08-31 16:04:38 +01:00