Image Visualization#

Provides a class for creating a GIF from a NIfTI image which iterates through its slices based on a specified view (‘coronal’, ‘sagittal’, or ‘axial’).

Classes defined in the module:
  • NiftiGifCreator: This class creates a GIF from a NIfTI image by iterating through its slices based on a specified view (‘coronal’, ‘sagittal’, or ‘axial’). The GIF is then written to the specified output directory with a filename prefix specified by the user.

Todo

  • Add functionality to quickly generate slices of images.

  • Add flexibility in NiftiGifCreator to accept a NumPy array or a file-path. This could also be added to the image slice class.

Attributes#

Classes#

NiftiGifCreator

This class is designed to create a GIF from a NIfTI image by iterating through its slices based on a specified view

Module Contents#

petpal.visualizations.image_visualization.nifty_loader#