Commit Graph

4948 Commits

Author SHA1 Message Date
Juan Nunez-Iglesias ec0079dcba Output line drawing and scan data from plugin 2014-01-29 23:27:34 +11:00
Juan Nunez-Iglesias 040a21afb9 Change default interpolation order to 1 2014-01-29 22:55:18 +11:00
Juan Nunez-Iglesias d71cd4d750 Remove unnecessary if clause
The `if linewidth <= 1` was necessary because the coordinate systems
(pixel/point) were all muddled up. Now that it has been clarified,
`linewidth=1` works transparently!
2014-01-29 22:52:49 +11:00
Juan Nunez-Iglesias 4bc5d66060 Add numerous (14) tests for profile_line() 2014-01-29 22:50:19 +11:00
Juan Nunez-Iglesias 00f4d38c2c Polish coordinate system
It's important to distinguish between pixels and points. A square set
of points belongs to one pixel. When users type `linewidth=3`, they
usually mean a line 3 pixels wide. The distance between the pixel
center points, then, is 2.
2014-01-29 22:47:52 +11:00
Juan Nunez-Iglesias 80dcc0cd7b Add 'order' kwarg for interpolation in profile_line() 2014-01-29 19:08:37 +11:00
Juan Nunez-Iglesias 3d93582ae7 Simplify parameters even more 2014-01-29 15:13:36 +11:00
Juan Nunez-Iglesias 47f6ddbce0 Update interactive lineprofile tool to new API 2014-01-29 15:06:00 +11:00
Juan Nunez-Iglesias ae85e26ee3 Reparameterize profile_line to avoid the _calc_vert hack 2014-01-29 14:23:51 +11:00
Juan Nunez-Iglesias 2a6ec20136 Fix doctest string and output shape 2014-01-28 00:21:50 +11:00
Juan Nunez-Iglesias 5a12ef692d Allow multichannel images with >3 channels 2014-01-27 15:39:09 +11:00
Juan Nunez-Iglesias ecb50571b1 Return 1D array for single channel images 2014-01-27 15:36:58 +11:00
Juan Nunez-Iglesias 1170d87ba4 Update _calc_vert for simplicity 2014-01-27 15:18:06 +11:00
Juan Nunez-Iglesias a6ba745807 rename x-y to col-row to be less ambiguous 2014-01-27 11:41:28 +11:00
Juan Nunez-Iglesias 0fd19e5708 Update lineprofile plugin to use new API 2014-01-26 15:08:51 +11:00
Juan Nunez-Iglesias 7932db7832 Change profile line API to use src and dst points 2014-01-26 13:19:11 +11:00
Juan Nunez-Iglesias e24ae38814 Use the new profile_line function from measure
Note that the indices were inverted relative to previous use, which I
believe was incorrect. (See example in docstring, which works, where
it used to be inverted.)
2014-01-26 00:55:52 +11:00
Juan Nunez-Iglesias 011409f66a Add profile_line to measure package
The profile_line function is currently part of the skimage LineProfile
plugin. However, it's useful in non-interactive contexts, and importing
it from the viewer is awkward, mostly hidden, and depends on PyQt for
no good reason. By moving the function to `skimage.measure`, it is
usable in many more contexts.
2014-01-26 00:48:21 +11:00
Stefan van der Walt 867b4270f5 Merge pull request #840 from ahojnnes/estimator-params
Make estimator class parameters public
2014-01-22 16:28:49 -08:00
Johannes Schönberger 21a99a39c3 Document params attribute for each class 2014-01-22 18:46:27 -05:00
Johannes Schönberger 9905ff218f Get rid of trailing underscore for params attribute 2014-01-22 18:39:35 -05:00
Stefan van der Walt 32e3462b61 Merge pull request #824 from tonysyu/fix/hough-circle-regression
Fix hough_circle regression on windows
2014-01-21 17:17:09 -08:00
Johannes Schönberger a1f7d4eb73 Fix geometric example 2014-01-19 22:51:09 -05:00
Johannes Schönberger c96088170b Use consistent params_ attribute across all estimators 2014-01-19 09:40:55 -05:00
Johannes Schönberger fc7b770ba9 Use None as default for estimated params 2014-01-19 09:40:55 -05:00
Johannes Schönberger c089ddfd01 Fix typo 2014-01-19 09:40:55 -05:00
Johannes Schönberger 9963a25cde Remove wrong comment location 2014-01-19 09:40:55 -05:00
Johannes Schönberger 0f2076fa61 Add tests for deprecated attributes 2014-01-19 09:40:54 -05:00
Johannes Schönberger b3d62afa28 Use public attribute for parameter values 2014-01-19 09:40:54 -05:00
Johannes Schönberger c262ad2d44 Use public attribute for parameter values 2014-01-19 09:40:42 -05:00
Johannes Schönberger 25a32502e0 Merge pull request #857 from guillempalou/slic-connectivity
Enforce SLIC superpixels connectivity
2014-01-17 08:39:45 -08:00
Guillem Palou Visa 15c2989158 Added deprecation warning 2014-01-17 16:52:44 +01:00
Juan Nunez-Iglesias 66909ea689 Merge pull request #862 from tonysyu/refactor/imread_collection
Add `imread_collection` automatically if plugin provides `imread`
2014-01-15 15:49:58 -08:00
Tony S Yu e0dafcf004 Clean up test 2014-01-14 23:27:23 -06:00
Tony S Yu 25e349d416 Remove outdated function 2014-01-14 23:15:45 -06:00
Tony S Yu 07f2656975 Factor out function injection 2014-01-14 23:09:27 -06:00
Tony S Yu 19102510ce Move wrapper function 2014-01-14 23:09:27 -06:00
Tony S Yu 8a4c5ce354 Add comments about how plugins are managed. 2014-01-14 23:09:27 -06:00
Tony S Yu 0f78de46e5 Add dynamic creation of imread_collection function 2014-01-14 23:09:26 -06:00
Stefan van der Walt f518c2b30f Merge pull request #859 from radioxoma/threshold
Add ISODATA thresholding
2014-01-14 05:47:33 -08:00
Johannes Schönberger 9b2727c06d Merge pull request #831 from astrofrog/use-cythonize
Use ``cythonize`` instead of hard-coding Cython commands
2014-01-13 19:18:34 -08:00
Josh Warner faa4f571d4 Merge pull request #847 from ahojnnes/template
Fix bugs in array padding and template matching
2014-01-13 19:13:55 -08:00
radioxoma 38525fb423 Explanation by ahojnnes 2014-01-13 19:46:10 +03:00
Johannes Schönberger 71862f1b36 Merge pull request #843 from tonysyu/refactor/io
Refactor `io` package
2014-01-13 03:53:44 -08:00
Johannes Schönberger bc8c11933f Fix input test of template matching 2014-01-13 06:50:19 -05:00
Juan Nunez-Iglesias c305a8b583 Merge pull request #856 from ahojnnes/rank-sum
Improve doc strings of rank filters
2014-01-12 18:21:24 -08:00
Johannes Schönberger 0f6cb6f1f9 Add note about dtype overflow 2014-01-12 19:48:52 -05:00
Guillem Palou Visa f461d76004 Fixed minor documentation issues 2014-01-12 17:03:10 +00:00
radioxoma 0079e8de5c Adding comments 2014-01-12 18:18:50 +03:00
radioxoma cd01bad721 fix tests 2014-01-11 02:00:03 +03:00