Johannes Schönberger
4b0cf8d27a
Merge pull request #772 from JDWarner/fix_poisson_noise
...
FIX: Fix and improve Poisson random noise generator
2013-10-13 10:48:03 -07:00
Josh Warner (Mac)
1c5dc10f4d
FEAT: Add 'localvar' mode to random_noise
2013-10-13 12:21:29 -05:00
Stefan van der Walt
44013922fb
Merge pull request #749 from ahojnnes/gsoc-experimental
...
Hide experimental GSoC functions for 0.9 release
2013-10-12 10:16:21 -07:00
Stefan van der Walt
2c7bf856f5
Merge pull request #756 from ahojnnes/morph
...
Fix binary erosion and dilation for NumPy 1.8
2013-10-12 09:51:46 -07:00
Josh Warner (Mac)
f20aa5e661
FIX: Better handling of skimage.data.camera for Python3 compatibility
2013-10-12 09:32:46 -05:00
Johannes Schönberger and François Boulogne
6c67738808
Miscellaneous fixes and improvements
2013-10-12 14:13:10 +02:00
Johannes Schönberger and François Boulogne
e68ba0db01
Use libc.math.atan2
2013-10-12 14:09:52 +02:00
François Boulogne
4f58c076d4
FIX: import M_PI
2013-10-12 14:09:52 +02:00
François Boulogne
003dbe419d
MINOR: add missing type
2013-10-12 14:09:52 +02:00
François Boulogne
1236e97ff3
MAINT: np.pi -> M_PI
2013-10-12 14:09:52 +02:00
François Boulogne
df2ee4d636
remove heapq
2013-10-12 14:09:52 +02:00
François Boulogne
e27b798ffa
FIX: handle correctly main axis def
2013-10-12 14:09:51 +02:00
François Boulogne
1a9d5bb4ca
TEST: revert precision
2013-10-12 14:09:51 +02:00
François Boulogne
594a228a06
TEST: fix bad subs
2013-10-12 14:09:51 +02:00
François Boulogne
742699c570
TEST: fix precision
2013-10-12 14:09:51 +02:00
François Boulogne
debd4d54d6
ENH: use heapq to select the best match
2013-10-12 14:09:51 +02:00
François Boulogne
7e970b18cd
MAINT change HT return API
2013-10-12 14:09:51 +02:00
François Boulogne
7a1b1c28de
FIX: fix angle convention
2013-10-12 14:09:51 +02:00
François Boulogne
e9f3bd66ac
TEST: fix mistake
2013-10-12 14:09:51 +02:00
Juan Nunez-Iglesias
78410e059c
Merge pull request #769 from tonysyu/consistent-color-labels
...
Add support for consistent color labels for sparse labels.
Fix: input label array was being modified if it contained negative labels.
2013-10-11 17:44:01 -07:00
Josh Warner (Mac)
9f7a2f4fbc
ENH: Tighten tests, all noise types now support signed I/O
2013-10-11 16:53:16 -05:00
Josh Warner (Mac)
f435afebd5
ENH: Add optional clip kwarg, docs, & handling of signed inputs.
2013-10-11 16:39:22 -05:00
Johannes Schönberger
f8d34e8bf9
Deprecate out parameter
2013-10-11 19:05:18 +02:00
Johannes Schönberger
b187144a5f
Add support older numpy versions
2013-10-11 19:04:42 +02:00
Johannes Schönberger
2a84e45389
Remove unused import
2013-10-11 19:04:42 +02:00
Johannes Schönberger
ecf10a7a48
Reduce number of specializations
2013-10-11 19:04:42 +02:00
Johannes Schönberger
95a5a98c93
Fix overflow error
2013-10-11 19:04:42 +02:00
Johannes Schönberger
895b025a3a
Split grey and binary erosion tests in two files
2013-10-11 19:04:41 +02:00
Johannes Schönberger
6a8889d0b0
Fix numpy 1.8 bug
2013-10-11 19:04:41 +02:00
Stefan van der Walt
dca255648f
Merge pull request #759 from jni/supress-umf
...
Suppress error message during failed UmfpackContext import.
2013-10-11 09:57:30 -07:00
Stefan van der Walt
3328a6efce
Merge pull request #773 from ahojnnes/scipy-0.13rc
...
Euler number bug in Scipy-0.13rc1
2013-10-11 09:47:30 -07:00
Stefan van der Walt
a9995b6a70
Test whether labels are left alone in label2rgb.
2013-10-11 18:44:30 +02:00
Josh Warner (Mac)
c2e4442eaf
ENH: More concise next-power-of-2 calculation
2013-10-11 10:51:07 -05:00
Johannes Schönberger
394d904e17
Merge pull request #768 from cgohlke/patch-2
...
TST: use BytesIO to save images into file-like object
2013-10-11 08:39:23 -07: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
Josh Warner
5c73432101
Merge pull request #770 from cgohlke/patch-3
...
BUG: Fix ValueError: Buffer dtype mismatch, expected 'long' but got...
2013-10-11 00:13:53 -07:00
Johannes Schönberger
3546b55b69
Merge pull request #771 from cgohlke/patch-4
...
TST: Fix ValueError: Buffer dtype mismatch, expected 'intp_t' but got...
2013-10-11 00:06:06 -07: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
cgohlke
4d46bc0912
TST: Fix ValueError: Buffer dtype mismatch, expected 'intp_t' but got 'long'
2013-10-10 21:51:56 -07:00
cgohlke
458556723d
BUG: Fix ValueError: Buffer dtype mismatch, expected 'long' but got 'long long'
...
on win-amd64
2013-10-10 21:48:29 -07:00
Tony S Yu
c519f60285
Add support for consistent color labels for sparse labels.
2013-10-10 23:26:02 -05:00
cgohlke
be3be537e6
TST: use BytesIO to save images into file-like object
...
StringIO does not work on Python 3
2013-10-10 21:22:40 -07:00
cgohlke
ea357a4464
BUG: basestring not defined on PY3
2013-10-10 21:16:14 -07:00
Juan Nunez-Iglesias
cede721624
Merge pull request #761 from kemaleren/optimized_colorlabel
...
color.label2rgb() is much faster.
2013-10-09 00:22:50 -07:00
Kemal Eren
4db1e1b83c
handle case when there are no labels
2013-10-07 23:17:52 -07:00
Kemal Eren
794176b7c4
fixed error in label2rgb() when label is a binary array
2013-10-07 20:53:48 -07:00
Juan Nunez-Iglesias
bfaf89e2f3
Deprecate default mode 'bf' in random_walker
2013-10-08 13:23:50 +11:00
Kemal Eren
bdafd1e3d6
ENH: optimized label2rgb()
2013-10-07 16:47:01 -07:00
Juan Nunez-Iglesias
fb86bac350
Add comment and links explaining Umfpack import
2013-10-07 13:33:17 +11:00