scistag.imagestag.definitions.ImsFramework

class ImsFramework(value)[source]

Bases: Enum

Definition of available frameworks for storing and modifying pixel data in ImageStag

Attributes

PIL

Prefer using a Pillow image handle to store the pixel data

RAW

Prefer using numpy to store the image data.

CV

Prefer using OpenCV to store the pixel data.

__doc__

__members__

__module__

CV = 'CV'

Prefer using OpenCV to store the pixel data. RGB and RGBA images are represented in BGR/BGRA order

PIL = 'PIL'

Prefer using a Pillow image handle to store the pixel data

RAW = 'NP'

Prefer using numpy to store the image data. RGB and RGBA images are represented in RGB/RGBA order