Stefan van der Walt
e8ee365382
Simplify warning test
2014-11-11 00:32:02 +02:00
Stefan van der Walt
2e90f4b15d
For filter submodule, explicitly set warning registry location
2014-11-10 14:51:50 +02:00
Stefan van der Walt
1bfb10cb88
Ensure import of old filter namespace raises warning
2014-11-10 13:16:32 +02:00
Stefan van der Walt
3ed648ea08
Fixes according to PR feedback
2014-11-10 13:16:25 +02:00
Stefan van der Walt
75080e6f0d
Check for deprecation on import is problematic. Rather just check that filter can be imported normally.
2014-11-10 12:53:50 +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
Stefan van der Walt
3172198244
Remove prints in test suite
2014-11-07 18:05:42 +02:00
Stefan van der Walt
6d827e284c
Update edge detectors to produce values in [0, 1] and clean up tests
2014-11-07 16:48:20 +02:00
Rebecca
1b217f971e
replacing lena in examples and most tests
2014-11-07 16:01:23 +02:00
Stefan van der Walt
dbab977535
Merge pull request #1206 from tonysyu/fix/canny-deprecation
...
Fix deprecation of canny function
2014-10-21 13:17:16 +02:00
Tony S Yu
cb1a26ce2e
Fix deprecation of canny function
2014-10-20 22:21:28 -05:00
Steven Silvester
2a057f7246
Make ndim explicit arg for clarity and update docstring
2014-09-21 05:48:58 -05:00
Steven Silvester
6a05edb9ea
Fix syntax error and weiner check
2014-09-20 19:50:37 -05:00
Steven Silvester
6a8c5e460f
Implement assert_nD in filter and feature packages
2014-09-20 17:04:11 -05:00
Steven Silvester
d6c64997cb
Implement new assert_nD utility function
2014-09-20 15:43:00 -05:00
Steven Silvester
525a5f80c6
Add ndim checks in filter.edges
2014-09-17 21:20:13 -05: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
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
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
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
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
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
Julien Coste
f8a0f27265
hack to avoid circular import when import canny
2014-08-31 15:21:46 +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
b13ea2288a
fix wrong version number
2014-08-31 11:01:08 +01:00
Julien Coste
8a337dbe46
Move canny from filter to feature
2014-08-31 10:55:12 +01:00
Johannes Schönberger
f9fd683fcb
Test missed line for coverage
2014-08-08 19:51:10 -04:00
Johannes Schönberger
83a6b64844
Fix return value description
2014-08-08 17:01:52 -04:00
Johannes Schönberger
23fd7b89af
Improve test coverage
2014-08-08 17:01:52 -04:00
Johannes Schönberger
ce0e9174c9
Fix test cases which are now wrong due to previous binning error
2014-08-08 17:01:52 -04:00
Johannes Schönberger
fc085ec779
Account for case when image only contains one unique value
2014-08-08 17:01:52 -04:00
Johannes Schönberger
8aa5ef8697
Return to old function name threshold_isodata
2014-08-08 17:01:52 -04:00
Johannes Schönberger
31cf1acf24
Fix isodata-thresholding according to Zachary Pincus
2014-08-08 17:01:52 -04:00
Juan Nunez-Iglesias
838617cb39
Fix incorrect test function signature
2014-07-28 13:01:41 +10:00
Juan Nunez-Iglesias
278a0d6862
Bug fix: nbins can be >256 in threshold_isodata
...
The threshold_isodata function created an arange of values up to the
number of bins, but gave it type np.uint8, limiting the number of bins
to 256.
Fixes #1085 .
2014-07-28 12:38:34 +10:00
blink1073
5677dafe41
Move away from random.random in favor of random.rand
2014-07-19 18:18:23 -05:00
blink1073
5ef3f95d71
Add random seeds to tests per #1044
2014-07-05 12:49:42 -05:00
Stefan van der Walt
5b07567973
Merge pull request #1005 from JDWarner/int_idx_patch
...
Fix NumPy non-integer indexing deprecation warnings
2014-05-13 17:48:11 +02:00
Johannes Schönberger
ac1b10d1cc
Fix docstring of skimage.filter.rank.threshold_percentile
2014-05-10 10:38:48 -04:00
Josh Warner (Mac)
1ca0eef825
FIX: Non-integer indexing deprecation warnings
2014-05-08 00:39:54 -05:00
Johannes Schönberger
ed558d672e
Remove deprecated skimage.filter.median_filter
2014-04-11 10:05:51 -04:00
Juan Nunez-Iglesias
45beadcb23
Remove all deprecated rank filter functions
2014-04-09 23:26:42 +10:00
Johannes Schönberger
ef63523ab0
Move denoise functions to restoration submodule
2014-03-13 19:39:54 -04:00
Stefan van der Walt
f518c2b30f
Merge pull request #859 from radioxoma/threshold
...
Add ISODATA thresholding
2014-01-14 05:47:33 -08:00