⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 get_snr.3

📁 speech signal process tools
💻 3
字号:
.\" Copyright (c) 1998 Entropic, Inc. All rights reserved..\" @(#)get_snr.3	1.1 9/4/98 ESI/ERL.ds ]W (c) 1998 Entropic, Inc..TH GET_SNR 3\-ESPSsp 9/4/98.SH NAMEget_snr \- Compute the signal-to-noise ratio between 2 data segments.SH SYNOPSIS.ft Bfloat .brget_snr ( refData, procData, segmentSize ).brfloat   refData[], procData[];.brint     segmentSize;.SH DESCRIPTIONThis function takes 2 input data vectors and information about theirsize and computes an SNR measurement by using the following formula:.nf\fB     SNR = 10 * log10 { SUMn refData(n)^2 / SUMn {refData(n) \- procData(n)}^2 }\fP                     .fiwhere \fIrefData(n)\fP is the reference data, \fIprocData(n)\fP is the processed data, and\fISUMn\fP is the sum over all the input data elements (from 1 to \fIsegmentSize\fP)..PP\fIget_snr\fP handles the singular cases involving 0 in the following way:.IP \ \ \(buif only the numerator is zero, the 10*log10{} result is set to -385.0.IP \ \ \(buif only the denominator is zero, the 10*log10{} result is   set to +385.0.IP \ \ \(buif both numerator and denominator are zero, the 10*log10{} result is set to 0.0.SH BUGSNone known..SH SEE ALSO.nf.fi.SH REFERENCES.HP[1] S. Quackenbush, T. Barnwell, and M. Clements, .I Objective Measures of Speech Quality,Prentice Hall, New Jersey, 1988, Chap. 2.sp.SH AUTHORDavid Burton

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -