function [r, R, S] = imnoise3(M, N, C, A, B)
% IMNOISE3 Generates periodic noise.
% [r, R, S] = IMNOISE3(M, N, C, A, B), generates a spatial sinusoidal
% noise pattern, r, of size M-by-N, its Fourier transform, R, and
% spectrum, S. The remaining parameters are as follows:
% C is a K-by-2 matrix containing K pairs of frequency domain coordinates
% (u, v) indicating the locations of impulses in the frequency domain.
% These locations are with respect to the frequency rectangele center at
% (M/2 + 1, N/2 + 1). Only one paor of coordinates is required for each
% impulse. The program automatically generates the locations of the
% conjugate symmetric impulses. These impulse paird determine the
% frequency content of r.
% A is a 1-by-k vector that contains the ampitude of each of the K
% impulse pairs. If A is not included in the argument, the default used
% is A = ONES(1, K). B is then automatically set to its default values
% (see
【MATLAB】图像处理相关函数imnoise3函数
最新推荐文章于 2023-12-06 18:37:13 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)