Commit Graph

16 Commits

Author SHA1 Message Date
blink1073 c2fd471c55 Fix aliasing and update docstring 2014-02-04 21:59:39 -06:00
blink1073 2893fbae0e Refactor perp_lines behavior 2014-02-02 21:52:50 -06:00
Juan Nunez-Iglesias 01967e5060 Update docstring according to @stefanv's comments 2014-01-30 12:15:36 +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 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 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 7932db7832 Change profile line API to use src and dst points 2014-01-26 13:19:11 +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