TiffSource ========== .. py:module:: TiffSource Classes ------- .. autoapisummary:: TiffSource.TiffSource Module Contents --------------- .. py:class:: TiffSource(filename: str, source_pixel_size: list = None, target_pixel_size: list = None, source_info_required: bool = False, executor: concurrent.futures.ThreadPoolExecutor = None) Bases: :py:obj:`OmeSliCC.OmeSource.OmeSource` Tiff-compatible image source .. py:attribute:: filename :type: str original filename .. py:attribute:: compressed :type: bool if image data is loaded compressed .. py:attribute:: decompressed :type: bool if image data is loaded decompressed .. py:attribute:: pages :type: list list of all relevant TiffPages .. py:attribute:: data :type: bytes raw un-decoded image byte data .. py:attribute:: arrays :type: list list of all image arrays for different sizes .. py:attribute:: executor :value: None .. py:attribute:: tiff .. py:attribute:: first_page .. py:attribute:: tags .. py:attribute:: fh .. py:attribute:: dimension_order .. py:attribute:: is_rgb .. py:method:: _find_metadata() .. py:method:: get_source_dask() .. py:method:: _load_as_dask() .. py:method:: _load_as_zarr() .. py:method:: load(decompress: bool = False) .. py:method:: unload() .. py:method:: decompress() .. py:method:: clear_arrays() .. py:method:: _asarray_level(level: int, **slicing) -> numpy.ndarray .. py:method:: _decompress(level: int, **slicing) -> numpy.ndarray .. py:method:: _decode(page: tifffile.TiffPage, dataoffsets: list, databytecounts: list, tile_locations: list, out: numpy.ndarray) .. py:method:: _segments(process_function: callable, page: tifffile.TiffPage, dataoffsets: list, databytecounts: list) -> tuple .. py:method:: close()