models icon indicating copy to clipboard operation
models copied to clipboard

fix contrast()

Open EIFY opened this issue 1 year ago • 1 comments

Description

The mean pixel value should be weighted average of the histogram. google-research/big_vision and tensorflow/tpu have the same bug so ideally should be fixed in the same way.

Type of change

  • [x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Tests

See https://github.com/google-research/big_vision/issues/109 for details.

Checklist

EIFY avatar Jun 04 '24 19:06 EIFY

Hi @yeqingli,

Could you please review this PR. Thank You

LakshmiKalaKadali avatar Sep 16 '24 08:09 LakshmiKalaKadali