colour_checker_detection.detection.DataDetectionColourChecker#
- class colour_checker_detection.detection.DataDetectionColourChecker(swatch_colours: NDArrayFloat, swatch_masks: NDArrayInt, colour_checker: NDArrayFloat, quadrilateral: NDArrayFloat)[source]#
Colour checker swatches data used for plotting, debugging and further analysis.
- Parameters:
swatch_colours (NDArrayFloat) – Colour checker swatches colours.
swatch_masks (NDArrayInt) – Colour checker swatches masks.
colour_checker (NDArrayFloat) – Cropped and levelled Colour checker image.
quadrilateral (NDArrayFloat) – Source quadrilateral where the colour checker has been detected.
- __init__(swatch_colours: NDArrayFloat, swatch_masks: NDArrayInt, colour_checker: NDArrayFloat, quadrilateral: NDArrayFloat) None#
- Parameters:
swatch_colours (NDArrayFloat)
swatch_masks (NDArrayInt)
colour_checker (NDArrayFloat)
quadrilateral (NDArrayFloat)
- Return type:
None
Methods
__init__(swatch_colours, swatch_masks, ...)Attributes
fieldsGetter for the fields of the
dataclass-like class.itemsGetter for the
dataclass-like class items, i.e., the field names and values.keysGetter for the
dataclass-like class keys, i.e., the field names.valuesGetter for the
dataclass-like class field values.swatch_coloursswatch_maskscolour_checkerquadrilateral