imread not finding MATLAB file in directory

1 reply · 3K views · last reply
munna007
Messages
34
Reaction score
0
Help in MATLAB image processing ?

hello friends...i save my picture named "manish.tiff" in MATLAB directory...then opening this with command named rgb =imread('manish.tiff') in command window...but it shows error...
below is the error i m getting.

(? Error using ==> imread
File "manish.tiff" does not exist. )


ut when i open this picture " hurra.tiff " with same command it opens succesfully...

i have tried a lot...but couldn't solve...
please help ...i have attached both the pictures in jpeg format...because tiff was not uploading here...

thanks...
 
Attachments
  • Photograph of a leaf with a woman's face and shoulders superimposed on it, shown in sepia tones against a black background.
    manish.jpg
    19.7 KB · Views: 609
  • Close-up photo of printed book text reading "It was not she I was" in a serif typeface on a cream page.
    hurra.jpg
    24.2 KB · Views: 617
It says the file doesn't exist, not that it is the wrong format. I would use the entire path name in the code.