StoredShape¶
- final class tifffile.StoredShape(frames=1, separate_samples=1, depth=1, length=1, width=1, contig_samples=1, extrasamples=0)¶
Normalized shape of image array in TIFF pages.
- Parameters:
frames (int) – Number of TIFF pages.
separate_samples (int) – Number of separate samples.
depth (int) – Image depth.
length (int) – Image length (height).
width (int) – Image width.
contig_samples (int) – Number of contiguous samples.
extrasamples (int) – Number of extra samples.
- frames: int¶
Number of TIFF pages.
- separate_samples: int¶
Number of separate samples.
- depth: int¶
Image depth. Value of ImageDepth tag or 1.
- length: int¶
Image length (height). Value of ImageLength tag.
- width: int¶
Image width. Value of ImageWidth tag.
- contig_samples: int¶
Number of contiguous samples.
- extrasamples: int¶
Number of extra samples. Count of ExtraSamples tag or 0.
- property size: int¶
Product of all dimensions.
- property samples: int¶
Number of samples. Count of SamplesPerPixel tag.
- property photometric_samples: int¶
Number of photometric samples.
- property shape: tuple[int, int, int, int, int, int]¶
Normalized 6D shape of image array in all pages.
- property page_shape: tuple[int, int, int, int, int]¶
Normalized 5D shape of image array in single page.
- property page_size: int¶
Product of dimensions in single page.
- property squeezed: tuple[int, ...]¶
Shape with length-1 removed, except for length and width.
- property is_valid: bool¶
Shape is valid.
- property is_planar: bool¶
Shape contains planar samples.
- property planarconfig: int | None¶
Value of PlanarConfiguration tag.