1

I have got the pixel value of an image patch as the following shows, but how should I show them as an image patch by using python? Is there a method in the PIL library?

array([[162, 162, 161, 162, 156, 163, 160],
       [162, 162, 161, 162, 156, 163, 160],
       [162, 162, 161, 162, 156, 163, 160],
       [162, 162, 161, 162, 156, 163, 160],
       [162, 162, 161, 162, 156, 163, 160],
       [164, 157, 155, 161, 159, 158, 159],
       [160, 163, 158, 160, 161, 159, 155]])
Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343
Ryuka
  • 11
  • 1

0 Answers0