I am trying to replicate a code taht I did in MATLAB to Python, using OpenCV. I have an image with .mat format that I managed to load, however I cannot displayed it using cv2.imshow(), since it does not supports it. So does anyone know how I can visualize my image??
#Load image
import scipy.io as sio
matimage='img1.mat'
img = sio.loadmat(matimage)
cv2.imshow('Image', img)
Thanks in advance!