📄 qccmatrixaddnoisetoregion.3
字号:
.TH QCCMATRIXADDNOISETOREGION 3 "QCCPACK" "".SH NAMEQccMatrixAddNoiseToRegion\- corrupt region of matrix with random noise.SH SYNOPSIS.B #include "libQccPack.h".sp.BI "int QccMatrixAddNoiseToRegion(QccMatrix " matrix ", int " num_rows ", int " num_cols ", int " start_row ", int " start_col ", int " region_num_rows ", int " region_num_cols ", double " noise_variance );.SH DESCRIPTION.B QccMatrixAddNoiseToRegion()adds uniformly-distributed random noise of variance.I noise_varianceto a rectangular region in.IR matrix ..I num_rowsand.I num_colsgive the dimensions of.IR matrix ,.I start_rowand.I start_rowgive the coordinates (within .IR matrix )of the upper-left corner of the region to be corrupted with noise,and.I region_num_rowsand.I region_num_colsgive the size of the noise-corrupted region..B QccMatrixAddNoiseToRegion()will properly handle cases in which the specified rectangular region extendsbeyond the boundaries of.IR matrix ..LPThe random noise added to.I matrixis uniform, has zero mean,and has variance.IR noise_variance .The noise is generated using.BR QccMathRand (3)..SH "SEE ALSO".BR QccMatrix (3),.BR QccMathRand (3),.BR QccPack (3).SH AUTHORCopyright (C) 1997-2009 James E. Fowler.\" The programs herein are free software; you can redistribute them an.or.\" modify them under the terms of the GNU General Public License.\" as published by the Free Software Foundation; either version 2.\" of the License, or (at your option) any later version..\" .\" These programs are distributed in the hope that they will be useful,.\" but WITHOUT ANY WARRANTY; without even the implied warranty of.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the.\" GNU General Public License for more details..\" .\" You should have received a copy of the GNU General Public License.\" along with these programs; if not, write to the Free Software.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -