Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Imread (Index Exceeds Matrix Dimensions)
Replies: 4   Last Post: Sep 24, 2013 11:01 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Simon12345

Posts: 5
Registered: 9/16/13
Re: Imread (Index Exceeds Matrix Dimensions)
Posted: Sep 24, 2013 8:25 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Steven_Lord" <slord@mathworks.com> wrote in message <l177vp$p5h$1@newscl01ah.mathworks.com>...
>
>
> "Simon12345 " <masskan@gmx.net> wrote in message
> news:l16mje$pjb$1@newscl01ah.mathworks.com...

> > Hi,
> >
> > something very basic is going wrong here.
> > I try to import an image into my workspace with:
> >
> > A = imread('roof.jpg');
> >
> > I also tried
> >
> > roof = imread('roof','jpg');
> >
> > And what I get back is:
> >
> > Index exceeds matrix dimensions.
> > I tried multiple different jpeg's and also png, tiff, jpeg 2000, always
> > the same.
> > What am I doing wrong?

>
> You have likely defined a variable named imread in your code. You cannot use
> the IMREAD function while such a variable exists.
>
> --
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com


No I haven't, just opened up Matlab.
Also did:
clear all; close all;
to be sure.
It happens ocassionally...You have any ideas?



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.