File size: 274 Bytes
117e206
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import matplotlib.pyplot as plt
from pathlib import Path
from PIL import Image
import numpy as np


path = "/home/jbarrag3/research_juan/data/phantom2_3d_med_rec/rec01/raw/img_000000.png"


im = np.array(Image.open(path))

fig, ax = plt.subplots(1)
ax.imshow(im)
plt.show()