12 Commits

Author SHA1 Message Date
Stefan van der Walt 21d3f151c0 Fix warnings generated by gallery examples 2014-12-15 02:20:12 +02:00
Stefan van der Walt 78a7b7307a Rename and deprecate filter module to prevent shadowing of built-in keyword 2014-11-10 12:53:50 +02:00
Johannes Schönberger c4bb726ff6 Replace jet with hot colormap 2014-09-03 12:55:07 -04:00
Johannes Schönberger 90b2755b01 Fix spelling 2014-09-03 12:54:45 -04:00
Johannes Schönberger 9ee87498ba PEP8 fixes and rearranged images in plot 2014-09-02 19:20:25 -04:00
Geoffrey French 5342299572 PEP8 compliance and doc formatting fixes. 2014-09-02 19:16:41 +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 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 9f5a6fddbf Fixed comment in plot_windowed_histogram. 2014-09-01 22:46:12 +01:00
Geoffrey French 0936522064 Improved plot_windowed_histogram doctoring, removed unnecessary imports and removed an internal testing line. 2014-09-01 22:44:45 +01:00
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
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