neuralib.imglib.io.write_avi

neuralib.imglib.io.write_avi(file_path, frames, fps=30.0)[source]

Write a sequence of frames to an AVI file.

Parameters:
  • file_path (str) – The path where the AVI file will be saved.

  • frames (ndarray) – Array[uint, [F, W, H]|[F, W, H, 3]] containing the frames.

  • fps (float) – The frames per second (frame rate) of the output video.

Return type:

None