Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
IM Show

Subject: IM Show

From: Rickey Lemons

Date: 25 Jan, 2011 15:19:04

Message: 1 of 4

I am trying to set a equal to the image file"humpty":
       a=imread('humpty.gif')
then i want it to appear:
       imshow(a)
but i get:
       ??? Undefined function or method 'imshow' for input arguments of type
'uint8'.

when i run ver, these are my resluts:
MATLAB Version 7.10.0.499 (R2010a)
MATLAB License Number: STUDENT
Operating System: Microsoft Windows 7 Version 6.1 (Build 7600)
Java VM Version: Java 1.6.0_12-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
MATLAB Version 7.10 (R2010a)
Video and Image Processing Blockset Version 3.0 (R2010a)

when i run: which -all imshow
     'imshow' not found.

someone please tell me what i need to do

Thanks

Subject: IM Show

From: Sean de

Date: 25 Jan, 2011 15:41:02

Message: 2 of 4

"Rickey Lemons" <vinylrock07@aim.com> wrote in message <ihmpl8$ir8$1@fred.mathworks.com>...
> I am trying to set a equal to the image file"humpty":
> a=imread('humpty.gif')
> then i want it to appear:
> imshow(a)
> but i get:
> ??? Undefined function or method 'imshow' for input arguments of type
> 'uint8'.
>
> when i run ver, these are my resluts:
> MATLAB Version 7.10.0.499 (R2010a)
> MATLAB License Number: STUDENT
> Operating System: Microsoft Windows 7 Version 6.1 (Build 7600)
> Java VM Version: Java 1.6.0_12-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
> MATLAB Version 7.10 (R2010a)
> Video and Image Processing Blockset Version 3.0 (R2010a)
>
> when i run: which -all imshow
> 'imshow' not found.
>
> someone please tell me what i need to do
>
> Thanks

You don't have the Image Processing Toolbox (IPT) which contains imshow. Use:
  image(a,gray(256))
instead.

Subject: IM Show

From: witek@mathworks.com

Date: 25 Jan, 2011 22:19:56

Message: 3 of 4

Indeed imshow is part of the Image Processing Toolbox which is required by the Video and Image
Processing Blockset. A purchase of Video and Image Processing Blockset normally triggers
a purchase of the Image Processing Toolbox.

Witek


Sean de <sean.dewolski@nospamplease.umit.maine.edu> wrote:
> "Rickey Lemons" <vinylrock07@aim.com> wrote in message <ihmpl8$ir8$1@fred.mathworks.com>...
> > I am trying to set a equal to the image file"humpty":
> > a=imread('humpty.gif')
> > then i want it to appear:
> > imshow(a)
> > but i get:
> > ??? Undefined function or method 'imshow' for input arguments of type
> > 'uint8'.
> >
> > when i run ver, these are my resluts:
> > MATLAB Version 7.10.0.499 (R2010a)
> > MATLAB License Number: STUDENT
> > Operating System: Microsoft Windows 7 Version 6.1 (Build 7600)
> > Java VM Version: Java 1.6.0_12-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
> > MATLAB Version 7.10 (R2010a)
> > Video and Image Processing Blockset Version 3.0 (R2010a)
> >
> > when i run: which -all imshow
> > 'imshow' not found.
> >
> > someone please tell me what i need to do
> >
> > Thanks
>
> You don't have the Image Processing Toolbox (IPT) which contains imshow. Use:
> image(a,gray(256))
> instead.

Subject: IM Show

From: Steven_Lord

Date: 26 Jan, 2011 15:36:01

Message: 4 of 4



<witek@mathworks.com> wrote in message
news:ihniac$o56$1@fred.mathworks.com...
> Indeed imshow is part of the Image Processing Toolbox which is required by
> the Video and Image
> Processing Blockset. A purchase of Video and Image Processing Blockset
> normally triggers
> a purchase of the Image Processing Toolbox.
>
> Witek

And since the OP's posting indicates their license number is STUDENT,
they're likely using the Student Version which comes with Image Processing
Toolbox by default.

http://www.mathworks.com/academia/student_version/details.html

I'm guessing they just didn't install everything for whatever reason.

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us