solt.constants
Constants module
- solt.constants.ALLOWED_BLURS
Defines the blur modes. Can be
'g'
- gaussian or'm'
- median.
- solt.constants.ALLOWED_TYPES
Defines the allowed types to be stored in a DataCantainer. Can be
'I'
- image,'M'
- mask,'L'
- labels,'P'
- Keypoints.
- solt.constants.ALLOWED_CROPS
Defines the allowed crops. Can be
'r'
- random crop or'c'
- center crop.
- solt.constants.ALLOWED_PADDINGS
Defines the allowed crops. Can be
'z'
- zero padding or'r'
- reflective padding.
- solt.constants.ALLOWED_INTERPOLATIONS
Defines the allowed interpolation modes. Can be
'bilinear'
,'nearest'
or'bicubic'
.
- solt.constants.DTYPES_MAX
Defines the maximums for different data types. Can be
numpy.uint8
ornumpy.uint16
.
- solt.constants.ALLOWED_COLOR_CONVERSIONS
Defines the allowed color conversion modes. Can be
'gs2rgb'
,'rgb2gs'
or'none'
.