Commit Graph

309 Commits

Author SHA1 Message Date
Tony S Yu 01d86e3317 DOC: Remove Sphinx extension for inheritence trees. 2012-05-09 18:56:46 -04:00
Tony S Yu 3c3c95b406 DOC: Replace template example with alternate example.
And remove other alternate example.
2012-05-08 21:32:09 -04:00
Tony S Yu f3e91020f0 Add new example plot for match_template. 2012-05-08 21:32:09 -04:00
Tony S Yu 8dbf6f4c58 Fix shape unpacking ((height, width), not (w, h)). 2012-05-08 21:32:09 -04:00
Tony S Yu 4c3f8a36ba Fix template example. 2012-05-08 21:32:09 -04:00
Tony S Yu 5e49eb4fb6 Add alternate example for match_template. 2012-05-08 21:32:08 -04:00
Tony S Yu 94262bc8d6 Tweak example to reduce confusion.
Set background 1 so that the template has values equally-above and -below the mean image value. This change makes the template results left-right symmetric, which may reduce confusion.
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 a87bcb2d73 DOC: demonstrate where the template is matched in an image. 2012-05-08 21:32:06 -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 e8461e22dd Move template matching to feature subpackage 2012-05-08 21:32:05 -04:00
Tony S Yu 01d66fc501 Reorganize example so that all plotting code is at the end 2012-05-08 21:28:50 -04:00
Tony S Yu e6098e140b Replace assert statement with plot to show matches 2012-05-08 21:28:50 -04:00
Tony S Yu 12b39dae5c Fix assert failure in example 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 f8e0478542 Remove dependency on math module 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
tonysyu 085af1d9e5 Merge pull request #184 from stefanv/fast_coordinate_map
Implement fast image warping.
2012-05-08 18:03:07 -07:00
Stefan van der Walt a5d8593408 STY: Cleanups after Tony's review. 2012-05-04 12:16:05 -07:00
Stefan van der Walt 0cede58828 Merge pull request #182 from tonysyu/threshold-example
DOC: Add example for adaptive thresholding.
2012-05-03 15:30:25 -07:00
Tony S Yu 942dd52316 Add "page.png" and use for threshold example. 2012-05-03 12:11:33 -04:00
Stefan van der Walt 874c7c1b3e DOC: Add CSS for LaTeX math. 2012-05-02 22:23:27 -07:00
Stefan van der Walt 7df3707c33 ENH: Implement fast coordinate transformations. 2012-05-02 21:31:23 -07:00
Tony S Yu e84abb1b67 DOC: Add example of adaptive thresholding. 2012-04-30 21:34:19 -04:00
Tony S Yu a0c3e49742 Merge pull request #166 from 'vincent-albufera/exemple_modif'
DOC: Improve harris corners and peak detection examples and docstrings.
2012-04-25 00:52:53 -04:00
Johannes Schönberger af345f1a32 improved color assignment of circle in shapes example script 2012-04-23 18:45:11 +02:00
Johannes Schönberger 5b854d9b3c changed interface of draw.polygon function for a more consistent usage 2012-04-23 18:38:20 +02:00
Johannes Schönberger 48328cda8a combined all draw functions in one example script 2012-04-23 17:07:36 +02:00
Johannes Schönberger 4834d7eb4d added example script for draw.polygon function 2012-04-23 15:37:07 +02:00
Vincent Albufera 5491d85705 Addition of examples in the harris and peak local max function 2012-04-20 10:54:03 +02:00
Vincent Albufera 2aca8cd791 Addition of examples in the harris and peak local max function 2012-03-26 15:39:59 +02:00
Vincent Albufera 8c9777b967 Addition of examples in the harris and peak local max function 2012-03-21 14:27:12 +01:00
Vincent Albufera 5bf77b54c2 No interpolation when displaying small patches in example 2012-03-09 13:59:00 +01:00
Stefan van der Walt 1ff488ffc0 DOC: Fix typo in 0.5 release notes. 2012-02-27 01:36:28 -08:00
Stefan van der Walt 41998c590d PKG: Update doc versions. 2012-02-26 21:00:51 -08:00
Stefan van der Walt 5b8798e3f7 DOC: Add v0.5 release notes. 2012-02-26 20:55:05 -08:00
Tony S Yu dc78c59be5 DOC: Add toctree to example gallery. 2012-02-21 21:47:09 -05:00
Tony S Yu eae045b16a DOC: Add hidden toctree for main index. 2012-02-21 21:30:11 -05:00
Stefan van der Walt a073051b0d Merge PR #147 from 'tonysyu/fix-gallery-sizes
DOC: Fix gallery sizes.
2012-02-21 14:47:06 -08:00
Andreas Mueller b022dbd4c7 DOC minor 2012-02-21 18:53:40 +01:00
Andreas Mueller 2b6208cf3e DOC some sphinx and rst fixes 2012-02-21 18:01:22 +01:00
Tony S Yu 27af46706d DOC: tweak image sizes in gallery.
If images are limited to 8-inch widths and the figure dpi is 100, 1/4 scale thumbnails will be 200px wide.
2012-02-20 10:18:14 -05:00
Tony S Yu 520c961a0c DOC: minor example clean up. 2012-02-20 09:45:17 -05:00
Tony S Yu cb93ebbf61 DOC: Limit figures to 8 inch widths. 2012-02-20 09:40:56 -05:00
Stefan van der Walt 0c304d5acd Merge pull request #138 from poilvert/array_views
ENH: Add window views and montage.
2012-02-19 00:27:09 -08:00
Nicolas Pinto ac54f6969e DOC: remove dependency on PIL, see PR #138 2012-02-14 20:01:10 -05:00
Nicolas Pinto e77d7a7e44 DOC: don't divide by 255 when it's not required ;-) 2012-02-14 19:56:42 -05:00
Nicolas Pinto 5e9ad08b80 DOC: update view_as_blocks and gabors_from_lena example using comments from @stevanv (PR #138) 2012-02-14 19:45:38 -05:00
Nicolas Pinto c715adf1c0 DOC: add example of use of view_as_blocks with kmeans for simple dictionary learning 2012-02-14 00:16:00 -05:00
Nicolas Poilvert 96c2b3fc9d DOC: add example for util.shape.view_as_{blocks,windows} 2012-02-14 00:07:37 -05:00