Repository navigation
Use skimage gaussian filter to avoid integer rounding artifacts - #2983
Conversation
|
@scikit-image/core can anyone else review this? |
|
I'm fine with the change and ready to merge; except that Travis is failing on something unrelated with the PR (opening an image over http). I'll first try to restart Travis. |
|
Hmmm the 3.4 Travis failure might be related, since it's a canny error, albeit in the viewer. @stefanv could you investigate before we merge? |
|
@jni well spotted |
|
Fixed, but I had to adjust the test; I presume this is because the canny edge detector is now calculated on a more accurate floating point image, but I have no explicitly checked by hand. |
|
Looks good. @emmanuelle? =) Travis failures appear unrelated. (One is the new warning from SciPy 1.1) |
b8ed130 to
a95bfc8
Compare
Codecov Report
@@ Coverage Diff @@
## master #2983 +/- ##
==========================================
+ Coverage 85.91% 85.95% +0.03%
==========================================
Files 336 338 +2
Lines 27316 27399 +83
==========================================
+ Hits 23469 23551 +82
- Misses 3847 3848 +1
Continue to review full report at Codecov.
|
scipy.ndimage.gaussian_filter tries to preserve dtypes, which leads to the output of operations on integer input being less accurate than it should be.
a95bfc8 to
7908c7e
Compare
|
Added documentation to notify users of change. |
|
Looks good, merging. |
scipy.ndimage.gaussian_filter tries to preserve dtypes, which leads to
the output of operations on integer input being less accurate than it
should be.