Commit Graph
13 Commits
Author SHA1 Message Date
Tony S Yu acc35c843b Add comment about code duplication. 2012-05-08 21:28:50 -04:00
Tony S Yu 6272c312c4 Simplify _template.pyx using integral_image from transform subpackage.
Remove `integral_images` and `integral_image_sqr` from _template.pyx in favor of calls to `skimage.transform.integral_image`.

This change required `match_template` arguments ("image" and "template") to be changed from float to double.

After this change, the template test runs about 25% slower.
2012-05-08 21:28:50 -04:00
Tony S Yu 2b368aecb1 Remove unused integral_image function in _template.pyx 2012-05-08 21:28:50 -04:00
Tony S Yu 56611198e4 PEP8: add spacing around operators 2012-05-08 21:28:50 -04:00
Tony S Yu 4ab4213749 Change OpenCV import to make it an optional dependency 2012-05-08 21:28:50 -04:00
Tony S Yu d43049da71 Wrap long lines 2012-05-08 21:28:49 -04:00
Tony S Yu 49349a07c6 Fix copy-paste bug 2012-05-08 21:28:49 -04:00
Tony S Yu 19f1021f60 Clean up docstrings 2012-05-08 21:28:49 -04:00
Tony S Yu ae85fa8b15 Wrap long lines 2012-05-08 21:28:49 -04:00
Tony S Yu b79a8dd437 Update setup file to new repo and fix typos 2012-05-08 21:28:49 -04:00
Tony S Yu f6b279bff7 Fix whitespace 2012-05-08 21:28:49 -04:00
Tony S Yu 424a2b8e52 Remove unused imports 2012-05-08 21:28:49 -04:00
Tony S Yu 23311a0993 Convert template matching Pull Request to skimage
This commit takes the template matching implementation from holtzhau/template (Pull Request #13) and converts the code to use the new package name (scikits.image --> skimage).
2012-05-08 21:28:49 -04:00