Commit Graph

107 Commits

Author SHA1 Message Date
Tony S Yu e6d03eaebc STY: Use standard skimage data type conversion. 2012-08-17 00:42:56 -04:00
Tony S Yu e1caa9d4cd Update function names that were changed since original PR. 2012-08-09 00:25:26 -04:00
Tony S Yu 25efae8269 Add morphological reconstruction with test and example. 2012-07-13 00:53:51 -04:00
tonysyu c4854e78f3 Merge pull request #119 from stefanv/ssim
ENH: Add structural similarity index and gradient.
2012-06-24 18:27:49 -07:00
Stefan van der Walt b8d43b20c9 Merge pull request #190 from tonysyu/plot2rst
ENH: Replace `gen_rst` Sphinx extension with `plot2rst`.
2012-06-24 18:15:11 -07:00
Stefan van der Walt ac86299690 DOC: In ssim example, use correct dynamic range in algorithm and when displaying results. 2012-06-24 17:55:04 -07:00
Stefan van der Walt 03f6da135b DOC: Example of structural similarity. The example is currently broken because structural_similarity does not auto-detect dynamic range. 2012-06-24 17:55:04 -07:00
Tony S Yu 6741bb639a DOC: Fix link formatting 2012-06-11 20:05:27 -04:00
Johannes Schönberger 12a878dd59 add example script for regionprops function to documentation 2012-05-22 23:28:14 +02:00
Tony S Yu 84074871f2 DOC: convert segmentation example to tutorial-style example. 2012-05-15 22:24:54 -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
Tony S Yu 942dd52316 Add "page.png" and use for threshold example. 2012-05-03 12:11:33 -04: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
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
emmanuelle acaa05c9ed User guide: first draft of "getting help" 2012-02-13 23:16:09 +01:00
Stefan van der Walt b88a9ac7ea DOC: Fix formatting typos in HoG example. 2012-02-10 15:04:58 -08:00