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

조회 수: 1 (최근 30일)
yasser
yasser 2015년 6월 25일
편집: Walter Roberson 2015년 7월 2일
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
Image Analyst
Image Analyst 2015년 7월 2일
Make it a full file name - folder plus base file name:
filename = fullfile(pathname, filename);
yasser
yasser 2015년 7월 2일
thanks Image Analyst I appreciate your help

댓글을 달려면 로그인하십시오.

채택된 답변

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

추가 답변 (1개)

Rushikesh Tade
Rushikesh Tade 2015년 6월 26일
  • 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')

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by