For example I have:
X = [[1,2,3],[4,5,6]]
Y = [[1,4,7],[5,5,1]]
a=np.array(X)
grayA=(a-np.amin(a))/(np.amax(a)-np.amin(a))
b=np.array(Y)
grayB=(b-np.amin(b))/(np.amax(b)-np.amin(b))
However, when I do
compare_ssim(grayA, grayB)
I get the error
ValueError: win_size exceeds image extent. If the input is a multichannel (color) image, set multichannel=True.
I tried
compare_ssim(grayA, grayB, multichannel = True)
but I am still getting the same error.