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
fields
Getter property for the fields of the
dataclass
-like class.items
Getter property for the
dataclass
-like class items, i.e., the field names and values.keys
Getter property for the
dataclass
-like class keys, i.e., the field names.values
Getter property for the
dataclass
-like class values, i.e., the field values.swatch_colours
swatch_masks
colour_checker
quadrilateral