test_colorAdjust

test_colorAdjust.cameraColorTest(image, HSV, BGR)[source]

Test method to apply the HSV and BGR image adjustments.

Parameters
  • image – image name to load from local folder

  • HSV – 3d vector of HSV adjustments

  • BGR – 3d vector of BGR adjustments

test_colorAdjust.test_module(show_plots, HSV, BGR)[source]

Validation Test Description

This module tests the color shifting capability of the camera module. Multiple HSV and BGR color adjustments are tests on a TV test image.

Description of Variables Being Tested

Multiple points on the test images are adjusted in python and compared to the BSK camera module saved image. The HSV and BGR color corrections are applied on a series of points in the test image. The integer red, green and blue color values are checked to be identical.