help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IMREAD does not recognize image path


From: Nicholas Jankowski
Subject: Re: IMREAD does not recognize image path
Date: Thu, 16 Jul 2015 22:55:29 -0400

or Octave 4.0.0 on Windows, the following works for me:

(check where you are)
>> pwd
ans = c:\temp

if i'm in the same directory as the file
>>imread('test.bmp');

if I'm not in the same directorry as the file:
imread('c:\temp\test.bmp');

if I'm in the directory 'under the file'
>> pwd
ans = c:\

imread('.\temp\test.bmp');


and you can change directory with the cd command.

Or, assuming you're using a version of Octave with the GUI, you can navigate with the file/folder tree in the upper left pane.

if you're still having a problem, you'll have to show us exactly what you're entering so we can see where the error might be.

nickj

On Thu, Jul 16, 2015 at 6:29 PM, Rick T <address@hidden> wrote:

This works for me, I'm using 3.8.1 on ubuntu 14.04 64bit

Try to test with no spaces in the path or filename


f=imread('/tmp/palm.jpg');


On Thu, Jul 16, 2015 at 1:36 AM, Byron Harding <address@hidden> wrote:
Hello,

I have tried to load an image into Octave using:

I = imread ("path of image");

I get the following error messages:

error: imread: cannot find "path of image"
error: called from:
error: /usr/share/octave/3.8.1/m/image/private/__.m at line 56, column 5
error: /usr/share/octave/3.8.1/m/image/private/imageIO.m at line 66, column 26
error: /usr/share/octave/3.8.1/m/image/imread.m at line 107, column 30
octave:6>

I have also tried:

IMAGE_PATH("path") with no success.

Help would be greatly appreciated! I am completely new to Octave.

Byron Harding


_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave



_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave



reply via email to

[Prev in Thread] Current Thread [Next in Thread]