Update default exposure in picam and defaul LST values in tuning files, and set default colour gains from LST
This commit is contained in:
parent
c0362ee8dd
commit
982c55905c
6 changed files with 67 additions and 40 deletions
|
|
@ -44,7 +44,7 @@ def test_load_tuning(imx219_tuning, imx477_tuning):
|
|||
("rpi.sdn", True),
|
||||
("rpi.awb", True),
|
||||
("rpi.agc", True),
|
||||
("rpi.alsc", True),
|
||||
("rpi.alsc", False),
|
||||
("rpi.contrast", True),
|
||||
("rpi.ccm", False),
|
||||
("rpi.sharpen", True),
|
||||
|
|
@ -124,6 +124,12 @@ def test_tuning_lst_tools(imx219_tuning, imx477_tuning):
|
|||
assert lst_model.colour_temp == tf_utils.DEFAULT_COLOUR_TEMP
|
||||
|
||||
|
||||
def test_tuning_initial_colour_gains(imx219_tuning, imx477_tuning):
|
||||
"""The initial colour gains are as expected."""
|
||||
assert tf_utils.get_colour_gains_from_lst(imx219_tuning) == (1.068, 1.259)
|
||||
assert tf_utils.get_colour_gains_from_lst(imx477_tuning) == (1.0, 2.0)
|
||||
|
||||
|
||||
def test_setting_lst(imx219_tuning):
|
||||
"""Check that the LST can be set."""
|
||||
lum = RNG.normal(size=(12, 16))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue