Mercurial > hg > octave-image
changeset 486:442f8b087904
imtophat: added warning for use of black/close option which will be removed in the future
author | carandraug |
---|---|
date | Wed, 02 Nov 2011 15:01:46 +0000 |
parents | 81f8c953fe27 |
children | 5ae041071822 |
files | inst/imtophat.m |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/inst/imtophat.m +++ b/inst/imtophat.m @@ -59,6 +59,7 @@ retval = im - imopen(im, se); endif elseif ( strcmpi(trans, "black") || strcmpi(trans, "close") ) + warning ("Use of the '%s' option of imtophat has been deprecated in favor of 'imbothat'. This option will be removed from future versions of the 'imtophat' function", trans); retval = imbothat (im, se); else error ("Unexpected type of top-hat transform");