Merge pull request #18732 from junxnone:master

pull/18746/head
Alexander Alekhin 4 years ago
commit 127a44f2b9
  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