General Image Handling

class pumpia.file_handling.general_structures.GeneralImage(image: Image, path: Path)

Represents an image from a file. Has the same attributes and methods as FileImageSet unless stated below.

Parameters:
  • image (PIL.Image.Image) – The PIL image.

  • path (Path) – The path to the image.

raw_array
Type:

np.ndarray