Hi Sir… Most of the code ran properly except the last part.

patch1927×673 121 KB

Can you please tell whats the importance of this part : 0,0+2:96-3,0+9:128-10,0+2:96-3]
originalMR = np.array(patches_orig[0,0+2:96-3,0+9:128-10,0+2:96-3])
originalMR = np.transpose(originalMR, ())
print(originalMR.shape, type(originalMR), originalMR.dtype)
since its returning error and not matching with original shape.