Commit Graph

3708 Commits

Author SHA1 Message Date
Johannes Schönberger d9e64b43e6 Make image C-contiguous 2013-09-03 08:40:18 +02:00
Josh Warner (Mac) abc7a16a80 STYLE: Use np.array instead of np.r_ and import Poly3DCollection 2013-09-02 15:31:51 -05:00
Josh Warner (Mac) 1174d6fbc5 FIX: Errors in unit tests 2013-09-01 22:05:39 -05:00
Josh Warner (Mac) 50d73fdd62 TEST: Add test suite for draw3d (ellipsoid/ellipsoid_stats) 2013-09-01 21:31:53 -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
Stefan van der Walt b0d3b92e74 Add skip parameter to view_as_windows. 2013-09-01 23:50:54 +02:00
Johannes Schönberger 80ed875147 Add missing rgb2lab import 2013-09-01 17:12:10 +02:00
Johannes Schönberger a6d1b10e25 Use absolute imports 2013-09-01 16:53:05 +02:00
Johannes Schönberger eeddd9e35f Revert multichannel magic and improve parameter docs 2013-09-01 16:46:01 +02:00
Johannes Schönberger e5eea8e135 Improve documentation of sigma 2013-09-01 16:46:01 +02:00
Johannes Schönberger f5cfbcfe97 Reorder variable declarations 2013-09-01 16:46:01 +02:00
Johannes Schönberger bd388383a0 Fix bug in window extent determination 2013-09-01 16:46:01 +02:00
Johannes Schönberger bc7efb01e4 Fix dtype bug 2013-09-01 16:46:01 +02:00
Johannes Schönberger 84579a6c2c Remove legacy comment 2013-09-01 16:46:01 +02:00
Johannes Schönberger 471b293a9e Remove unnecessary parameters and update doc string 2013-09-01 16:46:00 +02:00
Johannes Schönberger 6b5556b279 Reduce memory footprint 2013-09-01 16:46:00 +02:00
Johannes Schönberger fd729a4e30 Improve SLIC 2013-09-01 16:46:00 +02: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
Juan Nunez-Iglesias 55e42309b8 Merge pull request #712 from emmanuelle/gaussian_filter
Add a wrapper around `scipy.ndimage.gaussian_filter` with useful default behaviors.
2013-08-30 10:27:41 -07:00
Emmanuelle Gouillart 9795d3fad4 Gaussian filter function: changed the default value of multichannel
Now we try to guess automatically whether the image is grayscale or RGB
2013-08-29 23:14:30 +02:00
Alexis Mignon f4a097713c Changed link to the reference [2] 2013-08-25 17:13:25 +02:00
Emmanuelle Gouillart b4242ca3fb [BUG] iterable sigma and multichannel
+ docstring improvement
2013-08-25 16:41:37 +02:00
Alexis Mignon 515335e917 Corrected name in reference [2] 2013-08-25 15:05:35 +02:00
Emmanuelle Gouillart 15b4a4d979 DOC: corrected description of multichannel parameter 2013-08-25 15:04:22 +02:00
Alexis Mignon 7b022c8b5f Finalized changes. Added reference for non rotation-invariant uniform patterns. Added test case. Modified comments to clarify the process, and changed the code to make it more consistent with explanations and actuall encoding 2013-08-25 14:56:13 +02:00
Emmanuelle Gouillart 082586c10c Added a wrapper around ndimage's Gaussian filter
This version of the Gaussian filter

 * uses 'nearest' as the default boundary mode. This can be discussed,
   but I had the impression that for images this is the most relevant
   mode ('extending' boundaries)

 * has a `multichannel` keyword, so that each color channel can be
   filtered separately. For now no attempt is made at guessing whether
   the image has color channels or not.
2013-08-25 14:50:55 +02:00
Emmanuelle Gouillart 1a4ea5c970 Merge pull request #710 from jni/pyamg-depends
Add pyamg to the optional dependencies
2013-08-25 04:56:41 -07:00
Emmanuelle Gouillart 4d80670925 Merge pull request #672 from jni/chull-fix
Convex hull fix
2013-08-25 04:48:20 -07:00
Juan Nunez-Iglesias 13e83be692 Update PyAMG URL (no longer in Google Code) 2013-08-25 12:44:19 +02:00
Juan Nunez-Iglesias 072eb7640a Add docstring note explaining coord use case 2013-08-25 11:06:31 +02:00
Juan Nunez-Iglesias cb28bba6ee Add note describing array copy if discontiguous 2013-08-25 11:04:50 +02:00
Alexis Mignon eae691cf21 Corrected duplicate variable declarations, variable name change from 'var_index' to 'rot_index' and corrected minor bugs 2013-08-22 15:24:49 +02:00
Alexis Mignon 22873b803f Added non rotation invariant local binary patterns 2013-08-22 15:05:22 +02:00
Stefan van der Walt 7df2ef1e85 Add tests for image tags. 2013-08-21 17:50:21 +02:00