matlab t=Tiff('IMG_3952.TIF', 'r+'); k = 1; t.setDirectory(k); img{k} = t.read(); src = img{1}; dst(:,:,1) = src(:,:,1) ; dst(:,:,2) = src(:,:,2) ; dst(:,:,3) = src(:,:,3) ; figure; imshow(dst); python #coding=utf-8 from libtiff import TIFF from scip…