2017/02/26

Reading a multipage tiff file

Reading 16-bit grayscale multipage TIFF file with python scikit-image:

Python code:

import skimage.io as skiio
matMOV = skiio.imread("movie.tif");
print("Pages:%i, Height: %i, Width: %i"\
      %(  matMOV.shape[0]\
        , matMOV.shape[1]\
        , matMOV.shape[2]))
Result:
Pages:631, Height: 875, Width: 748


Keywords: TIFF TIF file multipage multi-page

0 件のコメント: