mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
![]() This class adds logic for aligning color space of a test video compared to a reference video. If there is a color space mismatch, it typically does not have much impact on human perception, but it has a big impact on PSNR and SSIM calculations. For example, aligning a test run with VP8 improves PSNR and SSIM from: Average PSNR: 29.142818, average SSIM: 0.946026 to: Average PSNR: 38.146229, average SSIM: 0.965388. The optiomal color transformation between the two videos were: 0.86 0.01 0.00 14.37 0.00 0.88 0.00 15.32 0.00 0.00 0.88 15.74 which is converting YUV full range to YUV limited range. There is already a CL out for fixing this discrepancy here: https://webrtc-review.googlesource.com/c/src/+/94543 After that, hopefully there is no color space mismatch when saving the raw YUV values. It's good that the video quality tool is color space agnostic anyway, and can compensate for differences when the test video is obtained by e.g. filming a physical device screen. Also, the linear least square logic will be used for compensating geometric distorisions in a follow-up CL. Bug: webrtc:9642 Change-Id: I499713960a0544d8e45c5d09886e68ec829b28a7 Reviewed-on: https://webrtc-review.googlesource.com/c/95950 Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25193} |
||
---|---|---|
.. | ||
agc | ||
barcode_tools | ||
converter | ||
event_log_visualizer | ||
frame_analyzer | ||
frame_editing | ||
loopback_test | ||
network_tester | ||
psnr_ssim_analyzer | ||
py_event_log_analyzer | ||
rtcbot | ||
testing | ||
unpack_aecdump | ||
author_line_count.sh | ||
BUILD.gn | ||
class_usage.sh | ||
compare_videos.py | ||
DEPS | ||
header_usage.sh | ||
OWNERS | ||
sanitizers_unittest.cc | ||
simple_command_line_parser.cc | ||
simple_command_line_parser.h | ||
simple_command_line_parser_unittest.cc | ||
video_analysis.py | ||
video_analysis_test.py | ||
video_file_reader.cc | ||
video_file_reader.h | ||
video_file_reader_unittest.cc | ||
video_file_writer.cc | ||
video_file_writer.h | ||
video_file_writer_unittest.cc |