changeset 484:27c9e8ad9d44

imbothat: fix error messages
author carandraug
date Wed, 02 Nov 2011 14:57:38 +0000
parents 7e92182aba4d
children 81f8c953fe27
files inst/imbothat.m
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/inst/imbothat.m
+++ b/inst/imbothat.m
@@ -32,11 +32,11 @@
     print_usage();
   endif
   if (!ismatrix(im) || !isreal(im))
-    error("imtophat: first input argument must be a real matrix");
+    error("imbothat: first input argument must be a real matrix");
   elseif (!ismatrix(se) || !isreal(se))
-    error("imtophat: second input argument must be a real matrix");
+    error("imbothat: second input argument must be a real matrix");
   elseif ( !strcmp(class(im), class(se)) )
-    error("imtophat: image and structuring element must have the same class");
+    error("imbothat: image and structuring element must have the same class");
   endif
 
   ## Perform filtering