Commit Graph

2486 Commits

Author SHA1 Message Date
Josh Warner (Mac) c2e4442eaf ENH: More concise next-power-of-2 calculation 2013-10-11 10:51:07 -05:00
Josh Warner (Mac) de42ba831a FIX: Fix and improve Poisson random noise generator
The Poissson generator now works.

The improved Poisson generator now infers the bit depth of the image
after conversion to a floating point image, by analyzing the unique
values present and finding the next power of two. This value is then
used to scale the floating point image up, after which Poisson
noise is generated, and then image is then scaled back down.
2013-10-11 01:53:15 -05:00
Johannes Schönberger edfa25f4a0 Merge pull request #709 from sciunto/wu
Wu's anti-aliased circle + aa line + bezier curve + unittest
2013-10-06 09:08:42 -07:00
Juan Nunez-Iglesias a9afb241cc Rename deprecated relabel_from_one in docstring example 2013-10-03 16:23:30 +10:00
Juan Nunez-Iglesias a8488bfecd Remove deprecated use of relabel_from_one 2013-10-03 16:14:30 +10:00
Juan Nunez-Iglesias bfab493133 Add new tests for relabel_sequential 2013-10-03 16:11:52 +10:00
Juan Nunez-Iglesias 37f66f769b Add relabel_sequential to __init__ import 2013-10-03 16:09:27 +10:00
Juan Nunez-Iglesias 1843829917 Add relabel_sequential, deprecate relabel_from_one 2013-10-03 16:08:29 +10:00
François Boulogne a1373269e6 DOC: fix indent 2013-10-02 18:28:14 +02:00
François Boulogne 4a7d2e8429 PEP8 2013-10-02 18:14:21 +02:00
François Boulogne 8f20fff3f8 PEP8: fix indentation 2013-10-02 18:14:21 +02:00
François Boulogne 90db96f3eb DOC: add missing import 2013-10-02 18:14:21 +02:00
François Boulogne 628d484942 DOC: no import numpy in doc 2013-10-02 18:14:21 +02:00
François Boulogne 2e2a82ab30 MAINT: matplotlib is in requierements.txt 2013-10-02 18:14:20 +02:00
François Boulogne 741d6fda95 PEP8: comparison 2013-10-02 18:14:20 +02:00
François Boulogne bac7ede8b2 PEP8 2013-10-02 18:12:01 +02:00
Johannes Schönberger 2459ca14a0 Fix deprecated function name in example 2013-10-02 17:57:20 +02:00
Johannes Schönberger ee24f1c2c5 Improve example of warp function to show all available options 2013-10-02 17:45:05 +02:00
Johannes Schönberger 40f5e78353 Add support for matrix as inverse_map 2013-10-02 17:33:17 +02:00
François Boulogne 055e820e72 MINOR: some comments 2013-10-02 17:25:17 +02:00
François Boulogne 7299753602 FIX: broken test (thanks unittest!) 2013-10-02 17:25:17 +02:00
François Boulogne 296f8dad20 MINOR: doctrings + various improvements 2013-10-02 17:25:17 +02:00
François Boulogne 1548364b65 ADD: bezier_curve 2013-10-02 17:25:16 +02:00
François Boulogne 5c423475e6 PEP8 2013-10-02 17:25:16 +02:00
François Boulogne 718989edc5 FIX: division for value 2013-10-02 17:25:16 +02:00
François Boulogne d998166ede MAINT: val in [0,1] 2013-10-02 17:25:15 +02:00
François Boulogne a4f1704d6e MAINT: bezier_segment is private 2013-10-02 17:25:15 +02:00
François Boulogne 90335efdda Implement line_aa 2013-10-02 17:25:15 +02:00
François Boulogne bf31517843 DOC: remove wu in methods 2013-10-02 17:24:22 +02:00
François Boulogne 2606494828 MAINT: put AA method in draw.*_aa 2013-10-02 17:24:22 +02:00
François Boulogne dcf02235a4 DOC: fix refs 2013-10-02 17:23:37 +02:00
François Boulogne 62240c1f11 TEST: fix unittest 2013-10-02 17:23:37 +02:00
François Boulogne 62dbd7b9b9 TEST: fix returned tuple 2013-10-02 17:23:37 +02:00
François Boulogne 4c14e86952 DOC: update return according to wu's method 2013-10-02 17:23:37 +02:00
François Boulogne 36e23b106f TEST: add unittest and check with travis 2013-10-02 17:23:37 +02:00
François Boulogne ed8521175b import Fedor's contribution 2013-10-02 17:23:37 +02:00
Johannes Schönberger 9741bfda15 Add note about internal usage of transformation matrix 2013-10-02 17:17:03 +02:00
Johannes Schönberger beeb597ddf Only clip for ndimage.map_coordinates case 2013-10-02 17:10:46 +02:00
Johannes Schönberger 3e3a52331d Misc doc string fixes 2013-10-02 17:07:23 +02:00
Johannes Schönberger c3d40447f8 Remove call to deprecated is_gray function 2013-10-02 16:58:32 +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
Tony S Yu 4ab166bba4 Merge pull request #726 from jni/fix-relabel-doc
Fix errors in relabel_from_one docs; PEP8
2013-09-29 16:03:56 -07:00
Johannes Schönberger c01e7c9b10 Fix various doc strings using the warp function 2013-09-28 14:39:40 +02:00
Johannes Schönberger a17a1395c3 Fix doc string of warp functions 2013-09-28 14:25:45 +02:00
Juan Nunez-Iglesias 610b22b4a9 Merge pull request #719 from ahojnnes/slic
This PR:
 - speeds up SLIC while reducing memory usage,
 - closes #717,
 - adds support for a voxel spacing argument for anisotropic images,
 - removes default gaussian blurring,
 - removes "magic" guessing whether input was multichannel.
2013-09-27 04:46:59 -07:00