# VQMT - Video Quality Measurement Tool
This software provides fast implementations of the following objective metrics:
* **PSNR**: Peak Signal-to-Noise Ratio,
* **SSIM**: Structural Similarity,
* **MS-SSIM**: Multi-Scale Structural Similarity,
* **VIFp**: Visual Information Fidelity, pixel domain version
* **PSNR-HVS**: Peak Signal-to-Noise Ratio taking into account Contrast
Sensitivity Function (CSF),
* **PSNR-HVS-M**: Peak Signal-to-Noise Ratio taking into account Contrast
Sensitivity Function (CSF) and between-coefficient contrast masking of DCT
basis functions.
In this software, the above metrics are implemented in C++ with the help of
OpenCV and are based on the original Matlab implementations provided by their
developers.
The source code of this software can be compiled on any platform and
only requires the OpenCV library (core and imgproc modules).
This software allows performing video quality assessment without using Matlab
and shows better performance than Matlab in terms of run time.
# PREREQUISITE
The OpenCV library (http://opencv.willowgarage.com/wiki/) needs to be installed
to be able to compile this code. Only the core and imgproc modules are required.
# BUILD
CMake is required in order to build VQMT. A Makefile is provided to ease the
building step:
make
This command has the effect of creating the `build` directory, calling
`cmake` within it and building VQMT. The binary may then be found in
`build/bin/Release`.
# USAGE
```
vqmt (or VQMT.exe on Windows) OriginalVideo ProcessedVideo Height Width NumberOfFrames ChromaFormat Output Metrics
```
- **OriginalVideo**: the original video as raw YUV video file, progressively
scanned, and 8 bits per sample
- **ProcessedVideo**: the processed video as raw YUV video file, progressively
scanned, and 8 bits per sample
- **Height**: the height of the video
- **Width**: the width of the video
- **NumberOfFrames**: the number of frames to process
- **ChromaFormat**: the chroma subsampling format. 0: YUV400, 1: YUV420,
2: YUV422, 3: YUV444
- **Output**: the name of the output file(s)
- **Metrics**: the list of metrics to use
Available metrics:
- **PSNR**: Peak Signal-to-Noise Ratio (PNSR)
- **SSIM**: Structural Similarity (SSIM)
- **MSSSIM**: Multi-Scale Structural Similarity (MS-SSIM)
- **VIFP**: Visual Information Fidelity, pixel domain version (VIFp)
- **PSNRHVS**: Peak Signal-to-Noise Ratio taking into account Contrast
Sensitivity Function (CSF) (PSNR-HVS)
- **PSNRHVSM**: Peak Signal-to-Noise Ratio taking into account Contrast
Sensitivity Function (CSF) and between-coefficient contrast masking of DCT
basis functions (PSNR-HVS-M)
Example:
VQMT.exe original.yuv processed.yuv 1088 1920 250 1 results PSNR SSIM MSSSIM
VIFP
will create the following output files in CSV (comma-separated values) format:
- results_pnsr.csv
- results_ssim.csv
- results_msssim.csv
- results_vifp.csv
Notes:
- SSIM comes for free when MSSSIM is computed (but you still need to specify it
to get the output)
- PSNRHVS and PSNRHVSM are always computed at the same time (but you still need
to specify both to get the two outputs)
- When using MSSSIM, the height and width of the video have to be multiple of 16
- When using VIFP, the height and width of the video have to be multiple of 8
# COPYRIGHT
Permission is hereby granted, without written agreement and without license or
royalty fees, to use, copy, modify, and distribute the software provided and its
documentation for research purpose only, provided that this copyright notice and
the original authors' names appear on all copies and supporting documentation.
The software provided may not be commercially distributed. In no event shall the
Ecole Polytechnique Fédérale de Lausanne (EPFL) be liable to any party for
direct, indirect, special, incidental, or consequential damages arising out of
the use of the software and its documentation.
The Ecole Polytechnique Fédérale de Lausanne (EPFL) specifically disclaims any
warranties.
The software provided hereunder is on an "as is" basis and the Ecole
Polytechnique Fédérale de Lausanne (EPFL) has no obligation to provide
maintenance, support, updates, enhancements, or modifications.
# REFERENCES
- Z. Wang, A.C. Bovik, H.R. Sheikh, and E.P. Simoncelli, "Image quality
assessment: from error visibility to structural similarity," IEEE
Transactions on Image Processing, vol. 13, no. 4, pp. 600–612, April 2004.
- Z. Wang, E.P. Simoncelli, and A.C. Bovik, "Multiscale structural similarity
for image quality assessment," in IEEE Asilomar Conference on Signals,
Systems and Computers, November 2003, vol. 2, pp. 1398–1402.
- H.R. Sheikh and A.C. Bovik, "Image information and visual quality," IEEE
Transactions on Image Processing, vol. 15, no. 2, pp. 430-444, February 2006.
- K. Egiazarian, J. Astola, N. Ponomarenko, V. Lukin, F. Battisti, and M.
Carli, "New full-reference quality metrics based on HVS," in Proceedings of
the Second International Workshop on Video Processing and Quality Metrics,
2006.
- N. Ponomarenko, F. Silvestri, K. Egiazarian, M. Carli, J. Astola, and V.
Lukin, "On between-coefficient contrast masking of DCT basis functions," in
Proceedings of the Third International Workshop on Video Processing and
Quality Metrics for Consumer Electronics, January 2007.
没有合适的资源?快使用搜索试试~ 我知道了~
VQMT:视频质量测量工具。快速实现以下客观图像质量指标:PSNR、SSIM、MS-SSIM、VIFp、PSNR-HVS
共24个文件
cpp:8个
hpp:7个
md:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 4 下载量 17 浏览量
2022-06-15
18:27:47
上传
评论 1
收藏 33KB ZIP 举报
温馨提示
C++__代码_下载 该软件提供了以下客观指标的快速实施: PSNR:峰值信噪比, SSIM:结构相似性, MS-SSIM:多尺度结构相似性, VIFp:视觉信息保真度,像素域版本 PSNR-HVS:考虑对比敏感函数(CSF)的峰值信噪比, PSNR-HVS-M:考虑到对比度敏感函数 (CSF) 和 DCT 基函数的系数间对比度掩蔽的峰值信噪比。 在这个软件中,上述指标是在 OpenCV 的帮助下用 C++ 实现的,并基于其开发人员提供的原始 Matlab 实现。该软件的源代码可以在任何平台上编译,只需要 OpenCV 库(core 和 imgproc 模块)。该软件允许在不使用 Matlab 的情况下执行视频质量评估,并且在运行时间方面表现出比 Matlab 更好的性能。
资源推荐
资源详情
资源评论
收起资源包目录
VQMT-master.zip (24个子文件)
VQMTter
CMakeLists.txt 5KB
.gitignore 23B
README.md 5KB
CHANGELOG.md 194B
inc
PSNR.hpp 2KB
SSIM.hpp 2KB
Metric.hpp 2KB
PSNRHVS.hpp 3KB
VIFP.hpp 3KB
VideoYUV.hpp 3KB
MSSSIM.hpp 3KB
LICENSE 905B
src
main.cpp 9KB
Metric.cpp 2KB
SSIM.cpp 4KB
VIFP.cpp 7KB
PSNR.cpp 1KB
PSNRHVS.cpp 7KB
VideoYUV.cpp 3KB
MSSSIM.cpp 3KB
cmake
cmake_uninstall.cmake.in 1013B
AUTHORS.md 146B
readme.txt 6KB
Makefile 232B
共 24 条
- 1
快撑死的鱼
- 粉丝: 1w+
- 资源: 9156
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页