From: clare on
Hi Katrina,
Did you get a solution to your error messages? Am having the same problem
Thanks

"yan " <katrina1355(a)msn.com> wrote in message <hm7iin$pj0$1(a)fred.mathworks.com>...
> Hi,
> I am reading in a bmp image file, and wanna convert the color image into grayscale image. However, getting the following error messages:
> Can anyone help me here?
>
>
> thanks
>
> >> imshow(I)
> ??? Undefined function or method 'imshow' for input arguments of type 'uint8'.
>
> >> J = rgb2gray(I);
> ??? Undefined function or method 'rgb2gray' for input arguments of type 'uint8'.
From: ImageAnalyst on
Type
which -all imshow
on the command line and report your results back here.
Type
ver
on the command line and report your results back here.
From: Steve on
On Jun 10, 7:21 am, ImageAnalyst <imageanal...(a)mailinator.com> wrote:
> Type
> which -all imshow
> on the command line and report your results back here.
> Type
> ver
> on the command line and report your results back here.

I had the same problems. Here are my results:

>> which -all imshow
C:\Program Files\MATLAB\R2007a\work\images\imshow.m % Has no
license available
C:\Program Files\MATLAB\R2007a\work\images\ja\imshow.m % Shadowed ,
Has no license available
>> ver
-------------------------------------------------------------------------------------
MATLAB Version 7.4.0.287 (R2007a)
MATLAB License Number: 136171
Operating System: Microsoft Windows XP Version 5.1 (Build 2600:
Service Pack 3)
Java VM Version: Java 1.5.0_07 with Sun Microsystems Inc. Java
HotSpot(TM) Client VM mixed mode
-------------------------------------------------------------------------------------
MATLAB Version
7.4 (R2007a)
Curve Fitting Toolbox Version
1.1.7 (R2007a)
Image Processing Toolbox Version
3.2 (R13)
Image Processing Toolbox Version
4.2 (R14)

Trademarks
------------------
MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, and
xPC
TargetBox are registered trademarks and SimBiology, SimEvents, and
SimHydraulics are trademarks of The MathWorks, Inc. Other product or
brand names are trademarks or registered trademarks of their
respective
holders.
From: Steven Lord on

"Steve" <shupcher(a)gmail.com> wrote in message
news:1906ec28-a598-4250-8ce4-8c6d9ed3a3ed(a)k39g2000yqb.googlegroups.com...
> On Jun 10, 7:21 am, ImageAnalyst <imageanal...(a)mailinator.com> wrote:
> > Type
> > which -all imshow
> > on the command line and report your results back here.
> > Type
> > ver
> > on the command line and report your results back here.
>
> I had the same problems. Here are my results:
>
> >> which -all imshow
> C:\Program Files\MATLAB\R2007a\work\images\imshow.m % Has no
> license available
> C:\Program Files\MATLAB\R2007a\work\images\ja\imshow.m % Shadowed ,
> Has no license available

*snip*

> MATLAB Version
> 7.4 (R2007a)
> Curve Fitting Toolbox Version
> 1.1.7 (R2007a)
> Image Processing Toolbox Version
> 3.2 (R13)
> Image Processing Toolbox Version
> 4.2 (R14)

Don't mix toolbox and MATLAB releases. For MATLAB 7.4 (release R2007a) you
should be using the version of Image Processing Toolbox that is associated
with release R2007a. You will also need a license for that toolbox --
simply copying the files from an older installation will NOT, repeat NOT
work.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com