fix truncate threshold example display issue in py_tutorials

Signed-off-by: junxnone <junchen0102@gmail.com>
pull/18732/head
junxnone 5 years ago
parent 24d60da553
commit ad71a1633c
  1. BIN
      doc/py_tutorials/py_imgproc/py_thresholding/images/threshold.jpg
  2. 2
      doc/py_tutorials/py_imgproc/py_thresholding/py_thresholding.markdown

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 18 KiB

@ -48,7 +48,7 @@ titles = ['Original Image','BINARY','BINARY_INV','TRUNC','TOZERO','TOZERO_INV']
images = [img, thresh1, thresh2, thresh3, thresh4, thresh5]
for i in xrange(6):
plt.subplot(2,3,i+1),plt.imshow(images[i],'gray')
plt.subplot(2,3,i+1),plt.imshow(images[i],'gray',vmin=0,vmax=255)
plt.title(titles[i])
plt.xticks([]),plt.yticks([])

Loading…
Cancel
Save