Commit Graph

5928 Commits

Author SHA1 Message Date
Geoffrey French 29763582f5 Fixed Python 3 error in plot_windowed_histogram caused by use of incorrect division operator. Also tweaked the similarity computation a little. 2014-09-01 20:29:17 +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
Johannes Schönberger 3f7735dccb Merge pull request #1109 from blink1073/add-exposure-mask
Add mask option to exposure.equalize_hist with test.
2014-08-31 22:41:50 -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
Johannes Schönberger 4102fd97d3 Merge pull request #1128 from blink1073/fix-travis
Fix travis build for python 3.2
2014-08-31 18:10:02 -04: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
Steven Silvester e8e23fa154 Fix typo in spacer declaration 2014-08-31 11:03:30 -05:00
Steven Silvester e8987b582f Fix matplotlib install, make installs verbose, add spacers 2014-08-31 10:56:41 -05: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
Steven Silvester a85a8bcd39 Fix #1108 2014-08-31 09:50:25 -05:00
Julien Coste f8a0f27265 hack to avoid circular import when import canny 2014-08-31 15:21:46 +01:00
Geoffrey French f87db0a1ec Fixes a bug in _update_doc in skimage/io/__init__.py that will attempt to compute max of empty list if no plugins are found. 2014-08-31 15:12:01 +01:00
Stefan van der Walt c30db5915a Merge pull request #1121 from Cadair/doc_theme_tweaks
Website font readability improvements.
2014-08-31 15:06:38 +01:00
Stuart Mumford f1a6d2dbf1 Website font readability improvements.
Increase font size by 1%
 Increase character spacing
 Increase font size in code snippets to website standard
2014-08-31 14:53:43 +01:00
Stefan van der Walt 517f9e0740 Merge pull request #1116 from rebeccaroisin/inplace_addition
Speed-up through in-place addition (closes gh-1089)
2014-08-31 13:44:30 +01:00
Julien Coste f86b6212bc Canny is now deprecated and will be in api_changes in v0.13 2014-08-31 12:46:16 +01:00
Julien Coste 936211bbcb move import to avoid infinte recursion (filter import peak that import feature that import filter) 2014-08-31 12:15:47 +01:00
Julien Coste bfcc27587a fix import in filter.__init__ 2014-08-31 11:59:32 +01:00
Julien Coste 218eb4e89e fix import inside documentation and update TODO 2014-08-31 11:48:34 +01:00
Rebecca 812b23d41f making in-place addition modification suggested in issue #1089 2014-08-31 11:37:35 +01:00
Josh Warner cc942364cd Merge pull request #1112 from pelson/docs_tidy
DOC: Minor documentation enhancements.
2014-08-31 11:34:41 +01:00
Phil Elson 00b5ac6804 Some minor documentation enhancements. 2014-08-31 11:21:23 +01:00
Phil Elson d4297c96ca Updated the gitwash build. 2014-08-31 11:18:36 +01:00
Phil Elson bc3563c038 Added gitwash as an option on the makefile. 2014-08-31 11:18:09 +01:00
Julien Coste 5ccc0d0000 update api_changes 2014-08-31 11:09:42 +01:00
Julien Coste b13ea2288a fix wrong version number 2014-08-31 11:01:08 +01:00
Josh Warner (Mac) af59d06461 ENH: Simplify marching_cubes for maintainability.
This does not change execution time, but the entire algorithm
is much simpler to read and understand without the branching
Cython code paths for anisotropic inputs. Memory usage decreases
a minor amount.
2014-08-31 11:00:41 +01:00
Julien Coste 23a6f0af6c remove auto added __author__ in __init__.py file 2014-08-31 11:00:16 +01:00
Julien Coste 8a337dbe46 Move canny from filter to feature 2014-08-31 10:55:12 +01:00
François Boulogne 26e0348f3c Comments of the PR 2014-08-25 08:55:53 -04:00
Juan Nunez-Iglesias 25d6c58674 Merge pull request #1087 from vighneshbirodkar/rag_draw
RAG drawing function
2014-08-18 10:05:58 -05:00
Juan Nunez-Iglesias badd7182ee Merge pull request #1106 from vighneshbirodkar/ncut_fix
Remove self loops in RAG
2014-08-18 09:54:00 -05:00