필터 지우기
필터 지우기

Doubts about folders and files in matlab.

조회 수: 12 (최근 30일)
Pradeep Gowda
Pradeep Gowda 2015년 5월 9일
댓글: Walter Roberson 2015년 5월 9일
i have a script for image processing . i wanna make it run for all the images in a folder , can some one help me with this ?

채택된 답변

Image Analyst
Image Analyst 2015년 5월 9일
Description
This GUI will help the novice user get up to speed very quickly on using GUI-based applications. Everything is laid out in a very simple Step 1, Step 2, Step 3, etc. layout. It is a very good starting point for a typical image analysis application. This application uses GUIDE to do the user interface design, and has most of the basic controls such as buttons, listboxes, checkboxes, radio buttons, scrollbars, etc. It allows the user to select a folder of images, select one or more images and display them, to select a series of options, and to individually or batch process one or more images. The user can ..............
  댓글 수: 2
Pradeep Gowda
Pradeep Gowda 2015년 5월 9일
Thanx. now i wanna save all these processed images in a new folder say "processed" . how can i achieve this ?
Walter Roberson
Walter Roberson 2015년 5월 9일
copyfile(FILENAME, PATH_TO_NEW_DIRECTORY)
But probably better is that when you are going to imwrite() the processed image, that you use fullfile() to construct the destination as being directly in the new directory. For example,
destdirectory = 'C:\Documents and Settings\Pradeep\Processed';
thisimage = 'skidoo023.jpg';
fulldestination = fullfile(destdirectory, thisimage);
imwrite(TheData, fulldestination);

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by