Skip to content
Commit e67f2b1a authored by Phi Bang Nguyen's avatar Phi Bang Nguyen Committed by David Leach
Browse files

samples: video: capture: Enhance fixture test with colorbar checking



Currently, the camera fixture test can only tell whether data are dumped
onto memory. This is to check further if the image content is correct.

The algorithm is rather simple: compare the average color of each bar
of a generated pattern with a predefined target in CIELAB76 color
space (which is nearly perceptually uniform).

Signed-off-by: default avatarPhi Bang Nguyen <phibang.nguyen@nxp.com>
parent 9f97e18d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment