how can I write and reads an image from a folder?

1 vue (au cours des 30 derniers jours)
yasser
yasser le 25 Juin 2015
I want a code solve this
  1. read an image from a folder
  2. select image and show it into axes
  3. write into the image by making some filters
  4 commentaires
Image Analyst
Image Analyst le 2 Juil 2015
Make it a full file name - folder plus base file name:
filename = fullfile(pathname, filename);
yasser
yasser le 2 Juil 2015
thanks Image Analyst I appreciate your help

Connectez-vous pour commenter.

Réponse acceptée

Image Analyst
Image Analyst le 26 Juin 2015
Start with my Image Segmentation Tutorial. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 It does all of the things you requested.

Plus de réponses (1)

Rushikesh Tade
Rushikesh Tade le 26 Juin 2015
  • read an image from a folder
variable_name=imread('image_name.ext')
  • select image and show it into axes
imshow(variable_name)
  • write into the image by making some filters
imwrite(Variable_consisting_processed_image,'output_filename')

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by