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]])