Detection#
Inference#
colour_checker_detection
Settings for the inference of the X-Rite ColorChecker Classic. |
|
Settings for the inference of the X-Rite ColorChecker Classic Mini. |
|
|
Predict the colour checker rectangles in given image using Ultralytics YOLOv8. |
|
Detect the colour checkers swatches in given image using inference. |
Segmentation#
colour_checker_detection
Settings for the segmentation of the X-Rite ColorChecker Classic and X-Rite ColorChecker Passport. |
|
Settings for the segmentation of the X-Rite ColorChecker SG*. |
|
Settings for the segmentation of the X-Rite ColorChecker Nano*. |
|
|
Detect the colour checker rectangles in given image \(image\) using segmentation. |
|
Detect the colour checkers swatches in given image using segmentation. |
Common Utilities#
colour_checker_detection.detection
alias of |
|
alias of |
|
Settings for the detection of the X-Rite ColorChecker Classic and X-Rite ColorChecker Passport. |
|
Settings for the detection of the X-Rite ColorChecker SG*. |
|
Settings for contour detection. |
|
Convert given variable \(a\) to |
|
Convert given variable \(a\) to |
|
|
Return swatch masks for given image width and height and swatches count. |
|
Extract the swatch colours from given image using given masks. |
|
Reformat given image so that it is horizontal and resizes it to given target width. |
|
Transform given image using given translation, rotation and scale values. |
|
Detect the contours of given image using given settings. |
|
Return if given contour is a square. |
|
Return the centroid of given contour. |
|
Scale given contour by given scale factor. |
|
Approximate given contour to have given number of points. |
|
Convert given to quadrilaterals. |
|
Remove amd filter out the stacked contours from given contours keeping either the smallest or the largest ones. |
|
Colour checker swatches data used for plotting, debugging and further analysis. |
|
Sample the colour checker using the given source quadrilateral, i.e., detected colour checker in the image, and the given target rectangle. |