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
Josh Warner (Mac)
19b8831a0d
FIX: incorrect name for unpack_unique_verts, revert axis ordering
2013-08-30 12:36:31 -05:00
Josh Warner (Mac)
fcd20e5660
FIX: use memoryviews, docfix, and change tri_list to face_list
2013-08-30 12:36:31 -05:00
Josh Warner (Mac)
164b416bd9
FIX: volume now directly cast, docfixes, C-contiguous ordering
2013-08-30 12:36:31 -05:00
Josh Warner (Mac)
f8cc4799da
FIX: dimension ordering now correct (x, y, z)
2013-08-30 12:36:31 -05:00
Josh Warner (Mac)
165de870d0
fix error in triangulation of case 120
2013-08-30 12:36:31 -05:00
JDWarner
296d102047
fix: symmetric ambiguous dual-plane cases require special treatment
2013-08-30 12:36:31 -05:00
JDWarner
44c04996c7
move unpack_unique_verts to Cython for speed
2013-08-30 12:36:31 -05:00
Josh Warner (Mac)
d2e51aa035
fix import error from _marching_cubes_cy
2013-08-30 12:36:31 -05:00
Josh Warner (Mac)
9a86aba226
rename files to conform with naming conventions
2013-08-30 12:36:31 -05:00
Josh Warner (Mac)
9779cd5e4a
fix: bug in second _append_tris call in case 125
2013-08-30 12:36:31 -05:00
Josh Warner (Mac)
5b990a0856
fix import of _marching_cubes
2013-08-30 12:36:31 -05:00
Josh Warner (Mac)
855031ad47
add _marching_cubes.pyx to list of Cython modules to build
2013-08-30 12:36:30 -05:00
Josh Warner (Mac)
84618af7c7
import marching_cubes and mesh_surface_area
2013-08-30 12:36:30 -05:00
Josh Warner (Mac)
5eba5a42a7
FEAT: Full 3d anisotropic implementation of marching cubes
...
Also includes surface area calculation algorithm from
generated mesh.
Convenient output to visualize with `mayavi.mlab`.
Efficient Cython implementation.
2013-08-30 12:34:55 -05:00
Johannes Schönberger
8524203f13
Use typed memoryviews in measure package
2013-08-19 18:42:08 +02:00
Johannes Schönberger
cc91324625
Fix PEP8 issues and typos
2013-08-17 21:44:07 +02:00
Johannes Schönberger
ce924c7279
Add test cases for moments functions
2013-08-17 18:04:35 +02:00
Johannes Schönberger
c4caf8b7b8
Sort functions in alphabetical order
2013-08-17 18:04:07 +02:00
Johannes Schönberger
13957123b7
Make moments functions public, rename, add tests
2013-08-17 18:00:53 +02:00
Johannes Schönberger
752e395835
Improve moments code and use typed memoryviews
2013-08-17 15:51:15 +02:00
Johannes Schönberger
f019ed1fed
Fix missing label property description and backwards compatibility
2013-08-13 15:08:50 +02:00
Johannes Schönberger
4f8d4ce3f2
Hide cached_property and caching flag
2013-08-07 20:06:33 +02:00
Johannes Schönberger
fea0c3f56c
Improve fromatting of regionprops doc string
2013-08-07 20:04:19 +02:00
Johannes Schönberger
92e70547fa
Use asbolute import for Cython lib
2013-08-06 14:39:38 +02:00