Commit Graph

157 Commits

Author SHA1 Message Date
yangzetian da055e7ca3 Add test for nD exclude_border option 2013-04-03 19:21:04 +08:00
yangzetian afde2b8ab8 change doc for indices and remove the unnecessarily tolist() operation 2013-04-02 12:35:11 +08:00
yangzetian f77def35d8 Fix peak_local_max's output for ndarray when indices is set to False 2013-04-01 20:34:47 +08:00
Malcolm Reynolds 042b75d05f FIX: changed xrange to range so Python 3 works. 2013-03-18 15:31:45 +00:00
Malcolm Reynolds 920e41398d FIX: move corner detection outside loop in test_num_peaks. 2013-03-18 15:23:35 +00:00
Malcolm Reynolds 0fde67bb56 TEST: added test for num_peaks kwarg in peak_local_max. 2013-03-18 15:13:18 +00:00
Johannes Schönberger 52e3436f61 Fix integer type bugs in feature detection algorithms 2013-02-22 17:05:39 +01:00
Josh Warner (Mac) 6d2aad45ab fix: set random seed in test_noisy_square_image 2013-01-16 23:35:50 -06:00
Anders Boesen Lindbo Larsen 67701614c1 Add DAISY visualization + example plot. 2012-12-27 20:42:01 +01:00
Anders Boesen Lindbo Larsen 24d39218c2 PEP8 style corrections. 2012-12-27 20:42:00 +01:00
Anders Boesen Lindbo Larsen 4173d16639 Add dense DAISY feature description. 2012-12-27 20:42:00 +01:00
Johannes Schönberger 377ae3b968 Add test case for corner_peaks function 2012-12-09 18:26:09 +01:00
Johannes Schönberger 8af43f2d49 Add test case for subpixel corner detection 2012-12-09 17:34:13 +01:00
Johannes Schönberger 16f09d358d Rename corner operators and file 2012-12-09 17:34:12 +01:00
Johannes Schönberger 82089f7fc8 Update test cases for shi-tomasi and moravec operator 2012-12-09 17:34:11 +01:00
Johannes Schönberger c4ca726566 Fix harris corner bug and add alternative corner measure param 2012-12-09 17:34:11 +01:00
Johannes Schönberger 1d96b29d77 Rename harris test case file 2012-12-09 17:34:11 +01:00
Josh Warner (Mac) 5cba69a4fa test: add additional tests for 100% coverage of new peak_local_max
Also fix minor bug in label reordering.
2012-12-08 21:12:26 -06:00
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