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
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
Johannes Schönberger
9963a25cde
Remove wrong comment location
2014-01-19 09:40:55 -05:00
Johannes Schönberger
c262ad2d44
Use public attribute for parameter values
2014-01-19 09:40:42 -05:00
Jaidev Deshpande
fe94914874
Fix typo in docstring
2014-01-06 12:47:47 +05:30
Johannes Schönberger
4d6308c810
Fix error in line model test
2013-11-22 13:28:53 +01:00
Johannes Schönberger
6e6505ecb6
Increase test coverage of regionprops
2013-11-22 12:16:44 +01:00
Johannes Schönberger
2e8a36a283
Rename test to enable hidden line model test
2013-11-22 12:11:47 +01:00
Johannes Schönberger
2bc4cf6074
Skip failing ransac doctest
2013-11-18 12:42:19 +01:00
Johannes Schönberger
ffc28d1224
Enable doc tests of ransac function
2013-11-15 13:42:57 +01:00
Johannes Schönberger
e282b3e9b3
Revert ellipsis to skip directive
2013-11-04 08:21:03 +01:00
Johannes Schönberger
bb1f7df444
Improve usage of doctest directives
2013-11-04 08:04:14 +01:00
Johannes Schönberger
863e89ba41
Fix data type issue in python 3
2013-11-04 00:31:07 +01:00
Johannes Schönberger
ad0347d929
Fix regionprops doctest
2013-11-03 23:48:13 +01:00
Johannes Schönberger
099b428da2
Fix marching_cubes doctest
2013-11-03 23:47:24 +01:00
Johannes Schönberger
f038a959ee
Skip ransac doctests
2013-11-03 18:26:47 +01:00
Johannes Schönberger
e92f4151cb
Fix duplicate find_contours names in namespace
2013-11-03 17:59:56 +01:00
Johannes Schönberger
45eae57b4c
Use NORMALIZE_WHITESPACE directive for block_reduce doctest
2013-11-03 09:49:48 +01:00
Johannes Schönberger
41d12463fd
Fix RANSAC doctest
2013-11-03 09:45:33 +01:00
Johannes Schönberger
c7378614d9
Fix block_reduce doctest
2013-11-03 09:40:39 +01:00
Jostein Bø Fløystad
eff276c99b
Bug: Fix label sequence in regionprops.
...
Closes gh-806.
2013-10-29 11:58:59 +01:00
Stefan van der Walt
f5f8a2c289
Fix markup error in marching cubes docs.
2013-10-19 16:08:42 +02:00
Stefan van der Walt
94cad284ce
Fix Python 3 list handling.
2013-10-17 13:43:18 +02:00
Stefan van der Walt
14687d0510
Dictionary interface to preserve backward compatibility for RegionProps.
2013-10-17 13:07:41 +02:00
Josh Warner
783e120e75
Merge pull request #788 from ahojnnes/patch-1
...
Weighted central moments
2013-10-15 10:45:50 -07:00
Johannes Schönberger
6711bfb3c8
Rename weighted central moments property
2013-10-15 15:12:00 +02:00
cgohlke
e75126a4d8
TST: Fix RuntimeError: data type not supported on Python 2.6
...
On Python >=2.7, C extensions that use integer format codes with the PyArg_Parse* family of functions will raise a TypeError exception instead of triggering a DeprecationWarning (Python 2.6). The RuntimeError is raised by ndimage for unsupported array data types.
2013-10-15 00:42:40 -07:00
cgohlke
f5337e3616
TST: Fix AttributeError: '_RegionProperties' object has no attribute 'weighted_moments_central'
2013-10-14 23:49:53 -07:00
cgohlke
4b02e31dfb
TST: Fix test_weighted_moments is defined twice
2013-10-14 23:36:16 -07:00
François Boulogne
ca6ecf08e6
DOCTEST: fix
2013-10-14 16:28:53 +02:00
Josh Warner (Mac)
a229d19eb0
DOC: Change sampling to spacing in skimage.draw.ellipsoid and tests
2013-10-13 13:11:11 -05:00
Josh Warner (Mac)
1de6d93850
DOC: Change sampling kwarg name to spacing in marching_cubes
...
The preference is to follow VTK's convention for anisotropic
rectangularly sampled data, using the keyword `spacing` rather
than `sampling`. This change converts the last remaining use of
`sampling` in scikit-image to `spacing`.
2013-10-13 13:00:40 -05:00
Johannes Schönberger
4e9cb03aeb
Add missing perimeter function to __all__
2013-10-11 17:37:26 +02:00
Johannes Schönberger
f10c362b1a
Fix euler number bug for scipy-0.13
2013-10-11 17:34:47 +02:00
François Boulogne
8f20fff3f8
PEP8: fix indentation
2013-10-02 18:14:21 +02:00
Johannes Schönberger
78a849cc37
Fix dtype bug in perimeter
2013-10-02 14:16:24 +02:00
Johannes Schönberger
d7824000fe
Raise error for non 2-D images
2013-10-02 14:14:29 +02:00
Johannes Schönberger
c1ea012c9b
Add support for unsigned integer label images
2013-10-02 14:05:30 +02:00
Johannes Schönberger
99fb8b992e
Some improvements for perimeter
2013-10-02 13:55:52 +02:00
Luis Pedro Coelho
ff0b315110
RFCT Simpler code for initializing array
...
Also, replaced skimage.measures.histogram by np.bincount.
Both changes were suggested in the pull request discussion by Juan
Nunez-Iglesias (jni):
https://github.com/scikit-image/scikit-image/pull/746
2013-10-01 15:19:42 +02:00
Luis Pedro Coelho
f81fbf5b25
ENH Faster perimeter computation
...
Measured a 30% speedup on a 640x640 image. Fundamentally, this makes
fewer passes over the image; so it should never be worse that the
previous implementation.
2013-10-01 13:07:17 +02:00
Josh Warner (Mac)
1174d6fbc5
FIX: Errors in unit tests
2013-09-01 22:05:39 -05:00
Josh Warner (Mac)
14a0685838
MAINT: Refactor ellipsoid generator into skimage.draw
2013-09-01 20:51:20 -05:00
Josh Warner (Mac)
d0d9fee36e
DOC: Minor documentation formatting fixes in marching cubes
2013-09-01 20:49:58 -05:00
Josh Warner (Mac)
997339beae
FEAT: add tests for marching cubes and mesh surface area
2013-08-30 12:36:32 -05:00
Josh Warner (Mac)
b6f25906d6
DOCFIX: clarify docstrings and output vertex dimension ordering
2013-08-30 12:36:31 -05:00