libtuning: agc: rkisp1: Increase y-target
With the addition of gamma out correction the relative luminance target was set too low. As brightness is a bit subjective it is difficult to come up with the "correct" value. With 0.5 the patch 22 on the macbeth chart (neutral grey, 18% reflectance) ended up a bit below 50% grey, which seems reasonable. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
parent
d5db46232e
commit
974a526c83
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class AGCRkISP1(AGC):
|
||||||
return {'ConstraintNormal': normal, 'ConstraintHighlight': highlight}
|
return {'ConstraintNormal': normal, 'ConstraintHighlight': highlight}
|
||||||
|
|
||||||
def _generate_y_target(self) -> list:
|
def _generate_y_target(self) -> list:
|
||||||
return 0.16
|
return 0.5
|
||||||
|
|
||||||
def process(self, config: dict, images: list, outputs: dict) -> dict:
|
def process(self, config: dict, images: list, outputs: dict) -> dict:
|
||||||
output = {}
|
output = {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue