jetraw_tools.imread

jetraw_tools.imread(input_tiff_filename, pages=None)[source]

Read JetRaw compressed TIFF file from disk and store in numpy array.

Refer to the TiffReader class and its read function for more information.

Parameters:
  • input_tiff_filename (str) – File name of input TIFF file to be read from disk

  • pages (Optional[Union[int, range, List[int]]]) – Indices of TIFF pages to be read. By default all pages are read

Returns:

Image data as numpy array

Return type:

np.ndarray