change function imshow to tocvMat