Juan Nunez-Iglesias
6d7c8239cd
Merge pull request #846 from stefanv/coverage-oneversiononly
...
Only run coverage for Python 3.
This should make Coveralls output more sane.
2014-02-13 09:40:04 +11:00
Tony S Yu
750911fc98
Merge pull request #881 from blink1073/fix-labelpainter-609
...
Fix: Viewer: LabelPainter overlay does not update with new loaded image #609
2014-02-12 08:35:28 -06:00
Stefan van der Walt
ddf06f1fcb
Travis-ci doesn't like 'if-else'?
2014-02-12 14:25:46 +02:00
Stefan van der Walt
4c80d31e1d
Exit with status zero under Python 2
2014-02-12 13:38:09 +02:00
Stefan van der Walt
7a77c12393
Only run coverage for Python 3.
2014-02-12 13:38:09 +02:00
Juan Nunez-Iglesias
68ab593f94
Merge pull request #886 from stefanv/bug/pil-fromstring_to_bytes
...
Use frombytes instead of fromstring on PIL images
2014-02-12 22:29:31 +11:00
Stefan van der Walt
b71008a135
Fix Image.frombytes for older version of Python/PIL
2014-02-12 12:59:51 +02:00
Stefan van der Walt
c930133982
Use frombytes instead of fromstring on PIL images, since the latter is now deprecated
2014-02-12 12:17:26 +02:00
Juan Nunez-Iglesias
15a3306337
Merge pull request #875 from blink1073/lineprofile-overlay
...
Add Shaded Polygon to LineProfile Plugin Output
Closes #865
2014-02-12 19:25:24 +11:00
blink1073
c70040c236
Add a shape property that gracefully accomodates a new image size
2014-02-08 22:12:38 -06:00
blink1073
85537e3f85
Update the paint tool shape with the viewer image changes
2014-02-08 22:12:01 -06:00
blink1073
df4746d4f9
Update test to use floating point images and with updated values
2014-02-08 12:24:32 -06:00
blink1073
864a189721
Use division consistently between PY2 and PY3
2014-02-08 12:24:06 -06:00
blink1073
8a261242c1
Update test now that aliasing has been removed
2014-02-04 22:04:37 -06:00
blink1073
c2fd471c55
Fix aliasing and update docstring
2014-02-04 21:59:39 -06:00
blink1073
07f64b443a
Add test for LineProfiler tool
2014-02-02 22:22:04 -06:00
blink1073
2893fbae0e
Refactor perp_lines behavior
2014-02-02 21:52:50 -06:00
blink1073
a1127d4601
Add shaded polygon to lineprofile output
2014-02-02 17:40:52 -06:00
Juan Nunez-Iglesias
b45e8c935f
Merge pull request #873 from jmetz/convex_hull_image_qhull_precision_fix
...
QH6228 Bug fix - remove offset from coords
Fixes issue #871 .
2014-02-02 05:05:58 -08:00
Jeremy Metz
ef779d1588
Fixed PEP8 spaces
2014-02-02 12:40:37 +00:00
Jeremy Metz
0136fd5915
Removed trailing whitespaces
2014-02-01 20:30:39 +00:00
Jeremy Metz
920c3efb83
Added new convex_hull_image qhull test
2014-02-01 16:17:53 +00:00
Jeremy Metz
add4b51db7
QH6228 Bug fix - remove offset from coords
2014-01-31 13:46:28 +00:00
Stefan van der Walt
73bf701b5c
Merge pull request #865 from jni/profile-line
...
Move `profile_line()` out of viewer and refactor
2014-01-30 11:39:42 -08:00
Juan Nunez-Iglesias
01967e5060
Update docstring according to @stefanv's comments
2014-01-30 12:15:36 +11:00
Johannes Schönberger
305ef0dde0
Merge pull request #870 from stefanv/bugs/windows-round
...
Replace Cython's round with a VC2010 compatible version
2014-01-29 15:55:52 -08:00
Stefan van der Walt
5d9115a8b7
Replace Cython's round with a VC2010 compatible version
2014-01-29 23:38:16 +01:00
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
e1d2dcdf58
Merge pull request #864 from romaniukm/slico-rebase
...
Add SLIC-zero capabilities to SLIC segmentation.
2014-01-26 19:53:38 -08:00
Juan Nunez-Iglesias
a6ba745807
rename x-y to col-row to be less ambiguous
2014-01-27 11:41:28 +11:00
Michal Romaniuk
ee3ca829c6
Added a test for slic_zero and some other changes based on feedback from Github.
2014-01-26 18:01:59 +00: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
31d7eafea1
Merge pull request #834 from ahojnnes/orb
...
Finalize API for BRIEF, ORB and CENSURE features
2014-01-23 00:09:46 -08:00
Johannes Schönberger
b80b9f1056
Fix ORB example script
2014-01-22 23:12:10 -05:00
Johannes Schönberger
56966984fa
Fix match tests
2014-01-22 21:37:54 -05:00