write_image#

write_image(save_path, save_name, image, filetype=None, **kwargs)[source]#

Write a 3D image in a specified filetype

Return type:

None

Parameters:
  • save_path – pathlib.Path of the directory to save

  • save_name – name of the file to save. If filetype is not specified, must contain the extension

  • image – 3D ndarray image to save

  • filetype – filetype extension to save. If specified, overrides the save_name extension.

Returns:

None