mitk.PixelType#
- class mitk.PixelType#
Bases:
pybind11_objectDescribes the per-pixel layout of an
Image.A
PixelTypecombines a component scalar type (uint8,int8,uint16,int16,uint32,int32,float32,float64) with a component count (1 for scalar pixels, 3 for RGB, 4 for RGBA, etc.).PixelTypeinstances are usually constructed indirectly viamake_pixel_type()or by passing a NumPy dtype toImage.initialize().- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)