mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-05 13:21:12 +08:00
Fix warning in plot_rank_mean
This commit is contained in:
@@ -26,7 +26,7 @@ from skimage.morphology import disk
|
||||
from skimage.filters import rank
|
||||
|
||||
|
||||
image = (data.coins()).astype(np.uint16) * 16
|
||||
image = data.coins()
|
||||
selem = disk(20)
|
||||
|
||||
percentile_result = rank.mean_percentile(image, selem=selem, p0=.1, p1=.9)
|
||||
@@ -46,5 +46,4 @@ for n in range(0, len(imgs)):
|
||||
ax[n].set_adjustable('box-forced')
|
||||
ax[n].axis('off')
|
||||
|
||||
|
||||
plt.show()
|
||||
|
||||
Reference in New Issue
Block a user