PsychiatryNLPKit.data.ImageData

class PsychiatryNLPKit.data.ImageData(path, name=None)[source]

Container for an image with optional metadata.

Args:

path: Path to the image file. name: Optional identifier for the image.

__init__(path, name=None)[source]

Methods

__init__(path[, name])

Attributes

image

Load and return the PIL Image (lazy).

__init__(path, name=None)[source]
property image: Image

Load and return the PIL Image (lazy).