colour_checker_detection.detection.DataSegmentationColourCheckers#
- class colour_checker_detection.detection.DataSegmentationColourCheckers(rectangles: NDArrayInt, clusters: NDArrayInt, swatches: NDArrayInt, segmented_image: NDArrayFloat)[source]#
Colour checkers detection data used for plotting, debugging and further analysis.
- Parameters:
rectangles (NDArrayInt) – Colour checker bounding boxes, i.e., the clusters that have the relevant count of swatches.
clusters (NDArrayInt) – Detected swatches clusters.
swatches (NDArrayInt) – Detected swatches.
segmented_image (NDArrayFloat) – Segmented image.
- __init__(rectangles: NDArrayInt, clusters: NDArrayInt, swatches: NDArrayInt, segmented_image: NDArrayFloat) None#
- Parameters:
rectangles (NDArrayInt)
clusters (NDArrayInt)
swatches (NDArrayInt)
segmented_image (NDArrayFloat)
- Return type:
None
Methods
__init__(rectangles, clusters, swatches, ...)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.rectanglesclustersswatchessegmented_image