Commit Graph
410 Commits
Author SHA1 Message Date
emmanuelle 6c9325aadf Minor fixes: errant indent, functools.wraps and python3 style 2015-12-28 21:13:22 +01:00
emmanuelle fab4265f47 Removed @property decorator, that made _install_properties_doc crash 2015-12-25 12:37:41 +01:00
emmanuelle add3352284 Euler number is only2d 2015-12-25 11:38:23 +01:00
Juan Nunez-Iglesiasandemmanuelle 9317b7be34 Make area a cached property; use np.sum 2015-12-24 19:02:15 +01:00
Juan Nunez-Iglesiasandemmanuelle d8cc148d8c Replace individual errors by 2D decorator 2015-12-24 19:00:43 +01:00
emmanuelle 0359284623 Modified some methods in _RegionProperties class to make them
dimension-agnostic. Removed the NotImplementedError for 3-D images in
regionprops function.
2015-12-24 18:56:49 +01:00
emmanuelle e1751f91e2 Some PEP8 in test module 2015-12-24 18:52:57 +01:00
Emmanuelle Gouillart 4509338aac Merge pull request #1777 from stevendbrown/rp_intensity_check
Added label vs. intensity shape checking to regionprops
2015-12-23 22:34:59 +01:00
emmanuelle d62524f103 Mentioned Euler characteristic (instead of Euler number) in docstring of
regionprops.
2015-12-23 16:26:23 +01:00
emmanuelle a56c6071c2 Corrected bug in the computation of the Euler characteristic. 2015-12-23 16:09:13 +01:00
Stefan van der Walt 4aa08fe353 Simplify cache 2015-12-14 00:42:29 -08:00
Stefan van der Walt bf5ba4540b Fix doc setting for Python 2.x 2015-12-14 00:42:29 -08:00
Stefan van der Walt 024dd34b19 Clean up style and PEP8 2015-12-14 00:42:29 -08:00
Stefan van der Walt 5e848f5889 Auto-generate _RegionProps property docstrings 2015-12-14 00:42:29 -08:00
Juan Nunez-Iglesias 966e0fd685 Merge pull request #1770 from stefanv/list_regionprops
Only iterate over available region properties
2015-12-09 11:21:56 +11:00
Josh Warner (Mac) 443f4cc0eb DOC: Correct docstring to correctly reflect defaults 2015-12-07 21:12:17 -07:00
Josh Warner 29725068ce Guarantee correct mesh orientation from marching cubes 2015-12-06 00:28:18 -06:00
Josh Warner 6f016c9087 Merge pull request #1771 from noahtreb/fix-correct_mesh_orientation
FIX: Fix `correct_mesh_orientation` for spacing != (1,1,1)
2015-12-05 12:22:18 -06:00
Johannes Schönberger 50f2a0b4ed Create helper function to compute norm along axis 2015-12-04 23:11:19 -05:00
Johannes Schönberger f88694e5a3 Fix LineModelND test cases 2015-12-04 23:05:59 -05:00
Kevin Keraudren 0bdf4251c6 documentation updates; added "3D" to example title 2015-12-04 22:25:13 +00:00
Kevin Keraudren 6f9a55c987 added deprecation warning for LineModel and added note in TODO.txt 2015-12-04 08:48:08 +00:00
Kevin Keraudren 61b7c20e03 cleaned tests and documentation, added deprecation note in doc for LineModel. 2015-12-03 22:16:56 +00:00
Kevin Keraudren 6a2961fdee we now have the old LineModel with params (dist, theta), and the new LineModelND with params (origin, direction). 2015-12-03 22:03:10 +00:00
Kevin Keraudren 040a53456d Merged LineModel3D with LineModel in order to form a unified model.
- model.params holds the legacy params (2D representation),
 - model.new_params holds the true ND line representation.

The proposed LineModel behaves identically as the implementation in master in the 2D case. In the 3D case, it behaves similarly to the previously proposed LineModel3D, as long as new_params is used instead of params. This implementation thus takes advantage that the 2D case is a special case of the ND general model.
2015-12-02 08:58:16 +00:00
Kevin Keraudren 5bb206233d fixed typo and added blank line 2015-12-01 15:18:57 +00:00
Kevin Keraudren c1c0d18ba1 reformatting code to wrap at 80 characters per line 2015-12-01 14:32:25 +00:00
Kevin Keraudren a606a53875 Adding LineModel3D for RANSAC, unit test and example. 2015-12-01 12:17:22 +00:00
Johannes Schönberger ba3c0c02cd Fix circular import loop 2015-11-18 09:02:02 -05:00
stevendbrown 6638c92125 fixed error language 2015-11-17 08:16:58 -08:00
Johannes Schönberger 1278b02161 Fix circular import between regionprops and convex_hull_image 2015-11-17 10:19:09 -05:00
Johannes Schönberger 1a598be98e Fix region props deprecation problem with label function 2015-11-17 10:07:29 -05:00
stevendbrown 87adb532e7 Changed to scikit-image preferred syntax 2015-11-09 18:30:27 -08:00
stevendbrown 157fef3963 Added label vs. intensity shape checking to regionprops 2015-11-09 10:50:20 -08:00
Stefan van der Walt ba68306997 Remove dict comprehension for Python 2.6 compatibility 2015-11-09 09:40:16 -08:00
Noah Trebesch 851b1be627 Fixed correct_mesh_orientation for when spacing!=(1,1,1). 2015-11-05 19:01:15 -06:00
Stefan van der Walt 52594d0bd8 Only iterate over available region properties 2015-11-05 15:41:00 -08:00
Johannes Schönberger ca5de50079 Enforce integral type for label images 2015-09-03 16:22:32 -04:00
Johannes Schönberger 236aa208fe Merge pull request #1583 from grlee77/fix_interp_modes
FIX:  bug in 'reflect' and 'wrap' coordinate mapping
2015-08-20 18:53:11 -04:00
Johannes Schönberger d4641a436a Improve documentation of moments functions 2015-08-19 14:11:39 -04:00
Gregory R. Lee 9e9c65b97c ENH: add mode 'mirror' to interpolation.pxd and dependent functions 2015-08-13 23:39:54 -04:00
Stefan van der Walt 83d5ff9001 Consistently use relative imports 2015-07-11 15:41:37 -05:00
Juan Nunez-Iglesias 0d134987f9 Harmonize all ndimage usage across the library
Only two forms remain in use:

- `from scipy import ndimage as ndi`
- `from scipy.ndimage import function`
2015-06-09 15:18:37 +10:00
Stefan van der Walt bbf3f1c97b Merge pull request #1519 from ahojnnes/nogil
Release the GIL from Cython
2015-05-21 10:59:05 -07:00
dan ff1322938e pep line width violation corrected 2015-05-21 07:58:56 +02:00
dan bcb5b34fef more formal documentation 2015-05-21 02:06:27 +02:00
dan 98c4e2366e ellipse documentation was corrected 2015-05-21 01:30:17 +02:00
Johannes Schönberger 0758fc9cd6 Do not acquire GIL for felzenswalb 2015-05-19 22:52:35 -07:00
Stefan van der Walt 07f95e400f Merge pull request #1511 from grlee77/ssim_ndim
ENH: structural_similarity: n-dimensional and multichannel support
2015-05-19 19:04:23 -07:00
Gregory R. Lee ce8e88d6e2 remove truncate argument from gaussian_filter for scipy<0.14 compatibility 2015-05-19 11:16:19 -04:00