Handle int instead of byte in SSIM.
The value of pixels are converted to integers at the point of use, move this logic to the initialisation step. This is a prerequisite step for testing SSIM calculation, which will lead on to some SSIM improvements being verifiable. Tested manually and SSIM values match for the same video before and after this change. PiperOrigin-RevId: 473231779
Showing
with
14 additions
and
13 deletions
Please
register
or
sign in
to comment