Help in matlab image processing ?

Click For Summary
SUMMARY

The forum discussion centers on an issue with opening a TIFF image file named "manish.tiff" in MATLAB using the command rgb = imread('manish.tiff'). The user encounters an error stating that the file does not exist, while another TIFF file, "hurra.tiff," opens successfully. The recommended solution is to use the full path name in the imread command to avoid file location issues.

PREREQUISITES
  • Familiarity with MATLAB programming environment
  • Understanding of image file formats, specifically TIFF
  • Knowledge of file path structures in operating systems
  • Basic troubleshooting skills in coding
NEXT STEPS
  • Learn how to use absolute file paths in MATLAB
  • Explore MATLAB's imread function documentation for additional options
  • Investigate common image file format issues in MATLAB
  • Practice error handling in MATLAB for file operations
USEFUL FOR

MATLAB users, image processing enthusiasts, and anyone troubleshooting file access issues in MATLAB.

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

  • manish.jpg
    manish.jpg
    19.7 KB · Views: 575
  • hurra.jpg
    hurra.jpg
    24.2 KB · Views: 589
Physics news on Phys.org
It says the file doesn't exist, not that it is the wrong format. I would use the entire path name in the code.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
7K