zetastitcher.io.ffmpeg_wrapper module

class zetastitcher.io.ffmpeg_wrapper.FFMPEGWrapper(file_path=None)

Bases: zetastitcher.io.inputfile_mixin.InputFileMixin

Attributes
array_size

Size in bytes of the whole virtual array

file_size
frame_size

Size in bytes of a single frame

shape

Shape of the whole image stack.

Methods

close

open

zslice

open(file_path=None)
property shape

Shape of the whole image stack.

Returns
tuple

(nfrms, ysize, xsize, channels) where channels is the number of color channels in the image. If channel is set or if there is only one channel, the channels dimension is squeezed.

zslice(arg1, arg2=None, step=None, dtype=None, copy=True)