TypeError: Image data can not convert to float

前端 未结 12 722
醉话见心
醉话见心 2020-12-17 07:45

I am trying to create a 16-bit image like so:

import skimage 
import random
from random import randint                        
xrow=raw_input("Enter the          


        
12条回答
  •  南方客
    南方客 (楼主)
    2020-12-17 08:27

    Try to use this,

       plt.imshow(numpy.real(A))
       plt.show()
    

    instead of plt.imshow(A)

提交回复
热议问题