Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

excute matlab script that is used to read serise of image in c#

조회 수: 3 (최근 30일)
Sahan Priyanga
Sahan Priyanga 2015년 11월 14일
마감: Walter Roberson 2015년 11월 14일
the following code is worked for matlab. but give error when executin it inside visual studio.
To read all files that match *.jpg with imread:
jpegFiles = dir('*.jpg');
numfiles = length(jpegFiles);
mydata = cell(1, numfiles);
for k = 1:numfiles
mydata{k} = imread(jpegFiles(k).name);
end
when saving the processed images(the code shown in follow works for matlab and gives errors for matlab)
pathname1 = 'F:\anuradha\resized_01';
baseFileName1=sprintf('Img_res_1_%d.jpg',jj);
fullFileName1 = fullfile(pathname1,baseFileName1);
imwrite(d1,fullFileName1);
  댓글 수: 2
Image Analyst
Image Analyst 2015년 11월 14일
Please ask in a C# forum. They'll know what you want to do, even if they don't know MATLAB, and will be able to tell you the solution.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by