Mercurial > hg > octave-image
changeset 55:82d503016b14
All call with only two parameters.
author | pkienzle |
---|---|
date | Tue, 27 Jan 2004 15:41:32 +0000 |
parents | 1cf340feaa43 |
children | da4a85567363 |
files | imnoise.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/imnoise.m +++ b/imnoise.m @@ -32,7 +32,7 @@ function A = imnoise(A, stype, a, b) - if (nargin < 3 || nargin > 4 || !is_matrix(A) || !isstr(stype)) + if (nargin < 2 || nargin > 4 || !is_matrix(A) || !isstr(stype)) usage("B = imnoise(A, type, parameters, ...)"); endif @@ -53,4 +53,4 @@ error("imnoise: use type 'gaussian', 'salt & pepper', or 'speckle'"); endif -endfunction \ No newline at end of file +endfunction