Commit Graph

39 Commits

Author SHA1 Message Date
Emmanuelle Gouillart 0644026250 Fixed two tests that were failing because of draw imports 2012-08-27 12:04:30 +02:00
Stefan van der Walt 73332f9959 Merge pull request #239 from ahojnnes/texture
ENH: Add local binary patterns for texture characterization.

Conflicts:
	CONTRIBUTORS.txt
2012-08-20 14:37:30 -07:00
pcampr 673d4ec212 several fixes and 3 new tests for Histograms of Oriented Gradients 2012-08-20 14:29:01 -07:00
pcampr 6761f131ad fixed imports 2012-08-20 14:29:01 -07:00
pcampr 298c1f1890 fixing multiple bugs in hog.py, adding two tests to test_hog.py 2012-08-20 14:29:01 -07:00
Johannes Schönberger 70b7745a34 Use shared bilinear interpolation function and improve performance. 2012-08-20 22:48:35 +02:00
Johannes Schönberger 55c3ec84e5 fix test cases for local binary pattern
test results changed because border handling of bilinear interpolation changed
2012-08-20 22:48:34 +02:00
Johannes Schönberger a6bdda8291 rewrite local binary pattern in Cython for performance reasons 2012-08-20 22:48:34 +02:00
Johannes Schönberger d9444e7612 add local binary pattern texture analysis 2012-08-20 22:46:57 +02:00
Johannes Schönberger bb27e37710 extend test cases for num_peaks parameter of peak_local_max 2012-08-14 07:59:54 +02:00
Brian Holt f3024fc4cd simplified hog code + extra unit test 2012-07-24 10:52:55 +01:00
Andreas Mueller f7b3d8062c COSMIT pep8 2012-06-29 11:27:23 +02:00
tangofoxtrotmike 4d999c313f feature.hog(): use y,x coords consistently, now works on non-square images 2012-05-22 17:35:11 +10:00
Tony S Yu 7326b1949f BUG: fix test images (float images between 0 and 1). 2012-05-09 18:35:38 -04:00
Tony S Yu a2f91585ef Add test for pad_input = True. 2012-05-08 21:32:08 -04:00
Tony S Yu 383ca6220a Set match_template to default to no padding and fix test. 2012-05-08 21:32:08 -04:00
Tony S Yu ad99285bc0 Prevent match_template from returning NaNs. 2012-05-08 21:32:08 -04:00
Tony S Yu 0c1e3541b3 Check that image is larger than template. 2012-05-08 21:32:08 -04:00
Tony S Yu f21f032bfe Add normalization test and remove unnecessary clipping. 2012-05-08 21:32:07 -04:00
Tony S Yu 5682d27eb0 Rewrite normalization algorithm.
This is a major revision that removes the `method` parameter of `match_template` and uses a new normalization method.

Note that the example result is different with this new normalization.
2012-05-08 21:32:07 -04:00
Tony S Yu 425a4ea707 Use feature.peak_local_max instead of custom peak detection. 2012-05-08 21:32:06 -04:00
Tony S Yu 2a00e24b12 Change _template.match_template variables to float.
Template and image in test are converted to float32 before passing to `match_template`. This change is temporary: `match_template` should convert these variables internally.
2012-05-08 21:32:06 -04:00
Tony S Yu e8461e22dd Move template matching to feature subpackage 2012-05-08 21:32:05 -04:00
Tony S Yu c3af26d37c ENH: Add num_peaks to limit the number of peaks. 2012-04-16 00:19:56 -04:00
Tony S Yu 0b33dd5811 Add docstring comment about flat peaks. 2012-04-16 00:02:45 -04:00
Tony S Yu ae6ef22a69 Fix: return empty list for flat image. 2012-04-15 23:53:53 -04:00
Tony S Yu 2585a323ac Change threshold test from >= to >. 2012-04-15 23:48:27 -04:00
Tony S Yu 187bc6d5b8 Deprecate threshold and replace absolute and relative thresholds. 2012-04-15 23:30:06 -04:00
Tony S Yu b9b9cd5c65 Fix import 2012-04-15 23:15:18 -04:00
cgohlke c2cf8dba34 Fix invalid Python 3 syntax 2012-02-25 20:05:37 -08:00
Tony S Yu 96ba7eb4bd Move harris corner detection from filter to feature subpackage. 2012-02-02 22:45:23 -05:00
Tony S Yu 1c9b340fe6 Rename peak_min_dist to peak_local_max. 2012-02-02 22:33:57 -05:00
Tony S Yu 83dc4a1d40 Refactor peak detection algorithm from Harris detector. 2012-02-02 22:33:57 -05:00
Neil Yager 830c6b650b ENH: Address division by zero errors 2011-11-22 11:48:51 +00:00
Neil Yager ab780b1ecd ENH: Updates based on review comments 2011-11-21 09:51:20 +00:00
Neil Yager 1661015af1 ENH: Added a gallery example of GLCM textures 2011-11-21 09:51:20 +00:00
Neil Yager cd8524b93d ENH: Compute some standard propertices for GLCMs 2011-11-21 09:51:20 +00:00
Neil Yager 4fe7965f69 NF: Initial commit of greylevel co-occurance (pure python) 2011-11-21 09:51:20 +00:00
Nelle Varoquaux 114cf44c77 Renamed scikits.image to skimage 2011-10-18 21:12:27 +02:00