colour_checker_detection.detection.WarpingData#
- class colour_checker_detection.detection.WarpingData(cluster_id: int = -1, cost: float = inf, transformation: ndarray | None = None)[source]#
Data class for storing the results of the correspondence finding.
- Parameters:
cluster_id (int) – The index of the cluster that was used for the correspondence.
cost (float) – The cost of the transformation, which means the average distance of the warped point from the reference template point.
transformation (numpy.ndarray | None) – The transformation matrix to warp the cluster to the template.
Methods
__init__([cluster_id, cost, transformation])Attributes
cluster_idcosttransformation