Skip to content
Snippets Groups Projects
Commit 800723bf authored by Nassim Bouteldja's avatar Nassim Bouteldja
Browse files

Update utils.py

parent 583b0c3f
No related branches found
No related tags found
No related merge requests found
...@@ -311,7 +311,7 @@ def overlayVisualization(img, lbl, imgStr, lblStr): ...@@ -311,7 +311,7 @@ def overlayVisualization(img, lbl, imgStr, lblStr):
lblMasked = np.ma.masked_where(lbl == 0, lbl) lblMasked = np.ma.masked_where(lbl == 0, lbl)
sizeShift = (640-516)//2 sizeShift = (640-516)//2
plt.figure(figsize=(20,8)) plt.figure(figsize=(15,6))
plt.subplot(131) plt.subplot(131)
plt.imshow(img[sizeShift:sizeShift+516, sizeShift:sizeShift+516, :]) plt.imshow(img[sizeShift:sizeShift+516, sizeShift:sizeShift+516, :])
plt.axis('off') plt.axis('off')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment