CHROM Python API¶
computes the mean R, G and B of an image.
Note that a mask could be provided to tell which pixels should be taken into account when computing the mean.
computes the difference in intensity between two images.
selects a stable subset of consecutive frames
The selection is made by considering the grayscale difference between frames. The subset is chosen as the one for which the sum of difference is minimized
project_chrominance(r, g, b)¶
Projects rgb values onto the x and y chrominance space
See equation (9) of [dehaan-tbe-2013].