Johannes Schönberger
88d84c720a
Raise warning for sigma parameter and add to TODO for next release
2013-09-16 08:48:46 +02:00
Johannes Schönberger
06e99a537a
Merge pull request #5 from jni/slic-speed-fix-dims
...
Fix image dimension sanitizing at function start
2013-09-15 23:37:25 -07:00
Juan Nunez-Iglesias
ea1566fffb
Fix image dimension sanitizing at function start
...
`np.atleast_3d` will add a singleton dimension at the end of an array
if needed. This is not the correct thing to do if `multichannel=False`
based on the subsequent lines. If the input image was 2D with shape
`(40, 50)` and `multichannel=False`, then `np.atleast_3d` gives it
shape `(40, 50, 1)`, and then, because `multichannel=False`, the rest
of the code gives it shape `(40, 50, 1, 1)`. This results in the final
returned array having shape `(40, 50, 1)` instead of the desired
`(40, 50)`.
This commit fixes that and updates the test to detect this failure.
2013-09-16 16:02:24 +10:00
Johannes Schönberger
bc2f23d1a8
Revert default value of maximum iterations
2013-09-16 07:59:57 +02:00
Johannes Schönberger
1b4a06f5aa
Merge pull request #727 from jni/fix-small
...
Fix type hierarchy check in remove_small_objects
2013-09-14 01:45:18 -07:00
Johannes Schönberger
445dd7e859
Merge pull request #630 from JDWarner/improve_noise
...
ENH: Improve random_noise with better param names & docfixes
2013-09-14 01:41:08 -07:00
Johannes Schönberger
968206ce39
Merge pull request #704 from alexis-mignon/master
...
Adding non rotation invariant uniform LBPs
2013-09-14 01:24:36 -07:00
Johannes Schönberger
42eb3e6a35
Merge pull request #686 from radioxoma/yen-threshold
...
Add Yen threshold method
2013-09-14 01:23:46 -07:00
Johannes Schönberger
05aaeef5ac
Change default value of sigma
2013-09-14 10:08:07 +02:00
Juan Nunez-Iglesias
2af5c41571
Fix type hierarchy check in remove_small_objects
2013-09-09 13:53:33 +10:00
radioxoma and radioxoma
c8c95c0e63
Fix import list sequence
2013-09-07 19:10:40 +03:00
radioxoma and radioxoma
04804cc81c
Logarithm optimisation
2013-09-07 19:10:40 +03:00
radioxoma and radioxoma
9e74f4eb70
Added Yen tests, typo fixed
2013-09-07 19:10:40 +03:00
radioxoma and radioxoma
8beb2ae605
Yen PEP8 and docstrings
2013-09-07 19:10:40 +03:00
radioxoma and radioxoma
e41887c66d
Codestyle improvement
2013-09-07 19:10:40 +03:00
radioxoma and radioxoma
a315ae718d
Add Yen threshold method
2013-09-07 18:48:46 +03:00
Josh Warner (Mac)
6f5f6a0a7a
DOC: Further improvements to naming conventions.
2013-09-07 00:39:04 -05:00
Juan Nunez-Iglesias
34b1b7b414
Fix errors in relabel_from_one docs; PEP8
2013-09-07 00:51:21 +10:00
Johannes Schönberger
22ca0ae457
Fix indentation
2013-09-03 20:31:24 +02:00
Emmanuelle Gouillart
8ed56abb42
Merge pull request #469 from JDWarner/add_marching_cubes
...
3D Marching Cubes
2013-09-03 04:55:29 -07:00
Johannes Schönberger
8137c41e22
Add optional description to parameters
2013-09-03 10:48:53 +02:00
Johannes Schönberger
770e28d2bb
Rename clusters to segments
2013-09-03 10:47:49 +02:00
Johannes Schönberger
d9e64b43e6
Make image C-contiguous
2013-09-03 08:40:18 +02:00
Josh Warner (Mac)
d2bc02c10b
Credit myself for Marching Cubes
2013-09-02 20:23:00 -05:00
Josh Warner (Mac)
abc7a16a80
STYLE: Use np.array instead of np.r_ and import Poly3DCollection
2013-09-02 15:31:51 -05:00
Johannes Schönberger
b5806d18ba
Merge pull request #722 from stefanv/shape_step
...
Add skip parameter to `view_as_windows`.
2013-09-02 00:10:32 -07:00
Josh Warner (Mac)
1174d6fbc5
FIX: Errors in unit tests
2013-09-01 22:05:39 -05:00
Josh Warner (Mac)
cd306bad57
FIX: Add _marching_cubes_cy.pyx to bento.info
2013-09-01 21:53:01 -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)
c678fa55f4
DOC: Add concise marching cubes example to gallery using Matplotlib
2013-09-01 20:52:06 -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
Stefan van der Walt
a401cb8d9d
Merge pull request #721 from ahojnnes/travis
...
Remove unnecessary mirror option.
2013-09-01 07:45:05 -07:00
Johannes Schönberger
74b932e1be
Remove unnecessary mirror option
2013-09-01 16:03:14 +02:00
Johannes Schönberger
586a7c9087
Merge pull request #720 from michaelaye/patch-1
...
removing some unused selem declarations
2013-08-31 23:31:45 -07:00
K.-Michael Aye
1bcc2b418a
removing some unused selem declarations
2013-08-31 22:48:49 -07: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